-
Notifications
You must be signed in to change notification settings - Fork 9.2k
HDFS-2139. Fast copy for HDFS.FastCopy (This is used for test case . And in the futuer this will split to subtask submission. ) #6950
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
Conversation
|
💔 -1 overall
This message was automatically generated. |
zeekling
left a comment
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.
We already has hadoop distcp, Why do we need hdfs dfs -distcp?
| } | ||
|
|
||
| public void fastCopy(Path src, Path dst, boolean overwrite) throws IOException { | ||
|
|
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 empty method ?
|
💔 -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. |
| Token<BlockTokenIdentifier> accessToken = getBlockAccessToken(b, | ||
| EnumSet.of(BlockTokenIdentifier.AccessMode.WRITE), | ||
| targetStorageTypes, targetStorageIds); | ||
| Token<BlockTokenIdentifier> accessToken = |
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.
There's a lot of code formatting here.
|
We're closing this stale PR because it has been open for 100 days with no activity. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable. |
Description of PR
https://issues.apache.org/jira/browse/HDFS-2139
This is used for compile to verify this is correct. It is for test case . And in the futuer this will split to subtask submission.
It support now:
(1) hdfs dfs -fastcp
(2) Distcp with fastcp
How was this patch tested?
Add test case