You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fluss.apache.org by "zuston (via GitHub)" <gi...@apache.org> on 2026/03/13 02:49:50 UTC
[PR] [lake/tiering] fallback to Flink's `io.tmp.dir` when `client.scanner.io.tmpdir` is not set [fluss]
zuston opened a new pull request, #2859:
URL: https://github.com/apache/fluss/pull/2859
### Purpose
To avoid downloading remote logs into the `/tmp` directory when tiering Flink jobs run on YARN, which could cause uncontrolled disk usage.
### Brief change log
<!-- Please describe the changes made in this pull request and explain how they address the issue -->
### Tests
<!-- List UT and IT cases to verify this change -->
### API and Format
<!-- Does this change affect API or storage format -->
### Documentation
<!-- Does this change introduce a new feature -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@fluss.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [lake/tiering] fallback to Flink's `io.tmp.dir` when `client.scanner.io.tmpdir` is not set [fluss]
Posted by "luoyuxia (via GitHub)" <gi...@apache.org>.
luoyuxia merged PR #2859:
URL: https://github.com/apache/fluss/pull/2859
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@fluss.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [lake/tiering] fallback to Flink's `io.tmp.dir` when `client.scanner.io.tmpdir` is not set [fluss]
Posted by "zuston (via GitHub)" <gi...@apache.org>.
zuston commented on PR #2859:
URL: https://github.com/apache/fluss/pull/2859#issuecomment-4052973842
PTAL @luoyuxia @wuchong
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@fluss.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [lake/tiering] fallback to Flink's `io.tmp.dir` when `client.scanner.io.tmpdir` is not set [fluss]
Posted by "Copilot (via GitHub)" <gi...@apache.org>.
Copilot commented on code in PR #2859:
URL: https://github.com/apache/fluss/pull/2859#discussion_r2929413067
##########
fluss-flink/fluss-flink-common/src/main/java/org/apache/fluss/flink/tiering/source/TieringSource.java:
##########
@@ -110,6 +112,9 @@ public SourceReader<TableBucketWriteResult<WriteResult>, TieringSplit> createRea
SourceReaderContext sourceReaderContext) {
FutureCompletingBlockingQueue<RecordsWithSplitIds<TableBucketWriteResult<WriteResult>>>
elementsQueue = new FutureCompletingBlockingQueue<>();
+ flussConf.set(
+ CLIENT_SCANNER_IO_TMP_DIR,
+ getClientScannerIoTmpDir(flussConf, sourceReaderContext.getConfiguration()));
Review Comment:
The new fallback relies on `getClientScannerIoTmpDir(...)`, but that helper currently builds the Flink-based path via `new File(flinkTmpDirs, "/fluss")`. In Java, a child path starting with `/` is treated as absolute, so the parent (`io.tmp.dirs`) is ignored and this will resolve to `/fluss` (and may fail due to permissions), defeating the purpose of falling back to Flinkās tmp dir. Fix `getClientScannerIoTmpDir` to join with a relative child (e.g., `"fluss"`) and consider handling multi-value `io.tmp.dirs` (comma-separated) deterministically.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@fluss.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org