luoyuxia commented on code in PR #1359: URL: https://github.com/apache/fluss/pull/1359#discussion_r2265622432
########## 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: Thanks @wuchong for pointing that. Haven't noticed Flink do that. I think we can follow Flink to add `org.apache.hadoop.` to `classloader.parent-first-patterns.default`. -- 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]
