hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7237) namenode -rollingUpgrade throws ArrayIndexOutOfBoundsException
Date Mon, 13 Oct 2014 21:20:36 GMT

    [ 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)

Mime
View raw message