Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Failed to start HDFS

Failed to start HDFS

Explorer
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/{{ <-- HERE CMF_CONF_DIR}}/ at -e line 1.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/{{ <-- HERE CMF_CONF_DIR}}/ at -e line 1.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/{{ <-- HERE CMF_CONF_DIR}}/ at -e line 1.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/{{ <-- HERE CMF_CONF_DIR}}/ at -e line 1.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/{{ <-- HERE CMF_CONF_DIR}}/ at -e line 1.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/{{ <-- HERE CMF_CONF_DIR}}/ at -e line 1.
+ make_scripts_executable
+ find /run/cloudera-scm-agent/process/13-hdfs-NAMENODE-format -regex '.*\.\(py\|sh\)$' -exec chmod u+x '{}' ';'
+ '[' DATANODE_MAX_LOCKED_MEMORY '!=' '' ']'
+ ulimit -l
+ export HADOOP_IDENT_STRING=hdfs
+ HADOOP_IDENT_STRING=hdfs
+ '[' -n '' ']'
+ '[' mkdir '!=' format-namenode ']'
+ acquire_kerberos_tgt hdfs.keytab
+ '[' -z hdfs.keytab ']'
+ '[' -n '' ']'
+ '[' validate-writable-empty-dirs = format-namenode ']'
+ '[' file-operation = format-namenode ']'
+ '[' bootstrap = format-namenode ']'
+ '[' failover = format-namenode ']'
+ '[' transition-to-active = format-namenode ']'
+ '[' initializeSharedEdits = format-namenode ']'
+ '[' initialize-znode = format-namenode ']'
+ '[' format-namenode = format-namenode ']'
+ '[' -z /dfs/nn ']'
+ for dfsdir in '$DFS_STORAGE_DIRS'
+ '[' -e /dfs/nn ']'
+ '[' '!' -d /dfs/nn ']'
+ CLUSTER_ARGS=
+ '[' 2 -eq 2 ']'
+ CLUSTER_ARGS='-clusterId cluster14'
+ '[' 3 = 5 ']'
+ '[' -3 = 5 ']'
+ exec /opt/cloudera/parcels/CDH-5.16.1-1.cdh5.16.1.p0.3/lib/hadoop-hdfs/bin/hdfs --config /run/cloudera-scm-agent/process/13-hdfs-NAMENODE-format namenode -format -clusterId cluster14 -nonInteractive

 

please can anyone help me with this one !!! i cant start HDFS 

4 REPLIES 4

Re: Failed to start HDFS

New Contributor

Have you looked at the role logs for HDFS to see what the issue(s) is/are? 

Re: Failed to start HDFS

Explorer

Hi Biyi,Thank u for relying to my issue ,

Screenshot from 2019-04-30 20-12-27.png

 

 

then, can u tell me how to access to log file for HDFS ?

Re: Failed to start HDFS

New Contributor

Go to Namenode and the menu shows 'Logs', where when u click on that you get option for 'Role Log File'

Re: Failed to start HDFS

Expert Contributor

In the screenshot none of the roles start up, and the startup command is timing out after 150 seconds (default behavior). This indicates a more generic problem.

 

Please check if host "node1" is in good health state in on the CM -> Hosts -> All Hosts page. Also verify on this page if the "Last Heartbeat" column shows a value less than 15 seconds.

 

Is this a new installation, or was this working fine before?

Have you been able to start up any other services, e.g. Cloudera Management Service?