incubator-gluten icon indicating copy to clipboard operation
incubator-gluten copied to clipboard

Use jvm libhdfs replace c++ libhdfs3

Open JkSelf opened this issue 1 year ago • 10 comments

What changes were proposed in this pull request?

(Please fill in changes proposed in this fix)

(Fixes: #ISSUE-ID)

How was this patch tested?

(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)

(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

JkSelf avatar Jun 21 '24 01:06 JkSelf

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?

[GLUTEN-${ISSUES_ID}][COMPONENT]feat/fix: ${detailed message}

See also:

github-actions[bot] avatar Jun 21 '24 01:06 github-actions[bot]

Run Gluten Clickhouse CI

github-actions[bot] avatar Jun 21 '24 01:06 github-actions[bot]

Run Gluten Clickhouse CI

github-actions[bot] avatar Jun 21 '24 01:06 github-actions[bot]

Run Gluten Clickhouse CI

github-actions[bot] avatar Jun 21 '24 02:06 github-actions[bot]

Run Gluten Clickhouse CI

github-actions[bot] avatar Jun 21 '24 03:06 github-actions[bot]

Run Gluten Clickhouse CI

github-actions[bot] avatar Jun 21 '24 03:06 github-actions[bot]

Run Gluten Clickhouse CI

github-actions[bot] avatar Jun 21 '24 08:06 github-actions[bot]

Run Gluten Clickhouse CI

github-actions[bot] avatar Jun 21 '24 10:06 github-actions[bot]

Run Gluten Clickhouse CI

github-actions[bot] avatar Jun 21 '24 11:06 github-actions[bot]

Run Gluten Clickhouse CI

github-actions[bot] avatar Jun 24 '24 01:06 github-actions[bot]

Run Gluten Clickhouse CI

github-actions[bot] avatar Jul 11 '24 08:07 github-actions[bot]

Run Gluten Clickhouse CI

github-actions[bot] avatar Jul 22 '24 23:07 github-actions[bot]

Run Gluten Clickhouse CI

github-actions[bot] avatar Jul 26 '24 02:07 github-actions[bot]

Run Gluten Clickhouse CI

github-actions[bot] avatar Jul 30 '24 08:07 github-actions[bot]

Seems velox-hdfs part needs to be removed from vcpkg.json. And ports/libhdfs3 also needs to be removed.

PHILO-HE avatar Jul 31 '24 02:07 PHILO-HE

Run Gluten Clickhouse CI

github-actions[bot] avatar Jul 31 '24 02:07 github-actions[bot]

@JkSelf the PR is depending on the Velox PR, right?

FelixYBW avatar Aug 07 '24 19:08 FelixYBW

@JkSelf can you rebase the PR?

FelixYBW avatar Aug 12 '24 04:08 FelixYBW

Run Gluten Clickhouse CI

github-actions[bot] avatar Aug 12 '24 06:08 github-actions[bot]

@JkSelf the PR is depending on the Velox PR, right?

@FelixYBW Yes. Pending https://github.com/facebookincubator/velox/pull/10446 and https://github.com/facebookincubator/velox/pull/9835

JkSelf avatar Aug 12 '24 06:08 JkSelf

Run Gluten Clickhouse CI

github-actions[bot] avatar Aug 14 '24 07:08 github-actions[bot]

Hi @JkSelf thanks for creating this! We seem to be getting this error when trying to build on latest main after patching the change, just wanted to know if any additional changes should be made? Thanks!

CMake Error at velox/CMakeLists.txt:96 (message):
  Library does not exist:
  /home/user/gluten/ep/build-velox/build/velox_ep/_build/release/lib/libvelox.a
Call Stack (most recent call first):
  velox/CMakeLists.txt:242 (import_library)

-- Configuring incomplete, errors occurred!

ArnavBalyan avatar Aug 14 '24 18:08 ArnavBalyan

Hi @JkSelf thanks for creating this! We seem to be getting this error when trying to build on latest main after patching the change, just wanted to know if any additional changes should be made? Thanks!

CMake Error at velox/CMakeLists.txt:96 (message):
  Library does not exist:
  /home/user/gluten/ep/build-velox/build/velox_ep/_build/release/lib/libvelox.a
Call Stack (most recent call first):
  velox/CMakeLists.txt:242 (import_library)

-- Configuring incomplete, errors occurred!

Hi @ArnavBalyan, No additional changes are necessary. It appears that the Velox compilation has failed. Could you please confirm whether Velox has compiled successfully?

JkSelf avatar Aug 14 '24 23:08 JkSelf

I see thanks, it seems to be failing silently somewhere before. The buildbundle stops here with the error. I can debug why velox did not build. Can you please point me to the cmake where the .so is being built. Will add some logs to see whats happening thanks!

ArnavBalyan avatar Aug 15 '24 05:08 ArnavBalyan

Run Gluten Clickhouse CI

github-actions[bot] avatar Sep 03 '24 01:09 github-actions[bot]

@JkSelf can you please help to do a rebase?

zhouyuan avatar Oct 12 '24 03:10 zhouyuan

Run Gluten Clickhouse CI

github-actions[bot] avatar Oct 12 '24 05:10 github-actions[bot]

https://github.com/apache/incubator-gluten/issues/5103

github-actions[bot] avatar Oct 12 '24 05:10 github-actions[bot]

pending on https://github.com/facebookincubator/velox/pull/9835

zhouyuan avatar Oct 12 '24 05:10 zhouyuan

@GlutenPerfBot benchmark

zhouyuan avatar Oct 12 '24 06:10 zhouyuan