Elek, Marton created HDFS-11999: ----------------------------------- Summary: Ozone: Clarify error message in case namenode is missing Key: HDFS-11999 URL: https://issues.apache.org/jira/browse/HDFS-11999 Project: Hadoop HDFS Issue Type: Sub-task Components: ozone Affects Versions: HDFS-7240 Reporter: Elek, Marton Assignee: Elek, Marton
Datanode is failing if namenode config setting is missing even for Ozone with a confusing error message: {code} 14:33:29.176 [main] ERROR o.a.h.hdfs.server.datanode.DataNode - Exception in secureMain java.io.IOException: No services to connect (NameNodes or SCM). at org.apache.hadoop.hdfs.server.datanode.BlockPoolManager.refreshNamenodes(BlockPoolManager.java:168) ~[classes/:na] at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:1440) [classes/:na] at org.apache.hadoop.hdfs.server.datanode.DataNode.<init>(DataNode.java:510) [classes/:na] at org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:2802) [classes/:na] at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:2705) [classes/:na] at org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:2752) [classes/:na] at org.apache.hadoop.hdfs.server.datanode.DataNode.secureMain(DataNode.java:2896) [classes/:na] at org.apache.hadoop.hdfs.server.datanode.DataNode.main(DataNode.java:2920) [classes/:na] 14:33:29.177 [main] INFO org.apache.hadoop.util.ExitUtil - Exiting with status 1: java.io.IOException: No services to connect (NameNodes or SCM). {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org