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 5B2A618367 for ; Tue, 29 Sep 2015 17:06:39 +0000 (UTC) Received: (qmail 12483 invoked by uid 500); 29 Sep 2015 17:06:04 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 12435 invoked by uid 500); 29 Sep 2015 17:06: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 12421 invoked by uid 99); 29 Sep 2015 17:06:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2015 17:06:04 +0000 Date: Tue, 29 Sep 2015 17:06:04 +0000 (UTC) From: "Surendra Singh Lilhore (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-9151) Mover should print the exit status/reason on console like balancer tool. 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-9151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14935450#comment-14935450 ] Surendra Singh Lilhore commented on HDFS-9151: ---------------------------------------------- Thanks [~templedf] for reviews. [~szetszwo] Could you please review ? :) > Mover should print the exit status/reason on console like balancer tool. > ------------------------------------------------------------------------ > > Key: HDFS-9151 > URL: https://issues.apache.org/jira/browse/HDFS-9151 > Project: Hadoop HDFS > Issue Type: Improvement > Components: balancer & mover > Reporter: Archana T > Assignee: Surendra Singh Lilhore > Priority: Minor > Attachments: HDFS-9151.01.patch, HDFS-9151.02.patch > > > Mover should print exit reason on console -- > In cases where there is No blocks to move or unavailable Storages or any other, Mover tool gives No information on exit reason on the console-- > {code} > # ./hdfs mover > ... > Sep 28, 2015 12:31:25 PM Mover took 10sec > # echo $? > 0 > # ./hdfs mover > ... > Sep 28, 2015 12:33:10 PM Mover took 1sec > # echo $? > 254 > {code} > Unlike Balancer prints exit reason > example-- > #./hdfs balancer > ... > {color:red}The cluster is balanced. Exiting...{color} > Sep 28, 2015 12:18:02 PM Balancing took 1.744 seconds -- This message was sent by Atlassian JIRA (v6.3.4#6332)