You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by ch...@apache.org on 2022/04/19 02:10:34 UTC

[incubator-kyuubi] branch master updated: [KYUUBI #2406] Add Flink environments to template

This is an automated email from the ASF dual-hosted git repository.

chengpan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-kyuubi.git


The following commit(s) were added to refs/heads/master by this push:
     new cbde503f0 [KYUUBI #2406] Add Flink environments to template
cbde503f0 is described below

commit cbde503f0bd3fd61b6d9d69f54a5d357b49b35a3
Author: Ada Wang <wa...@gmail.com>
AuthorDate: Tue Apr 19 10:10:20 2022 +0800

    [KYUUBI #2406] Add Flink environments to template
    
    ### _Why are the changes needed?_
    
    Add Flink environments to `kyuubi-env.sh.template`
    
    ### _How was this patch tested?_
    - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible
    
    - [ ] Add screenshots for manual tests if appropriate
    
    - [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request
    
    Closes #2407 from deadwind4/flink-env.
    
    Closes #2406
    
    24717fcd [Ada Wang] [KYUUBI #2406] Add Flink environments to template
    
    Authored-by: Ada Wang <wa...@gmail.com>
    Signed-off-by: Cheng Pan <ch...@apache.org>
---
 conf/kyuubi-env.sh.template | 4 ++++
 docs/deployment/settings.md | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/conf/kyuubi-env.sh.template b/conf/kyuubi-env.sh.template
index 4afa70dbf..ee0f5135f 100755
--- a/conf/kyuubi-env.sh.template
+++ b/conf/kyuubi-env.sh.template
@@ -43,6 +43,9 @@
 # - SPARK_HOME              Spark distribution which you would like to use in Kyuubi.
 # - SPARK_CONF_DIR          Optional directory where the Spark configuration lives.
 #                           (Default: $SPARK_HOME/conf)
+# - FLINK_HOME              Flink distribution which you would like to use in Kyuubi.
+# - FLINK_CONF_DIR          Optional directory where the Flink configuration lives.
+#                           (Default: $FLINK_HOME/conf)
 #
 
 
@@ -50,6 +53,7 @@
 
 # export JAVA_HOME=/usr/jdk64/jdk1.8.0_152
 # export SPARK_HOME=/opt/spark
+# export FLINK_HOME=/opt/flink
 # export HADOOP_CONF_DIR=/usr/ndp/current/mapreduce_client/conf
 # export YARN_CONF_DIR=/usr/ndp/current/yarn/conf
 # export KYUUBI_JAVA_OPTS="-Xmx10g -XX:+UnlockDiagnosticVMOptions -XX:ParGCCardsPerStrideChunk=4096 -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSConcurrentMTEnabled -XX:CMSInitiatingOccupancyFraction=70 -XX:+UseCMSInitiatingOccupancyOnly -XX:+CMSClassUnloadingEnabled -XX:+CMSParallelRemarkEnabled -XX:+UseCondCardMark -XX:MaxDirectMemorySize=1024m  -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=./logs -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintTenuringDistribut [...]
diff --git a/docs/deployment/settings.md b/docs/deployment/settings.md
index 366e9ff31..10a6cc1c2 100644
--- a/docs/deployment/settings.md
+++ b/docs/deployment/settings.md
@@ -78,6 +78,9 @@ You can configure the environment variables in `$KYUUBI_HOME/conf/kyuubi-env.sh`
 # - SPARK_HOME              Spark distribution which you would like to use in Kyuubi.
 # - SPARK_CONF_DIR          Optional directory where the Spark configuration lives.
 #                           (Default: $SPARK_HOME/conf)
+# - FLINK_HOME              Flink distribution which you would like to use in Kyuubi.
+# - FLINK_CONF_DIR          Optional directory where the Flink configuration lives.
+#                           (Default: $FLINK_HOME/conf)
 #
 
 
@@ -85,6 +88,7 @@ You can configure the environment variables in `$KYUUBI_HOME/conf/kyuubi-env.sh`
 
 # export JAVA_HOME=/usr/jdk64/jdk1.8.0_152
 # export SPARK_HOME=/opt/spark
+# export FLINK_HOME=/opt/flink
 # export HADOOP_CONF_DIR=/usr/ndp/current/mapreduce_client/conf
 # export YARN_CONF_DIR=/usr/ndp/current/yarn/conf
 # export KYUUBI_JAVA_OPTS="-Xmx10g -XX:+UnlockDiagnosticVMOptions -XX:ParGCCardsPerStrideChunk=4096 -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSConcurrentMTEnabled -XX:CMSInitiatingOccupancyFraction=70 -XX:+UseCMSInitiatingOccupancyOnly -XX:+CMSClassUnloadingEnabled -XX:+CMSParallelRemarkEnabled -XX:+UseCondCardMark -XX:MaxDirectMemorySize=1024m  -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=./logs -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintTenuringDistribut [...]