Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
88cec477
Unverified
Commit
88cec477
authored
May 07, 2024
by
James Lamb
Committed by
GitHub
May 07, 2024
Browse files
deprecate HDFS support (#6443)
parent
f5395360
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
0 deletions
+14
-0
CMakeLists.txt
CMakeLists.txt
+6
-0
docs/Installation-Guide.rst
docs/Installation-Guide.rst
+4
-0
python-package/README.rst
python-package/README.rst
+4
-0
No files found.
CMakeLists.txt
View file @
88cec477
...
@@ -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
)
...
...
docs/Installation-Guide.rst
View file @
88cec477
...
@@ -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
...
...
python-package/README.rst
View file @
88cec477
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment