-
Notifications
You must be signed in to change notification settings - Fork 435
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
Add config to support viewfs in Gluten. #7892
base: main
Are you sure you want to change the base?
Conversation
Thanks for opening a pull request! Could you open an issue for this pull request on Github Issues? https://github.com/apache/incubator-gluten/issues Then could you also rename commit message and pull request title in the following format?
See also: |
Run Gluten Clickhouse CI on x86 |
@JkSelf can you add some desc why the PR revert view fs? |
0d2ae6a
to
280d490
Compare
Run Gluten Clickhouse CI on x86 |
1 similar comment
Run Gluten Clickhouse CI on x86 |
907cf70
to
aba91e9
Compare
Run Gluten Clickhouse CI on x86 |
aba91e9
to
69c9384
Compare
Run Gluten Clickhouse CI on x86 |
69c9384
to
f936353
Compare
Run Gluten Clickhouse CI on x86 |
1 similar comment
Run Gluten Clickhouse CI on x86 |
38cb901
to
c39a0ad
Compare
Run Gluten Clickhouse CI on x86 |
c39a0ad
to
4c9e1fd
Compare
Run Gluten Clickhouse CI on x86 |
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.
Just two minor comments. Thanks!
shims/common/src/main/scala/org/apache/gluten/GlutenConfig.scala
Outdated
Show resolved
Hide resolved
shims/common/src/main/scala/org/apache/gluten/GlutenConfig.scala
Outdated
Show resolved
Hide resolved
Run Gluten Clickhouse CI on x86 |
@PHILO-HE Thanks for your review. Resolved all your comments. Can you help to approve again? Thanks. |
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.
Thanks!
What changes were proposed in this pull request?
To enable support for ViewFS in Gluten, we need to call FileSystem.get(viewPath.toUri, serializableHadoopConf.value) to convert the ViewFS path to an HDFS path. Prior to this PR, we passed serializableHadoopConf in getSplitInfosFromPartitions for the conversion. This PR updates the path values after obtaining the LocalFilesNode, thereby reducing the number of times serializableHadoopConf needs to be passed. With this PR, Jenkins performance can improve by about 5%.
How was this patch tested?
Jenkins test