安装oozie有些问题,按照教程执行以下命令导入oozie share lib sudo -u oozie /usr/lib/oozie/bin/oozie-setup.sh sharelib create -fs hdfs://cloud61 -locallib /usr/lib/oozie/oozie-sharelib-yarn 一直报Caused by: java.net.ConnectException: Call From hadoop1/192.168.15.61 to cloud61:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: ConnectionRefused 把hdfs://cloud61换成active的那台 sudo -u oozie /oozie/bin/oozie-setup.sh sharelib create -fs hdfs://cloud61:8020 -locallib /oozie/oozie-sharelib-yarn 可以顺利导入,在hdfs中也看到了相应的文件夹和文件 但是执行 sudo -u oozie oozie admin -shareliblist -oozie http://localhost:11000/oozie sharelib却是空的,认不到。
<property>
<name>fs.defaultFS</name>
<value>hdfs://cloud61:8020</value>
</property>
-----$ cp /etc/hadoop/conf/hdfs-site.xml /etc/oozie/conf/hadoop-conf/