xinxuaw231 发表于 2018-10-28 15:37:46

Hadoop集群(二) HDFS搭建

$ ./hdfs namenode -format  
17/09/26 07:52:17 INFO namenode.NameNode: STARTUP_MSG:
  
/************************************************************
  
STARTUP_MSG: Starting NameNode
  
STARTUP_MSG:   host = c6701.python279.org/192.168.67.101
  
STARTUP_MSG:   args = [-format]
  
STARTUP_MSG:   version = 2.6.0-EDH-0u2
  
STARTUP_MSG:   classpath = /home/hdfs/hadoop-2.6.0-EDHxxxxxxxxxx
  
STARTUP_MSG:   build = http://gitlab-xxxxx
  
STARTUP_MSG:   java = 1.8.0_144
  
************************************************************/
  
17/09/26 07:52:17 INFO namenode.NameNode: registered UNIX signal handlers for
  
17/09/26 07:52:17 INFO namenode.NameNode: createNameNode [-format]
  
17/09/26 07:52:18 WARN common.Util: Path /data/hadoop/hdfs/name should be specified as a URI in configuration files. Please update hdfs configuration.
  
17/09/26 07:52:18 WARN common.Util: Path /data/hadoop/hdfs/name should be specified as a URI in configuration files. Please update hdfs configuration.
  
Formatting using clusterid: CID-b2f01411-862f-44b2-a6dc-7d17bd48d522
  
17/09/26 07:52:18 INFO namenode.FSNamesystem: No KeyProvider found.
  
17/09/26 07:52:18 INFO namenode.FSNamesystem: fsLock is fair:true
  
17/09/26 07:52:18 INFO blockmanagement.DatanodeManager: dfs.block.invalidate.limit=1000
  
17/09/26 07:52:18 INFO blockmanagement.DatanodeManager: dfs.namenode.datanode.registration.ip-hostname-check=true
  
17/09/26 07:52:18 INFO blockmanagement.BlockManager: dfs.namenode.startup.delay.block.deletion.sec is set to 000:00:00:00.000
  
17/09/26 07:52:18 INFO blockmanagement.BlockManager: The block deletion will start around 2017 Sep 26 07:52:18
  
17/09/26 07:52:18 INFO util.GSet: Computing capacity for map BlocksMap
  
17/09/26 07:52:18 INFO util.GSet: VM type       = 64-bit
  
17/09/26 07:52:18 INFO util.GSet: 2.0% max memory 966.7 MB = 19.3 MB
  
17/09/26 07:52:18 INFO util.GSet: capacity      = 2^21 = 2097152 entries
  
17/09/26 07:52:18 INFO blockmanagement.BlockManager: dfs.block.access.token.enable=false
  
17/09/26 07:52:18 INFO blockmanagement.BlockManager: defaultReplication         = 2
  
17/09/26 07:52:18 INFO blockmanagement.BlockManager: maxReplication             = 512
  
17/09/26 07:52:18 INFO blockmanagement.BlockManager: minReplication             = 1
  
17/09/26 07:52:18 INFO blockmanagement.BlockManager: maxReplicationStreams      = 2
  
17/09/26 07:52:18 INFO blockmanagement.BlockManager: shouldCheckForEnoughRacks= false
  
17/09/26 07:52:18 INFO blockmanagement.BlockManager: replicationRecheckInterval = 3000
  
17/09/26 07:52:18 INFO blockmanagement.BlockManager: encryptDataTransfer      = false
  
17/09/26 07:52:18 INFO blockmanagement.BlockManager: maxNumBlocksToLog          = 1000
  
17/09/26 07:52:18 INFO namenode.FSNamesystem: fsOwner             = hdfs (auth:SIMPLE)
  
17/09/26 07:52:18 INFO namenode.FSNamesystem: supergroup          = supergroup
  
17/09/26 07:52:18 INFO namenode.FSNamesystem: isPermissionEnabled = true
  
17/09/26 07:52:18 INFO namenode.FSNamesystem: Determined nameservice ID: ns
  
17/09/26 07:52:18 INFO namenode.FSNamesystem: HA Enabled: true
  
17/09/26 07:52:18 INFO namenode.FSNamesystem: Append Enabled: true
  
17/09/26 07:52:18 INFO util.GSet: Computing capacity for map INodeMap
  
17/09/26 07:52:18 INFO util.GSet: VM type       = 64-bit
  
17/09/26 07:52:18 INFO util.GSet: 1.0% max memory 966.7 MB = 9.7 MB
  
17/09/26 07:52:18 INFO util.GSet: capacity      = 2^20 = 1048576 entries
  
17/09/26 07:52:18 INFO namenode.NameNode: Caching file names occuring more than 10 times
  
17/09/26 07:52:18 INFO util.GSet: Computing capacity for map cachedBlocks
  
17/09/26 07:52:18 INFO util.GSet: VM type       = 64-bit
  
17/09/26 07:52:18 INFO util.GSet: 0.25% max memory 966.7 MB = 2.4 MB
  
17/09/26 07:52:18 INFO util.GSet: capacity      = 2^18 = 262144 entries
  
17/09/26 07:52:18 INFO namenode.FSNamesystem: dfs.namenode.safemode.threshold-pct = 0.9990000128746033
  
17/09/26 07:52:18 INFO namenode.FSNamesystem: dfs.namenode.safemode.min.datanodes = 0
  
17/09/26 07:52:18 INFO namenode.FSNamesystem: dfs.namenode.safemode.extension   = 30000
  
17/09/26 07:52:18 INFO namenode.FSNamesystem: Retry cache on namenode is enabled
  
17/09/26 07:52:18 INFO namenode.FSNamesystem: Retry cache will use 0.03 of total heap and retry cache entry expiry time is 600000 millis
  
17/09/26 07:52:18 INFO util.GSet: Computing capacity for map NameNodeRetryCache
  
17/09/26 07:52:18 INFO util.GSet: VM type       = 64-bit
  
17/09/26 07:52:18 INFO util.GSet: 0.029999999329447746% max memory 966.7 MB = 297.0 KB
  
17/09/26 07:52:18 INFO util.GSet: capacity      = 2^15 = 32768 entries
  
17/09/26 07:52:18 INFO namenode.NNConf: ACLs enabled? false
  
17/09/26 07:52:18 INFO namenode.NNConf: XAttrs enabled? true
  
17/09/26 07:52:18 INFO namenode.NNConf: Maximum size of an xattr: 16384
  
17/09/26 07:52:19 INFO namenode.FSImage: Allocated new BlockPoolId: BP-144216011-192.168.67.101-1506412339757
  
17/09/26 07:52:19 INFO common.Storage: Storage directory /data/hadoop/hdfs/name has been successfully formatted.
  
17/09/26 07:52:20 INFO namenode.NNStorageRetentionManager: Going to retain 1 images with txid >= 0
  
17/09/26 07:52:20 INFO util.ExitUtil: Exiting with status 0
  
17/09/26 07:52:20 INFO namenode.NameNode: SHUTDOWN_MSG:
  
/************************************************************
  
SHUTDOWN_MSG: Shutting down NameNode at c6701.python279.org/192.168.67.101
  
************************************************************/


页: [1]
查看完整版本: Hadoop集群(二) HDFS搭建