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

Hudson commented on HDFS-10571:
-------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #10014 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/10014/])
HDFS-10571. TestDiskBalancerCommand#testPlanNode failed with (arp: rev 
b2584bee457192ea5789667c1317236f47fa6060)
* 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/diskbalancer/command/TestDiskBalancerCommand.java


> TestDiskBalancerCommand#testPlanNode failed with IllegalArgumentException
> -------------------------------------------------------------------------
>
>                 Key: HDFS-10571
>                 URL: https://issues.apache.org/jira/browse/HDFS-10571
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode
>            Reporter: Xiaobing Zhou
>            Assignee: Xiaobing Zhou
>         Attachments: HDFS-10571-HDFS-1312.000.patch, 
> HDFS-10571-HDFS-1312.001.patch
>
>
> TestDiskBalancerCommand#testPlanNode failed with IllegalArgumentException:
> {noformat}
> testPlanNode(org.apache.hadoop.hdfs.server.diskbalancer.command.TestDiskBalancerCommand)
>   Time elapsed: 3.003 sec  <<< ERROR!
> java.lang.IllegalArgumentException: Unable to find the specified node. 
> 5417cffa-1bec-4339-8837-1f7c7ba59664
>       at 
> org.apache.hadoop.hdfs.server.diskbalancer.command.PlanCommand.execute(PlanCommand.java:119)
>       at 
> org.apache.hadoop.hdfs.tools.DiskBalancer.dispatch(DiskBalancer.java:472)
>       at org.apache.hadoop.hdfs.tools.DiskBalancer.run(DiskBalancer.java:188)
>       at 
> org.apache.hadoop.hdfs.server.diskbalancer.command.TestDiskBalancerCommand.runCommand(TestDiskBalancerCommand.java:346)
>       at 
> org.apache.hadoop.hdfs.server.diskbalancer.command.TestDiskBalancerCommand.testPlanNode(TestDiskBalancerCommand.java:283)
> {noformat}
> In TestDiskBalancerCommand#testPlanNode, here is incorrect, since the FS is 
> set to be loaded from Json file.
> {code}
> final String planArg = String.format("-%s %s", PLAN,
>         cluster.getDataNodes().get(0).getDatanodeUuid());
> {code}
> See the FS loading in TestDiskBalancerCommand#runCommand
> {code}
> FileSystem.setDefaultUri(conf, clusterJson);
> {code}



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