Database Reference
In-Depth Information
Testing the installation
Before we start testing the newly installed Hadoop, we need to format the NameNode to
prepare HDFS. We haven't provided any directory to HDFS, so it will default to /tmp ,
which may get deleted after the reboot. Here's the list of commands to run to test the in-
stallation:
$ bin/hdfs namenode -format
15/01/20 23:03:13 INFO namenode.NameNode: STARTUP_MSG:
/************************************************************
STARTUP_MSG: Starting NameNode
STARTUP_MSG: host = blackwidow/127.0.1.1
STARTUP_MSG: args = [-format]
STARTUP_MSG: version = 2.6.0
STARTUP_MSG: classpath = /home/naishe/apps/hadoop-2.6.0/
etc/hadoop:/home/naishe/apps/hadoop-2.6.0/share/hadoop/
common/lib/hadoop-auth-2.6.0.jar:/home/naishe/apps/
hadoop-2.6.0/share/hadoop/common/lib/
apacheds-kerberos-codec-2.0.0-M15.jar:
[ -- SNIP -- ]
:/contrib/capacity-scheduler/*.jar
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_72
************************************************************/
15/01/20 23:03:13 INFO namenode.NameNode: registered UNIX
signal handlers for [TERM, HUP, INT]
15/01/20 23:03:13 INFO namenode.NameNode: createNameNode
[-format]
Formatting using clusterid:
CID-3d2c36d0-de9f-4032-914e-3abe1b40b0c3
[ -- snip -- ]
15/01/20 23:03:16 INFO namenode.FSImage: Allocated new
BlockPoolId: BP-324301922-127.0.1.1-1421775196180
15/01/20 23:03:16 INFO common.Storage: Storage directory
/tmp/hadoop-naishe/dfs/name has been successfully formatted.
15/01/20 23:03:16 INFO namenode.NNStorageRetentionManager:
Search WWH ::




Custom Search