Support Questions
Find answers, ask questions, and share your expertise

Error Start Name Node

Highlighted

Error Start Name Node

New Contributor

stderr:

stdout:
2020-03-17 19:36:04,324 - Directory['/var/log/hadoop/hdfs'] {'owner': 'hdfs', 'group': 'hadoop', 'create_parents': True}
2020-03-17 19:36:04,325 - File['/var/run/hadoop/hdfs/hadoop-hdfs-namenode.pid'] {'action': ['delete'], 'not_if': 'ambari-sudo.sh -H -E test -f /var/run/hadoop/hdfs/hadoop-hdfs-namenode.pid && ambari-sudo.sh -H -E pgrep -F /var/run/hadoop/hdfs/hadoop-hdfs-namenode.pid'}
2020-03-17 19:36:04,330 - Execute['ambari-sudo.sh su hdfs -l -s /bin/bash -c 'ulimit -c unlimited ; /usr/hdp/3.0.1.0-187/hadoop/bin/hdfs --config /usr/hdp/3.0.1.0-187/hadoop/conf --daemon start namenode''] {'environment': {'HADOOP_LIBEXEC_DIR': '/usr/hdp/3.0.1.0-187/hadoop/libexec'}, 'not_if': 'ambari-sudo.sh -H -E test -f /var/run/hadoop/hdfs/hadoop-hdfs-namenode.pid && ambari-sudo.sh -H -E pgrep -F /var/run/hadoop/hdfs/hadoop-hdfs-namenode.pid'}
2020-03-17 19:36:06,499 - Waiting for the NameNode to broadcast whether it is Active or Standby...
2020-03-17 19:36:06,500 - call['ambari-sudo.sh su hdfs -l -s /bin/bash -c 'curl -s '"'"'http://node02.localdomain:50070/jmx?qry=Hadoop:service=NameNode,name=FSNamesystem'"'"' 1>/tmp/tmppPBhT6 2>/tmp/tmpVIeUda''] {'quiet': False}
2020-03-17 19:36:06,564 - call returned (0, '')
2020-03-17 19:36:06,564 - get_user_call_output returned (0, u'{\n "beans" : [ {\n "name" : "Hadoop:service=NameNode,name=FSNamesystem",\n "modelerType" : "FSNamesystem",\n "tag.Context" : "dfs",\n "tag.HAState" : "standby",\n "tag.TotalSyncTimes" : "",\n "tag.Hostname" : "node02.localdomain",\n "MissingBlocks" : 0,\n "MissingReplOneBlocks" : 0,\n "ExpiredHeartbeats" : 0,\n "TransactionsSinceLastCheckpoint" : 1,\n "TransactionsSinceLastLogRoll" : 0,\n "LastWrittenTransactionId" : 1030960,\n "LastCheckpointTime" : 1584459741000,\n "CapacityTotal" : 577779793920,\n "CapacityTotalGB" : 538.0,\n "CapacityUsed" : 14369050624,\n "CapacityUsedGB" : 13.0,\n "CapacityRemaining" : 563410743296,\n "ProvidedCapacityTotal" : 0,\n "CapacityRemainingGB" : 525.0,\n "CapacityUsedNonDFS" : 0,\n "TotalLoad" : 6,\n "SnapshottableDirectories" : 0,\n "Snapshots" : 0,\n "NumEncryptionZones" : 0,\n "LockQueueLength" : 0,\n "BlocksTotal" : 3628,\n "NumFilesUnderConstruction" : 7,\n "NumActiveClients" : 6,\n "FilesTotal" : 4511,\n "PendingReplicationBlocks" : 0,\n "PendingReconstructionBlocks" : 0,\n "UnderReplicatedBlocks" : 0,\n "LowRedundancyBlocks" : 0,\n "CorruptBlocks" : 0,\n "ScheduledReplicationBlocks" : 0,\n "PendingDeletionBlocks" : 0,\n "LowRedundancyReplicatedBlocks" : 0,\n "CorruptReplicatedBlocks" : 0,\n "MissingReplicatedBlocks" : 0,\n "MissingReplicationOneBlocks" : 0,\n "HighestPriorityLowRedundancyReplicatedBlocks" : 0,\n "HighestPriorityLowRedundancyECBlocks" : 0,\n "BytesInFutureReplicatedBlocks" : 0,\n "PendingDeletionReplicatedBlocks" : 0,\n "TotalReplicatedBlocks" : 3628,\n "LowRedundancyECBlockGroups" : 0,\n "CorruptECBlockGroups" : 0,\n "MissingECBlockGroups" : 0,\n "BytesInFutureECBlockGroups" : 0,\n "PendingDeletionECBlocks" : 0,\n "TotalECBlockGroups" : 0,\n "ExcessBlocks" : 0,\n "NumTimedOutPendingReconstructions" : 0,\n "PostponedMisreplicatedBlocks" : 0,\n "PendingDataNodeMessageCount" : 3,\n "MillisSinceLastLoadedEdits" : 2404448,\n "BlockCapacity" : 2097152,\n "NumLiveDataNodes" : 3,\n "NumDeadDataNodes" : 0,\n "NumDecomLiveDataNodes" : 0,\n "NumDecomDeadDataNodes" : 0,\n "VolumeFailuresTotal" : 0,\n "EstimatedCapacityLostTotal" : 0,\n "NumDecommissioningDataNodes" : 0,\n "StaleDataNodes" : 0,\n "NumStaleStorages" : 0,\n "TotalSyncCount" : 0,\n "NumInMaintenanceLiveDataNodes" : 0,\n "NumInMaintenanceDeadDataNodes" : 0,\n "NumEnteringMaintenanceDataNodes" : 0\n } ]\n}', u'')
2020-03-17 19:36:06,566 - call['ambari-sudo.sh su hdfs -l -s /bin/bash -c 'curl -s '"'"'http://hdp-nodemaster.localdomain:50070/jmx?qry=Hadoop:service=NameNode,name=FSNamesystem'"'"' 1>/tmp/tmp_Ll9c2 2>/tmp/tmpKcvAZg''] {'quiet': False}
2020-03-17 19:36:06,744 - call returned (7, '')
2020-03-17 19:36:06,744 - call['hdfs haadmin -ns 1 -getServiceState nn2'] {'logoutput': True, 'user': 'hdfs'}

1 REPLY 1
Highlighted

Re: Error Start Name Node

Contributor

Hi @Skodeto .

 

i think ,your question is not visible with us.

 

please update question again with proper explanation with log.

 

 

Thanks

HadoopHelp

Don't have an account?