Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 337F717226 for ; Tue, 14 Oct 2014 01:40:34 +0000 (UTC) Received: (qmail 50745 invoked by uid 500); 14 Oct 2014 01:40:34 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 50682 invoked by uid 500); 14 Oct 2014 01:40:34 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 50670 invoked by uid 99); 14 Oct 2014 01:40:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Oct 2014 01:40:33 +0000 Date: Tue, 14 Oct 2014 01:40:33 +0000 (UTC) From: "Tsz Wo Nicholas Sze (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-7237) namenode -rollingUpgrade throws ArrayIndexOutOfBoundsException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-7237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated HDFS-7237: -------------------------------------- Resolution: Fixed Fix Version/s: 2.6.0 Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) Thanks Suresh for reviewing the patch. I have commit 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 > Fix For: 2.6.0 > > 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)