Skip to content
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

Merged
merged 10 commits into from
Feb 8, 2023

Conversation

shendanfengg
Copy link
Contributor

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

  • Does this pull request introduces a new feature? (no)

@github-actions github-actions bot added module:ams-server Ams server module module:core Core module module:ams-dashboard Ams dashboard module labels Feb 2, 2023
@hzluting
Copy link
Contributor

hzluting commented Feb 2, 2023

cc @zhoujinsong

@github-actions github-actions bot added the module:mixed-hive Hive moduel for Mixed Format label Feb 6, 2023
Copy link
Contributor

@wangtaohz wangtaohz left a 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.

@github-actions github-actions bot removed the module:mixed-hive Hive moduel for Mixed Format label Feb 7, 2023
Copy link
Contributor

@zhoujinsong zhoujinsong left a 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.

@wangtaohz wangtaohz merged commit ab97314 into apache:master Feb 8, 2023
wangtaohz added a commit that referenced this pull request Feb 8, 2023
…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>
@wangtaohz
Copy link
Contributor

I have cherry-picked it to 0.3.x

wangtaohz added a commit to wangtaohz/amoro that referenced this pull request Mar 15, 2023
…ed files (apache#1169)

cherry pick [ARCTIC-1016] Moving files will fail if the target parent directory doesn't exist in HDFS apache#1046
zhoujinsong pushed a commit that referenced this pull request Mar 20, 2023
* 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)
zhoujinsong added a commit that referenced this pull request May 31, 2023
…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>
ShawHee pushed a commit to ShawHee/arctic that referenced this pull request Dec 29, 2023
…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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:ams-dashboard Ams dashboard module module:ams-server Ams server module module:core Core module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug][AMS]: Moving files will fail if the target parent directory doesn't exist in HDFS
4 participants