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

Arpit Agarwal commented on HDFS-10518:
--------------------------------------

Hi [~anu], there is some commented out code in DiskBalancer.java. Looks like 
remnant from debugging?
{code}
//      status.setStartTime(this.startTime);
//      long secondsElapsed = TimeUnit.MILLISECONDS.toSeconds(Time.now()
//          - this.startTime);
//      status.setSecondsElapsed(secondsElapsed);
{code}

+1 otherwise.

> DiskBalancer: Pretty-print json in Query command
> ------------------------------------------------
>
>                 Key: HDFS-10518
>                 URL: https://issues.apache.org/jira/browse/HDFS-10518
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode
>            Reporter: Anu Engineer
>            Assignee: Anu Engineer
>         Attachments: HDFS-10518-HDFS-1312.001.patch
>
>
> The json output of -v option of query command was not formatted correctly. 
> This pretty prints the Json. This patch also adds a start time and seconds 
> elapsed so that we can see how much time was taken to move a set of bytes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to