Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.8.0
-
None
-
Reviewed
Description
In distcp, -delete and -diff options are mutually exclusive. HDFS-8828 brought strictly checking which makes the existing applications (or scripts) that work just fine with both -delete and -diff options previously stop performing because of the java.lang.IllegalArgumentException: Diff is valid only with update options exception.
To make it backward incompatible, we can ignore the -delete option, given -diff option, instead of exiting the program. Along with that, we can print a warning message saying that Diff is valid only with update options, and -delete option is ignored.
Attachments
Attachments
Issue Links
- is broken by
-
HDFS-8828 Utilize Snapshot diff report to build diff copy list in distcp
-
- Resolved
-
- relates to
-
HDFS-10556 DistCpOptions should be validated automatically
-
- Resolved
-