Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HDFS >> mail # user >> Start and Stop Namenode


Copy link to this message
-
Start and Stop Namenode
Hi,

I am new to 2.2.0, after running the following command to start the first namenode, I used jps to check the cluster:
./sbin/hadoop-daemon.sh --script hdfs start namenode
starting namenode, logging to /usr/local/hadoop/yarn/hadoop//logs/hadoop-hduser-namenode-hd01.emblocsoft.net.out
jps
3405 Jps
3132 DataNode
The name of ID 3132 is DataNode, is this correct as I expected something like "3132 NameNode"? does it mean that the following two commands are doing the same thing in 2.2.0?

./sbin/hadoop-daemon.sh --script hdfs start namenode
./sbin/hadoop-daemon.sh --script hdfs start datanode

regards

NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB