wuchong commented on code in PR #1359:
URL: https://github.com/apache/fluss/pull/1359#discussion_r2265314815


##########
website/docs/maintenance/filesystems/hdfs.md:
##########
@@ -38,6 +38,20 @@ remote.data.dir: hdfs://namenode:50010/path/to/remote/storage
 To allow for easy adoption, you can use the same configuration keys in Fluss' 
server.yaml as in Hadoop's `core-site.xml`.
 You can see the configuration keys in Hadoop's 
[`core-site.xml`](https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-common/core-default.xml).
 
+#### Hadoop Environment Configuration
+
+To use the machine hadoop environment, instead of Fluss' embedded Hadoop, 
follow these steps:
+
+**Step 1: Set Hadoop Classpath**
+```bash
+export HADOOP_CLASSPATH=`hadoop classpath`
+```
+
+**Step 2: Add the following to your configuration file**
+```yaml
+plugin.classloader.parent-first-patterns.default: 
java.,com.alibaba.fluss.,javax.annotation.,org.slf4j,org.apache.log4j,org.apache.logging,org.apache.commons.logging,ch.qos.logback,hdfs-site,core-site,org.apache.hadoop.,META-INF

Review Comment:
   @luoyuxia Flink put `org.apache.hadoop.` in the default 
`classloader.parent-first-patterns.default`. Should we do this like Flink? So 
that users don't need to tackle 
`plugin.classloader.parent-first-patterns.default` or 
`plugin.classloader.parent-first-patterns.additional`? 



-- 
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]

Reply via email to