[ 
https://issues.apache.org/jira/browse/HDFS-9151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14933430#comment-14933430
 ] 

Daniel Templeton commented on HDFS-9151:
----------------------------------------

Thanks, [~surendrasingh].  I have a couple of language edits:

bq. Failed to move some blocks after N retry. Exiting...

Since the default is 10 retries, it's probably safe to assume the retry count 
will be > 1:

"Failed to move some blocks after N retries. Exiting..."

bq. Mover Successful, all blocks satisfying the specified storage policy. 
Exiting...

Tense and grammar:

"Mover Successful: all blocks satisfy the specified storage policy. Exiting..."

> 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
>
>
> 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)

Reply via email to