Facundo Bianco
05/11/2022, 4:11 PMpushJobSpec:
pushParallelism: 20
pushAttempts: 2
segmentUriPrefix: "<s3://bucket-foo>"
segmentUriSuffix : ""
And got this error message:
2022/05/11 142850.531 ERROR [BaseTableDataManager] [HelixTaskExecutor-message_handle_thread] Attempts exceeded when downloading segment: foo_OFFLINE_2022-05-03_2022-05-03_11 for table: foo_OFFLINE from: s3://bucket-foo/data/output/foo_OFFLINE_2022-05-03_2022-05-03_11.tar.gznull to: /tmp/pinot-tmp/server/index/foo_OFFLINE/tmp/tmp-foo_OFFLINE_2022-05-03_2022-05-03_11-b2f3a97c-9c14-4b4c-9874-fb028597a237/foo_OFFLINE_2022-05-03_2022-05-03_11.tar.gz ava:72) [pinot-all-0.10.0-SNAPSHOT-jar-with-dependencies.jar:0.10.0-SNAPSHOT-fIt adds 'null' at end of file's URI. Any idea how to resolve? Thanks in advance.
Mayank
Mayank
Xiaobing
05/11/2022, 6:12 PMreturn URI.create(String.format("%s%s%s", prefix, fileURI.getRawPath(), suffix));
perhaps can give a quick try to simply leave both prefix and suffix as empty to get into this branch and see if it works as expected. You can confirm by checking the downloadUrl set in the segment metadata in ZK.Facundo Bianco
05/11/2022, 8:15 PMMayank
Xiaobing
05/12/2022, 4:43 PMnull
suffix issue and refine the doc a bitMayank
Xiaobing
05/12/2022, 7:18 PMsegmentUriSuffix
field, I could see null
got appended to the uri. In fact, setting an empty string there was fine. So I wonder if you might accidentally omit the config when pushing the segments.
I’ll patch the util method to avoid accidental null.