You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Suresh Srinivas (JIRA)" <ji...@apache.org> on 2014/10/13 23:20:36 UTC
[jira] [Commented] (HDFS-7237) namenode -rollingUpgrade throws
ArrayIndexOutOfBoundsException
[ https://issues.apache.org/jira/browse/HDFS-7237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14170000#comment-14170000 ]
Suresh Srinivas commented on HDFS-7237:
---------------------------------------
+1 for the patch. Thanks Nicholas for fixing this.
> namenode -rollingUpgrade throws ArrayIndexOutOfBoundsException
> --------------------------------------------------------------
>
> Key: HDFS-7237
> URL: https://issues.apache.org/jira/browse/HDFS-7237
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: namenode
> Reporter: Tsz Wo Nicholas Sze
> Assignee: Tsz Wo Nicholas Sze
> Priority: Minor
> Attachments: h7237_20141013.patch, h7237_20141013b.patch
>
>
> Run "hdfs namenode -rollingUpgrade"
> {noformat}
> 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
> {noformat}
> Although the command is illegal (missing rolling upgrade startup option), it should print a better error message.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)