-
Notifications
You must be signed in to change notification settings - Fork 9.1k
HDFS-9913 DistCp to add -useTrash to move deleted files to Trash #1111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk
Are you sure you want to change the base?
Conversation
🎊 +1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good to me. Just two nits.
hadoop-tools/hadoop-distcp/src/test/java/org/apache/hadoop/tools/mapred/TestCopyCommitter.java
Outdated
Show resolved
Hide resolved
hadoop-tools/hadoop-distcp/src/main/java/org/apache/hadoop/tools/DistCpOptions.java
Outdated
Show resolved
Hide resolved
Thanks @jojochuang for review,I will update patch immediately. |
forgot about this. What's the current status? |
I rebased trunk just now,please help to review. |
Path trashRootDir = remoteFS.getTrashRoot(null); | ||
ContractTestUtils.assertDeleted(remoteFS, trashRootDir, true); | ||
|
||
remoteFS.delete(trashRootDir, true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why did the assert fail here?
💔 -1 overall
This message was automatically generated. |
No description provided.