jiaoqingbo commented on code in PR #2579: URL: https://github.com/apache/incubator-kyuubi/pull/2579#discussion_r867987114
########## docs/deployment/engine_on_yarn.md: ########## @@ -169,12 +169,33 @@ export HADOOP_CLASSPATH=`hadoop classpath` echo "stop" | ./bin/yarn-session.sh -id application_XXXXX_XXX ``` -If the `TopSpeedWindowing` passes, configure it in `$KYUUBI_HOME/conf/kyuubi-env.sh` or `$FLINK_HOME/bin/config.sh`, e.g. +If the `TopSpeedWindowing` passes, configure it in `$KYUUBI_HOME/conf/kyuubi-env.sh` ```bash $ echo "export HADOOP_CONF_DIR=/path/to/hadoop/conf" >> $KYUUBI_HOME/conf/kyuubi-env.sh ``` +#### Required Environment Variable + +The `FLINK_HADOOP_CLASSPATH` is required, too. + +If using Hadoop 3.x, configured it in `$KYUUBI_HOME/conf/kyuubi-env.sh` as follows: + +```bash +$ echo "export FLINK_HADOOP_CLASSPATH=/path/to/hadoop-client-runtime-*.jar:/path/to/hadoop-client-api-*.jar" >> $KYUUBI_HOME/conf/kyuubi-env.sh +``` +`hadoop-client-api-*.jar` and `hadoop-client-runtime-*.jar` are only applicable to users whose + +hadoop version is 3.x, if users use hadoop2.x, FLINK_HADOOP_CLASSPATH is recommended to + +be set to `hadoop classpath` + +If using Hadoop 2.x, configured it in `$KYUUBI_HOME/conf/kyuubi-env.sh` as follows: + +```bash +$ echo "export FLINK_HADOOP_CLASSPATH=`hadoop classpath`" >> $KYUUBI_HOME/conf/kyuubi-env.sh +``` Review Comment: What you described is more complete, I will change it according to what you said -- 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]
