Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7237

namenode -rollingUpgrade throws ArrayIndexOutOfBoundsException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.0
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Run "hdfs namenode -rollingUpgrade"

      14/10/13 11:30:50 INFO namenode.NameNode: createNameNode [-rollingUpgrade]
      14/10/13 11:30:50 FATAL namenode.NameNode: Exception in namenode join
      java.lang.ArrayIndexOutOfBoundsException: 1
      	at org.apache.hadoop.hdfs.server.namenode.NameNode.parseArguments(NameNode.java:1252)
      	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1367)
      	at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1501)
      14/10/13 11:30:50 INFO util.ExitUtil: Exiting with status 1
      

      Although the command is illegal (missing rolling upgrade startup option), it should print a better error message.

        Attachments

        1. h7237_20141013b.patch
          8 kB
          Tsz-wo Sze
        2. h7237_20141013.patch
          8 kB
          Tsz-wo Sze

          Activity

            People

            • Assignee:
              szetszwo Tsz-wo Sze
              Reporter:
              szetszwo Tsz-wo Sze
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: