Unverified Commit 88cec477 authored by James Lamb's avatar James Lamb Committed by GitHub
Browse files

deprecate HDFS support (#6443)

parent f5395360
...@@ -286,6 +286,12 @@ if(USE_CUDA) ...@@ -286,6 +286,12 @@ if(USE_CUDA)
endif() endif()
if(USE_HDFS) 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_package(JNI REQUIRED)
find_path(HDFS_INCLUDE_DIR hdfs.h REQUIRED) find_path(HDFS_INCLUDE_DIR hdfs.h REQUIRED)
find_library(HDFS_LIB NAMES hdfs REQUIRED) find_library(HDFS_LIB NAMES hdfs REQUIRED)
......
...@@ -631,6 +631,10 @@ Use the GPU version (``device_type=gpu``) for GPU acceleration on Windows. ...@@ -631,6 +631,10 @@ Use the GPU version (``device_type=gpu``) for GPU acceleration on Windows.
Build HDFS Version 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. The HDFS version of LightGBM was tested on CDH-5.14.4 cluster.
Linux Linux
......
...@@ -160,6 +160,10 @@ To use the CUDA version within Python, pass ``{"device": "cuda"}`` respectively ...@@ -160,6 +160,10 @@ To use the CUDA version within Python, pass ``{"device": "cuda"}`` respectively
Build HDFS Version 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 .. code:: sh
pip install lightgbm --config-settings=cmake.define.USE_HDFS=ON pip install lightgbm --config-settings=cmake.define.USE_HDFS=ON
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment