java.io.IOException: org.apache.hadoop.HadoopIllegalArgumentException: HA is not enabled for this namenode.

Server Fault | 030 | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Unable to convert HDFS from non-HA to HA

    Server Fault | 3 years ago | 030
    java.io.IOException: org.apache.hadoop.HadoopIllegalArgumentException: HA is not enabled for this namenode.

    1 unregistered visitors

    Root Cause Analysis

    1. org.apache.hadoop.HadoopIllegalArgumentException

      HA is not enabled for this namenode.

      at org.apache.hadoop.hdfs.server.namenode.ha.BootstrapStandby.parseConfAndFindOtherNN()
    2. Apache Hadoop HDFS
      BootstrapStandby.run
      1. org.apache.hadoop.hdfs.server.namenode.ha.BootstrapStandby.parseConfAndFindOtherNN(BootstrapStandby.java:261)
      2. org.apache.hadoop.hdfs.server.namenode.ha.BootstrapStandby.run(BootstrapStandby.java:92)
      2 frames
    3. Hadoop
      ToolRunner.run
      1. org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
      2. org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
      2 frames
    4. Apache Hadoop HDFS
      NameNode.main
      1. org.apache.hadoop.hdfs.server.namenode.ha.BootstrapStandby.run(BootstrapStandby.java:305)
      2. org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1154)
      3. org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1241)
      3 frames