diff --git a/CMakeLists.txt b/CMakeLists.txt index 6ae40950d750..2bb8e6b41794 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/docs/Installation-Guide.rst b/docs/Installation-Guide.rst index d6362f1c2103..c59898032b70 100644 --- a/docs/Installation-Guide.rst +++ b/docs/Installation-Guide.rst @@ -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 diff --git a/python-package/README.rst b/python-package/README.rst index c3b73ffdf5d1..68f267ec659e 100644 --- a/python-package/README.rst +++ b/python-package/README.rst @@ -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