-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[bugfix] correct the dir for building segments in FileIngestionHelper #9591
[bugfix] correct the dir for building segments in FileIngestionHelper #9591
Conversation
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.
lgtm. can we add a test in PinotIngestionRestletResourceStatelessTest?
Codecov Report
@@ Coverage Diff @@
## master #9591 +/- ##
==========================================
Coverage 70.01% 70.02%
- Complexity 4842 4871 +29
==========================================
Files 1934 1936 +2
Lines 103312 103475 +163
Branches 15695 15714 +19
==========================================
+ Hits 72336 72455 +119
- Misses 25873 25923 +50
+ Partials 5103 5097 -6
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
okay, will do |
added a simple check, please take a look to see if it's okay or not. |
/<folder-to-start-pinot>/<controller.data.dir>/upload_dir/working_dir_<table-name>_<ts>
, which is not expected. There may be permission issue when using this dir and we may getjava.lang.IllegalStateException: Could not create directory for downloading input file locally: ...
Ideally, the working dir should be/<controller.local.temp.dir>/ingestion_dir/working_dir_<table-name>_<ts>
.