java.lang.IllegalArgumentException

Does not contain a valid host:port authority: file:///

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web29

  • via Super User by Mohammad Alkahtani
    ,
  • via Stack Overflow by Learner
    ,
  • Stack trace

    • java.lang.IllegalArgumentException: Does not contain a valid host:port authority: file:/// at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:164) 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.namenode.SecondaryNameNode.initialize(SecondaryNameNode.java:167) at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.<init>(SecondaryNameNode.java:135) at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.main(SecondaryNameNode.java:650)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.