hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11008) Change unit test for testing parsing "-source" parameter in Balancer CLI
Date Fri, 14 Oct 2016 22:00:23 GMT

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

Hudson commented on HDFS-11008:
-------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10617 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/10617/])
HDFS-11008. Change unit test for testing parsing "-source" parameter in (liuml07: rev 76cc84e6d41c2b02218c2c98d60481cd565e067c)
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/balancer/TestBalancer.java


> Change unit test for testing parsing "-source" parameter in Balancer CLI
> ------------------------------------------------------------------------
>
>                 Key: HDFS-11008
>                 URL: https://issues.apache.org/jira/browse/HDFS-11008
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: test
>            Reporter: Mingliang Liu
>            Assignee: Mingliang Liu
>             Fix For: 2.8.0, 3.0.0-alpha2
>
>         Attachments: HDFS-11008.000.patch
>
>
> [HDFS-8826] added an option {{-source}} to specify the source node list so that balancer
only selects blocks to move from those nodes. This is very efficient in some cases.  It also
added a new test, testMinBlockSizeAndSourceNodes.
> However, testMinBlockSizeAndSourceNodes does not test {{-source}} option parsing, for
both valid and invalid cases.  It builds the parameters directly instead of parsing them from
CLI. This JIRA is to track the effort of changing the test for that. In fact, we can refactor
the existing code by replacing code that manually creates {{BalancerParameters}} with new
code that explores the {{Balancer$Cli#parse()}}.
> Thanks [~jingzhao] for the initial proposal.



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