java.lang.IllegalArgumentException: Does not contain a valid host:port authority: file:///

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by xuanyue
, 9 months ago
via Stack Overflow by Phelodas
, 2 years ago
Does not contain a valid host:port authority: file:///
via Stack Overflow by Learner
, 2 years ago
Does not contain a valid host:port authority: file:///
via grokbase.com by Unknown author, 1 year ago
Does not contain a valid host:port authority: file:///
via Stack Overflow by HimanUCC
, 2 years ago
Does not contain a valid host:port authority: file:///
via hadoop-common-user by Dan Dong, 1 year ago
Does not contain a valid host:port authority: file:///
java.lang.IllegalArgumentException: Does not contain a valid host:port authority: file:///
at org.apache.hadoop.hdfs.server.namenode.NameNode.getAddress(NameNode.java:201)
at org.apache.hadoop.hdfs.server.namenode.NameNode.getAddress(NameNode.java:231)
at org.apache.hadoop.hdfs.server.namenode.NameNode.getServiceAddress(NameNode.java:225)
at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:347)
at org.apache.hadoop.hdfs.server.datanode.DataNode.(DataNode.java:309)
at org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:1651)
at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:1590)
at org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:1608)
at org.apache.hadoop.hdfs.server.datanode.DataNode.secureMain(DataNode.java:1734)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.