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 02-17-2017 02:50 PM
I configured the hadoop, and i check the status using sudo jps
aruna@aruna:~/hadoop-2.7.3/sbin$ sudo jps [sudo] password for aruna: 10736 DataNode 16497 Jps 10915 SecondaryNameNode 16453 JobHistoryServer 14903 NodeManager 14734 ResourceManager
But the Namenode is not running.How can i up the Namenode ?
Created 02-20-2017 03:51 AM
Thanks @ssathish i remove the Hadoop and start from the begining. Now its working fine.
Created 02-18-2017 12:33 AM
If it is not a single node cluster, check the node where namenode has to be started by checking the conf file - hdfs-site.xml(/etc/hadoop/conf/hdfs-site.xml).
Namenode node is provided in the given property in hdfs-site.xml
<property>
<name>dfs.namenode.http-address</name>
<value>Node:port</value>
</property>
<property>
<name>dfs.namenode.https-address</name>
<value>node:port</value>
</property>
Once inside the node, find the namenode daemon.
Namenode daemon is present in HADOOP_HOME which can be found in /etc/hadoop/conf/hadoop-env.sh
# Hadoop home directory
export HADOOP_HOME=${HADOOP_HOME:-/usr/hdp/current/hadoop-client}
Start the namenode deamon as hdfs user sudo su --c "/usr/hdp/current/hadoop-client/sbin/hadoop-daemon.sh start namenode" hdfs
If the namenode is still not started, please paste the logs which can be found at /etc/hadoop/conf/hadoop-env.sh
# Where log files are stored. $HADOOP_HOME/logs by default.
export HADOOP_LOG_DIR=/grid/0/log/hdfs/$USER
Created 02-20-2017 03:51 AM
Thanks @ssathish i remove the Hadoop and start from the begining. Now its working fine.