Skip to content

Commit

Permalink
deprecate HDFS support (#6443)
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb authored May 7, 2024
1 parent f539536 commit 88cec47
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,12 @@ if(USE_CUDA)
endif()

if(USE_HDFS)
message(
DEPRECATION
"HDFS support in LightGBM is deprecated, and will be removed in a future release.\
See https://github.com/microsoft/LightGBM/issues/6436.
"
)
find_package(JNI REQUIRED)
find_path(HDFS_INCLUDE_DIR hdfs.h REQUIRED)
find_library(HDFS_LIB NAMES hdfs REQUIRED)
Expand Down
4 changes: 4 additions & 0 deletions docs/Installation-Guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,10 @@ Use the GPU version (``device_type=gpu``) for GPU acceleration on Windows.
Build HDFS Version
~~~~~~~~~~~~~~~~~~

.. warning::
HDFS support in LightGBM is deprecated, and will be removed in a future release.
See https://github.com/microsoft/LightGBM/issues/6436.

The HDFS version of LightGBM was tested on CDH-5.14.4 cluster.

Linux
Expand Down
4 changes: 4 additions & 0 deletions python-package/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@ To use the CUDA version within Python, pass ``{"device": "cuda"}`` respectively
Build HDFS Version
~~~~~~~~~~~~~~~~~~

.. warning::
HDFS support in LightGBM is deprecated, and will be removed in a future release.
See https://github.com/microsoft/LightGBM/issues/6436.

.. code:: sh
pip install lightgbm --config-settings=cmake.define.USE_HDFS=ON
Expand Down

0 comments on commit 88cec47

Please sign in to comment.