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 D78CB173BC for ; Wed, 7 Oct 2015 09:54:32 +0000 (UTC) Received: (qmail 27891 invoked by uid 500); 7 Oct 2015 09:54:27 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 27839 invoked by uid 500); 7 Oct 2015 09:54:27 -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 27780 invoked by uid 99); 7 Oct 2015 09:54:27 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Oct 2015 09:54:27 +0000 Date: Wed, 7 Oct 2015 09:54:27 +0000 (UTC) From: "Hudson (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-9159) [OIV] : return value of the command is not correct if invalid value specified in "-p (processor)" option 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-9159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14946609#comment-14946609 ] Hudson commented on HDFS-9159: ------------------------------ FAILURE: Integrated in Hadoop-trunk-Commit #8586 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/8586/]) HDFS-9159. [OIV] : return value of the command is not correct if invalid (vinayakumarb: rev 61b3547c462a4e51d0a31c0a8c8ce210e2d90df8) * hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/offlineImageViewer/OfflineImageViewerPB.java * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/tools/offlineImageViewer/TestOfflineImageViewer.java > [OIV] : return value of the command is not correct if invalid value specified in "-p (processor)" option > -------------------------------------------------------------------------------------------------------- > > Key: HDFS-9159 > URL: https://issues.apache.org/jira/browse/HDFS-9159 > Project: Hadoop HDFS > Issue Type: Sub-task > Reporter: nijel > Assignee: nijel > Fix For: 2.8.0 > > Attachments: HDFS-9159_01.patch, HDFS-9159_02.patch, HDFS-9159_03.patch > > > Return value of the IOV command is not correct if invalid value specified in "-p (processor)" option > this needs to return error to user. > code change will be in switch statement of > {code} > try (PrintStream out = outputFile.equals("-") ? > System.out : new PrintStream(outputFile, "UTF-8")) { > switch (processor) { > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)