[
https://issues.apache.org/jira/browse/HDFS-10496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lei (Eddy) Xu updated HDFS-10496:
---------------------------------
Attachment: HDFS-10496.0.patch
Change the conditions to check arguments in {{ExecuteCommand.execute}}.
> 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: datanode
> Affects Versions: HDFS-1312
> Reporter: Lei (Eddy) Xu
> Assignee: Lei (Eddy) Xu
> Priority: Critical
> Attachments: 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: [email protected]
For additional commands, e-mail: [email protected]