Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 0DE8C10A83 for ; Tue, 9 Apr 2013 20:08:17 +0000 (UTC) Received: (qmail 78421 invoked by uid 500); 9 Apr 2013 20:08:16 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 78356 invoked by uid 500); 9 Apr 2013 20:08:16 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 78257 invoked by uid 99); 9 Apr 2013 20:08:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Apr 2013 20:08:16 +0000 Date: Tue, 9 Apr 2013 20:08:16 +0000 (UTC) From: "Thomas Graves (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MAPREDUCE-2944) Improve checking of input for Api displayTasks() 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/MAPREDUCE-2944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13627017#comment-13627017 ] Thomas Graves commented on MAPREDUCE-2944: ------------------------------------------ Was there a reason this didn't go into branch-2? > Improve checking of input for Api displayTasks() > ------------------------------------------------- > > Key: MAPREDUCE-2944 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-2944 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Components: client > Affects Versions: 0.24.0 > Reporter: XieXianshan > Assignee: XieXianshan > Priority: Trivial > Fix For: 3.0.0 > > Attachments: MAPREDUCE-2944.patch, MAPREDUCE-2944.patch, MAPREDUCE-2944_v0.2.patch, MAPREDUCE-2944_v0.3.patch > > > The JobClient.displayTasks() will do nothing and won't throw any exception either, > while user call it with invalid type/state of task. > To be more friendly,it's better to remain user to check his parameters with an exception. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira