steveloughran commented on a change in pull request #974: HDFS-9913.DispCp
doesn't use Trash with -delete option
URL: https://github.com/apache/hadoop/pull/974#discussion_r302511481
##########
File path:
hadoop-tools/hadoop-distcp/src/main/java/org/apache/hadoop/tools/OptionsParser.java
##########
@@ -153,6 +155,9 @@ public static DistCpOptions parse(String[] args)
command,
DistCpOptionSwitch.TRACK_MISSING.getSwitch())));
}
+ if(command.hasOption(DistCpOptionSwitch.DELETE_USETRASH.getSwitch())) {
Review comment:
nit: space between if and (
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]