I have just install Hadoop 2.6.0, While formatting name node, it halts at following lines and no exit code returns.
STARTUP_MSG: build = https://git-wip-us.apache.org/repos/asf/hadoop.git -r e3496499ecb8d220fba99dc5ed4c99c8f9e33bb1; compiled by 'jenkins' on 2014-11-13T21:10Z STARTUP_MSG: java = 1.7.0_79
/
15/08/28 18:45:22 INFO namenode.NameNode: registered UNIX signal handlers for [TERM, HUP, INT]
15/08/28 18:45:22 INFO namenode.NameNode: createNameNode [–format]
Usage: java NameNode [-backup] |
[-checkpoint] |
[-format [-clusterid cid ] [-force] [-nonInteractive] ] |
[-upgrade [-clusterid cid] [-renameReserved] ] |
[-upgradeOnly [-clusterid cid] [-renameReserved] ] |
[-rollback] |
[-rollingUpgrade <rollback|downgrade|started> ] |
[-finalize] |
[-importCheckpoint] |
[-initializeSharedEdits] |
[-bootstrapStandby] |
[-recover [ -force] ] |
[-metadataVersion ] ]
15/08/28 18:45:22 INFO namenode.NameNode: SHUTDOWN_MSG:
/
SHUTDOWN_MSG: Shutting down NameNode at workstation/127.0.1.1
************************************************************/
I am not be able to debug out of it, when run start-dfs.sh and start yarn.sh it start all demon except NameNode.
Seems you used a wrong command.The commands related to hdfs are available in this url
Use any of the following command command
hadoop namenode -format
OR
hdfs namenode -format
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With