[
https://issues.apache.org/jira/browse/HDFS-12948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16310661#comment-16310661
]
Hudson commented on HDFS-12948:
-------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13447 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/13447/])
HDFS-12948. DiskBalancer report command top option should only take (yqlin: rev
2a48b3594c502c4dcf201f2b60386383c0d9ae91)
* (edit)
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/diskbalancer/command/TestDiskBalancerCommand.java
* (edit)
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/diskbalancer/command/Command.java
* (edit)
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/diskbalancer/command/ReportCommand.java
> DiskBalancer report command top option should only take positive numeric
> values
> -------------------------------------------------------------------------------
>
> Key: HDFS-12948
> URL: https://issues.apache.org/jira/browse/HDFS-12948
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: diskbalancer
> Affects Versions: 3.0.0
> Reporter: Shashikant Banerjee
> Assignee: Shashikant Banerjee
> Priority: Minor
> Fix For: 3.1.0
>
> Attachments: HDFS-12948.001.patch, HDFS-12948.002.patch
>
>
> Currently , diskBalancer report command "top" option takes values like "AAA"
> as well negative/decimal values and gives output. These invalid values should
> not be processed and some error/warning should be given.
> For Example,
> $ hdfs diskbalancer -report -top -100
> 17/12/19 15:07:01 INFO command.Command: Processing report command
> 17/12/19 15:07:02 INFO balancer.KeyManager: Block token params received from
> NN: update interval=10hrs, 0sec, token lifetime=10hrs, 0sec
> 17/12/19 15:07:02 INFO block.BlockTokenSecretManager: Setting block keys
> 17/12/19 15:07:02 INFO balancer.KeyManager: Update block keys every 2hrs,
> 30mins, 0sec
> 17/12/19 15:07:02 INFO command.Command: Reporting top -100 DataNode(s)
> benefiting from running DiskBalancer.
> Processing report command
> Reporting top -100 DataNode(s) benefiting from running DiskBalancer.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]