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 371E718E73 for ; Mon, 28 Sep 2015 08:05:09 +0000 (UTC) Received: (qmail 15247 invoked by uid 500); 28 Sep 2015 08:05:04 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 15119 invoked by uid 500); 28 Sep 2015 08:05:04 -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 14875 invoked by uid 99); 28 Sep 2015 08:05:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Sep 2015 08:05:04 +0000 Date: Mon, 28 Sep 2015 08:05:04 +0000 (UTC) From: "nijel (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (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 nijel created HDFS-9159: --------------------------- Summary: [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 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)