[
https://issues.apache.org/jira/browse/HDFS-16114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17376407#comment-17376407
]
Hemanth Boyina commented on HDFS-16114:
---------------------------------------
committed to trunk
thanks [~jiaguodong] for the contribution , thanks [~tomscut] for the review
> the balancer parameters print error
> -----------------------------------
>
> Key: HDFS-16114
> URL: https://issues.apache.org/jira/browse/HDFS-16114
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: jiaguodong
> Assignee: jiaguodong
> Priority: Minor
> Labels: balancer, pull-request-available
> Fix For: 3.4.0
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> public String toString() {
> return String.format("%s.%s [%s," + " threshold = %s,"
> + " max idle iteration = %s," + " #excluded nodes = %s,"
> + " #included nodes = %s," + " #source nodes = %s,"
> + " #blockpools = %s," + " run during upgrade = %s,"
> {color:#FF0000}+ " hot block time interval = %s]"{color}
> {color:#FF0000} + " sort top nodes = %s",{color}
> Balancer.class.getSimpleName(), getClass().getSimpleName(), policy,
> threshold, maxIdleIteration, excludedNodes.size(),
> includedNodes.size(), sourceNodes.size(), blockpools.size(),
> runDuringUpgrade, {color:#FF0000}sortTopNodes, hotBlockTimeInterval{color});
> }
> print error.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]