[ https://issues.apache.org/jira/browse/HDFS-10496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anu Engineer updated HDFS-10496: -------------------------------- Resolution: Fixed Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) [~eddyxu] Thank you for your contribution. I have committed this to the feature branch. > DiskBalancer: ExecuteCommand checks planFile in a wrong way > ----------------------------------------------------------- > > Key: HDFS-10496 > URL: https://issues.apache.org/jira/browse/HDFS-10496 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: balancer & mover, datanode > Affects Versions: HDFS-1312 > Reporter: Lei (Eddy) Xu > Assignee: Lei (Eddy) Xu > Priority: Critical > Fix For: HDFS-1312 > > Attachments: HDFS-10496-HDFS-1312.001.patch, HDFS-10496.0.patch > > > In {{ExecuteCommand#execute}}, it checks the plan file as > {code} > Preconditions.checkArgument(planFile == null || planFile.isEmpty(), > "Invalid plan file specified."); > {code} > Which stops the execution with a correct planFile argument. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org