Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 05-08-2017 02:01 AM
Ambari HDFS NN can not start, details as following. I have setted 777 to 'hdfs-config.sh', but it doesn't work. I dont know how to resolve it. Is there any idea? Thank you !
/usr/hdp/2.6.0.3-8//hadoop-hdfs/bin/hdfs.distro:Line 39: /root/hadoop-2.7.3/libexec/hdfs-config.sh: not engouth authority;
/usr/hdp/2.6.0.3-8//hadoop-hdfs/bin/hdfs.distro: Lin 317 :exec: : not found
Created 05-08-2017 02:54 AM
In the "/usr/hdp/2.6.0.3-8//hadoop-hdfs/bin/hdfs.distro" file the line 38 & 39 are as following:
HADOOP_LIBEXEC_DIR=${HADOOP_LIBEXEC_DIR:-$DEFAULT_LIBEXEC_DIR}
. $HADOOP_LIBEXEC_DIR/hdfs-config.shLooks like you have some environment variable issue whcih is setting incorrect HADOOP environment variable to point to an incorrect directory.
Can you please check where the "/root/hadoop-2.7.3" is being set at your end? In an ideal HDP environment that path does not exist.
.
Created 05-08-2017 02:54 AM
In the "/usr/hdp/2.6.0.3-8//hadoop-hdfs/bin/hdfs.distro" file the line 38 & 39 are as following:
HADOOP_LIBEXEC_DIR=${HADOOP_LIBEXEC_DIR:-$DEFAULT_LIBEXEC_DIR}
. $HADOOP_LIBEXEC_DIR/hdfs-config.shLooks like you have some environment variable issue whcih is setting incorrect HADOOP environment variable to point to an incorrect directory.
Can you please check where the "/root/hadoop-2.7.3" is being set at your end? In an ideal HDP environment that path does not exist.
.
Created 05-08-2017 03:08 AM
I found in the env there is already HADOOP_HOME in it.After remove it , ambari works okay.
Thank you!
Created 05-08-2017 03:12 AM
If this resolves your issue then please click on the "Accept" button and lark this thread as Answered. So that will be useful for other users as well.
Created 05-08-2017 03:14 AM