Yohahaha commented on code in PR #7982:
URL: https://github.com/apache/incubator-gluten/pull/7982#discussion_r1847554072


##########
docs/get-started/Velox.md:
##########
@@ -120,7 +120,8 @@ shared libraries into another jar named 
`gluten-thirdparty-lib-$LINUX_OS-$VERSIO
 
 ## HDFS support
 
-Hadoop hdfs support is ready via the 
[libhdfs3](https://github.com/apache/hawq/tree/master/depends/libhdfs3) 
library. The libhdfs3 provides native API for Hadoop I/O without the drawbacks 
of JNI. It also provides advanced authentication like Kerberos based. Please 
note this library has several dependencies which may require extra 
installations on Driver and Worker node.
+Gluten supports dynamically loading both libhdfs.so and libhdfs3.so at runtime 
by using dlopen, allowing the JVM to load the appropriate shared library file 
as needed. This means you do not need to set the library path during the 
compilation phase.
+To enable this functionality, you must set the JAVA_HOME and HADOOP_HOME 
environment variables. Gluten will then locate and load the 
${HADOOP_HOME}/lib/native/libhdfs.so file at runtime. If you prefer to use 
libhdfs3.so instead, simply replace the ${HADOOP_HOME}/lib/native/libhdfs.so 
file with libhdfs3.so.

Review Comment:
   If I replace libhdfs.so with libhdfs3.so, do I still need set `export 
CLASSPATH=`$HADOOP_HOME/bin/hdfs classpath --glob``?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to