-
Notifications
You must be signed in to change notification settings - Fork 314
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
[ARCTIC-1016] Moving files will fail if the target parent directory doesn't exist in HDFS #1046
Conversation
cc @zhoujinsong |
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.
@shendanfengg Thanks for your work.
I left some comment, please take a look.
hive/src/main/java/com/netease/arctic/hive/CachedHiveClientPool.java
Outdated
Show resolved
Hide resolved
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.
I left some suggestion, please task a look.
core/src/main/java/com/netease/arctic/io/ArcticHadoopFileIO.java
Outdated
Show resolved
Hide resolved
core/src/main/java/com/netease/arctic/io/ArcticHadoopFileIO.java
Outdated
Show resolved
Hide resolved
core/src/main/java/com/netease/arctic/io/ArcticHadoopFileIO.java
Outdated
Show resolved
Hide resolved
Co-authored-by: ZhouJinsong <zhoujinsong0505@163.com>
…oesn't exist in HDFS (#1046) * fix 1016 * refactoring functions and removing useless code Co-authored-by: shendanfeng01 <shendanfeng01@corp.netease.com> Co-authored-by: wangtaohz <103108928+wangtaohz@users.noreply.github.com> Co-authored-by: ZhouJinsong <zhoujinsong0505@163.com> (cherry picked from commit ab97314) Signed-off-by: wangtao <wangtao3@corp.netease.com>
I have cherry-picked it to 0.3.x |
…ed files (apache#1169) cherry pick [ARCTIC-1016] Moving files will fail if the target parent directory doesn't exist in HDFS apache#1046
* cherry pick [ARCTIC-1167][core] Introduce `Trash` for restoring deleted files (#1169) cherry pick [ARCTIC-1016] Moving files will fail if the target parent directory doesn't exist in HDFS #1046 * cherry pick [ARCTIC-1167][core][hive] fix Trash for restoring deleted files (#1223) * add getSyncFileInfoCachePool back for ThreadPool * [ARCTIC-1167][core][hive] fix Unkeyed Table location and metadata file pattern for `Trash` (#1229)
…oesn't exist in HDFS (#1046) * fix 1016 * refactoring functions and removing useless code Co-authored-by: shendanfeng01 <shendanfeng01@corp.netease.com> Co-authored-by: wangtaohz <103108928+wangtaohz@users.noreply.github.com> Co-authored-by: ZhouJinsong <zhoujinsong0505@163.com>
…oesn't exist in HDFS (apache#1046) * fix 1016 * refactoring functions and removing useless code Co-authored-by: shendanfeng01 <shendanfeng01@corp.netease.com> Co-authored-by: wangtaohz <103108928+wangtaohz@users.noreply.github.com> Co-authored-by: ZhouJinsong <zhoujinsong0505@163.com>
Why are the changes needed?
Fix #1016
Brief change log
*Exception thrown when FileSystem returns false.
*If the new path does not exist during Support Hive Commit, and then create it.
*Fix some simple grammar errors.
How was this patch tested?
Add some test cases that check the changes thoroughly including negative and positive cases if possible
Add screenshots for manual tests if appropriate
Run test locally before making a pull request
Documentation