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

Failed to start role 'NodeName' CDH 6.3 (6.3.2-1.cdh6.3.2.p0.1605554) on Azure

Failed to start role 'NodeName' CDH 6.3 (6.3.2-1.cdh6.3.2.p0.1605554) on Azure

New Contributor

Just after setup CDH on Azure, everything was running well. But, after restarting VMs and services, the role 'NameNode' failed to start. 

stderr:

+ make_scripts_executable
+ find /var/run/cloudera-scm-agent/process/144-hdfs-NAMENODE -regex '.*\.\(py\|sh\)$' -exec chmod u+x '{}' ';'
+ '[' DATANODE_MAX_LOCKED_MEMORY '!=' '' ']'
+ ulimit -l
+ export HADOOP_IDENT_STRING=hdfs
+ HADOOP_IDENT_STRING=hdfs
+ '[' -n '' ']'
+ '[' mkdir '!=' namenode ']'
+ acquire_kerberos_tgt hdfs.keytab
+ '[' -z hdfs.keytab ']'
+ KERBEROS_PRINCIPAL=
+ '[' '!' -z '' ']'
+ '[' -n '' ']'
+ '[' validate-writable-empty-dirs = namenode ']'
+ '[' file-operation = namenode ']'
+ '[' bootstrap = namenode ']'
+ '[' failover = namenode ']'
+ '[' transition-to-active = namenode ']'
+ '[' initializeSharedEdits = namenode ']'
+ '[' initialize-znode = namenode ']'
+ '[' format-namenode = namenode ']'
+ '[' monitor-decommission = namenode ']'
+ '[' jnSyncWait = namenode ']'
+ '[' nnRpcWait = namenode ']'
+ '[' -safemode = '' -a get = '' ']'
+ '[' monitor-upgrade = namenode ']'
+ '[' finalize-upgrade = namenode ']'
+ '[' rolling-upgrade-prepare = namenode ']'
+ '[' rolling-upgrade-finalize = namenode ']'
+ '[' nnDnLiveWait = namenode ']'
+ '[' monitor-offline = namenode ']'
+ '[' refresh-datanode = namenode ']'
+ '[' mkdir = namenode ']'
+ '[' nfs3 = namenode ']'
+ '[' namenode = namenode -o secondarynamenode = namenode -o datanode = namenode ']'
+ HADOOP_OPTS='-Dsecurity.audit.logger=INFO,RFAS -Djava.net.preferIPv4Stack=true '
+ export 'HADOOP_OPTS=-Dhdfs.audit.logger=INFO,RFAAUDIT -Dsecurity.audit.logger=INFO,RFAS -Djava.net.preferIPv4Stack=true '
+ HADOOP_OPTS='-Dhdfs.audit.logger=INFO,RFAAUDIT -Dsecurity.audit.logger=INFO,RFAS -Djava.net.preferIPv4Stack=true '
+ '[' namenode = namenode -a rollingUpgrade = '' ']'
+ exec /opt/cloudera/parcels/CDH-6.3.2-1.cdh6.3.2.p0.1605554/lib/hadoop-hdfs/bin/hdfs --config /var/run/cloudera-scm-agent/process/144-hdfs-NAMENODE namenode
WARNING: HADOOP_PREFIX has been replaced by HADOOP_HOME. Using value of HADOOP_PREFIX.
WARNING: HADOOP_NAMENODE_OPTS has been replaced by HDFS_NAMENODE_OPTS. Using value of HADOOP_NAMENODE_OPTS.

 

 

stdout:

 

Mon Nov 25 00:23:47 EST 2019
JAVA_HOME=/usr/java/jdk1.8.0_181-cloudera
using /usr/java/jdk1.8.0_181-cloudera as JAVA_HOME
using 6 as CDH_VERSION
using /var/run/cloudera-scm-agent/process/144-hdfs-NAMENODE as CONF_DIR
using as SECURE_USER
using as SECURE_GROUP
CONF_DIR=/var/run/cloudera-scm-agent/process/144-hdfs-NAMENODE
CMF_CONF_DIR=
unlimited
Mon Nov 25 00:23:55 EST 2019
JAVA_HOME=/usr/java/jdk1.8.0_181-cloudera
using /usr/java/jdk1.8.0_181-cloudera as JAVA_HOME
using 6 as CDH_VERSION
using /var/run/cloudera-scm-agent/process/144-hdfs-NAMENODE as CONF_DIR
using as SECURE_USER
using as SECURE_GROUP
CONF_DIR=/var/run/cloudera-scm-agent/process/144-hdfs-NAMENODE
CMF_CONF_DIR=
unlimited
Mon Nov 25 00:24:02 EST 2019
JAVA_HOME=/usr/java/jdk1.8.0_181-cloudera
using /usr/java/jdk1.8.0_181-cloudera as JAVA_HOME
using 6 as CDH_VERSION
using /var/run/cloudera-scm-agent/process/144-hdfs-NAMENODE as CONF_DIR
using as SECURE_USER
using as SECURE_GROUP
CONF_DIR=/var/run/cloudera-scm-agent/process/144-hdfs-NAMENODE
CMF_CONF_DIR=
unlimited
Mon Nov 25 00:24:10 EST 2019
JAVA_HOME=/usr/java/jdk1.8.0_181-cloudera
using /usr/java/jdk1.8.0_181-cloudera as JAVA_HOME
using 6 as CDH_VERSION
using /var/run/cloudera-scm-agent/process/144-hdfs-NAMENODE as CONF_DIR
using as SECURE_USER
using as SECURE_GROUP
CONF_DIR=/var/run/cloudera-scm-agent/process/144-hdfs-NAMENODE
CMF_CONF_DIR=
unlimited