关于在hue当中执行shell脚本,报错Stdoutput Warning: /opt/cloudera/parcels/CDH-5.14.0-1.cdh5.14.0.p0.24/bin/..b/sqoop/../accumulo does not exist! Accumulo imports will fail. Stdoutput Please set $ACCUMULO_HOME to t

今天在使用hue做工作流,执行shell脚本的时候出现出现下面这个问题

 Stdoutput Warning: /opt/cloudera/parcels/CDH-5.14.0-1.cdh5.14.0.p0.24/bin/..b/sqoop/../accumulo does not exist! Accumulo imports will fail.

Stdoutput Please set $ACCUMULO_HOME to the root of your Accumulo installation.

Heart beat
Heart beat
Heart beat 
出现这个问题我们的第一反应就是这个目录不存在肯定是去见这个目录。但是其实不然我们只要见下面的目录,然后在脚本中引入上面的报错的这个环境变量就可以正常的运行:
解决办法:
mkdir /var/lib/accumulo
export ACCUMULO_HOME=/var/lib/accumulo (这个地方一定是配置在脚本当中,不是在机器的环境变量当中)

至此问题得到了解决。

原文地址:https://www.cnblogs.com/gxgd/p/9628029.html