hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-10518) DiskBalancer: Pretty-print json in Query command
Date Mon, 13 Jun 2016 19:39:30 GMT

    [ 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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message