pan3793 opened a new pull request #1013:
URL: https://github.com/apache/incubator-kyuubi/pull/1013


   <!--
   Thanks for sending a pull request!
   
   Here are some tips for you:
     1. If this is your first time, please read our contributor guidelines: 
https://kyuubi.readthedocs.io/en/latest/community/contributions.html
     2. If the PR is related to an issue in 
https://github.com/apache/incubator-kyuubi/issues, add '[KYUUBI #XXXX]' in your 
PR title, e.g., '[KYUUBI #XXXX] Your PR title ...'.
     3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., 
'[WIP][KYUUBI #XXXX] Your PR title ...'.
   -->
   
   ### _Why are the changes needed?_
   <!--
   Please clarify why the changes are needed. For instance,
     1. If you add a feature, you can talk about the use case of it.
     2. If you fix a bug, you can clarify why it is a bug.
   -->
   
   Before
   ```
   ➜  kyuubi-1.3.0-incubating-bin git:(1003) bin/kyuubi start
   Starting Kyuubi Server from 
/Users/chengpan/Projects/apache-kyuubi/work/release/kyuubi-1.3.0-incubating-bin
   Warn: Not find kyuubi environment file 
/Users/chengpan/Projects/apache-kyuubi/work/release/kyuubi-1.3.0-incubating-bin/conf/kyuubi-env.sh,
 using default ones...
   JAVA_HOME: /Users/chengpan/.sdkman/candidates/java/current
   KYUUBI_HOME: 
/Users/chengpan/Projects/apache-kyuubi/work/release/kyuubi-1.3.0-incubating-bin
   KYUUBI_CONF_DIR: 
/Users/chengpan/Projects/apache-kyuubi/work/release/kyuubi-1.3.0-incubating-bin/conf
   KYUUBI_LOG_DIR: 
/Users/chengpan/Projects/apache-kyuubi/work/release/kyuubi-1.3.0-incubating-bin/logs
   KYUUBI_PID_DIR: 
/Users/chengpan/Projects/apache-kyuubi/work/release/kyuubi-1.3.0-incubating-bin/pid
   KYUUBI_WORK_DIR_ROOT: 
/Users/chengpan/Projects/apache-kyuubi/work/release/kyuubi-1.3.0-incubating-bin/work
   SPARK_HOME: 
/Users/chengpan/Projects/apache-kyuubi/work/release/kyuubi-1.3.0-incubating-bin/externals/kyuubi-download/target/spark--bin-hadoop
   SPARK_CONF_DIR: 
/Users/chengpan/Projects/apache-kyuubi/work/release/kyuubi-1.3.0-incubating-bin/externals/kyuubi-download/target/spark--bin-hadoop/conf
   HADOOP_CONF_DIR:
   Error: INVALID SPARK DISTRIBUTION! CANNOT PROCEED.
   ```
   
   After
   ```
   ➜  kyuubi-1.3.0-incubating-bin git:(1003) bin/kyuubi start
   Starting Kyuubi Server from 
/Users/chengpan/Projects/apache-kyuubi/work/release/kyuubi-1.3.0-incubating-bin
   Warn: Not find kyuubi environment file 
/Users/chengpan/Projects/apache-kyuubi/work/release/kyuubi-1.3.0-incubating-bin/conf/kyuubi-env.sh,
 using default ones...
   JAVA_HOME: /Users/chengpan/.sdkman/candidates/java/current
   KYUUBI_HOME: 
/Users/chengpan/Projects/apache-kyuubi/work/release/kyuubi-1.3.0-incubating-bin
   KYUUBI_CONF_DIR: 
/Users/chengpan/Projects/apache-kyuubi/work/release/kyuubi-1.3.0-incubating-bin/conf
   KYUUBI_LOG_DIR: 
/Users/chengpan/Projects/apache-kyuubi/work/release/kyuubi-1.3.0-incubating-bin/logs
   KYUUBI_PID_DIR: 
/Users/chengpan/Projects/apache-kyuubi/work/release/kyuubi-1.3.0-incubating-bin/pid
   KYUUBI_WORK_DIR_ROOT: 
/Users/chengpan/Projects/apache-kyuubi/work/release/kyuubi-1.3.0-incubating-bin/work
   SPARK_HOME: 
/Users/chengpan/Projects/apache-kyuubi/work/release/kyuubi-1.3.0-incubating-bin/externals/spark-3.1.2-bin-hadoop3.2
   SPARK_CONF_DIR: 
/Users/chengpan/Projects/apache-kyuubi/work/release/kyuubi-1.3.0-incubating-bin/externals/spark-3.1.2-bin-hadoop3.2/conf
   HADOOP_CONF_DIR:
   Error: INVALID SPARK DISTRIBUTION! CANNOT PROCEED.
   ```
   
   ### _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
   
   - [ ] [Run 
test](https://kyuubi.readthedocs.io/en/latest/develop_tools/testing.html#running-tests)
 locally before make a pull request
   


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