-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix](Hdfs) Guard HDFS init when Java support disabled #60368
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
[fix](Hdfs) Guard HDFS init when Java support disabled #60368
Conversation
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
|
run buildall |
|
run buildall |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
TPC-H: Total hot run time: 32047 ms |
ClickBench: Total hot run time: 28.25 s |
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
### What problem does this PR solve? Problem Summary: With enable_java_support=false, Hive/HDFS access still reaches JNI and can hang in getJNIEnv, sometimes with StackOverflowError.
What problem does this PR solve?
Problem Summary:
With enable_java_support=false, Hive/HDFS access still reaches JNI and can hang in getJNIEnv, sometimes with StackOverflowError.
Release note
Add an early enable_java_support guard in HdfsMgr::get_or_create_fs to return an error before JNI initialization.
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)