HyukjinKwon commented on issue #28148: [WIP][SPARK-31381][SQL] Upgrade built-in 
Hive 2.3.6 to 2.3.7
URL: https://github.com/apache/spark/pull/28148#issuecomment-610733977
 
 
   >How was this patch tested?
   > Exist test.
   
   Ideally we should test it out with the steps you mentioned before:
   
   Hive side:
   
   ```
   export JAVA_HOME=/usr/lib/jdk1.8.0_221
   export PATH=$JAVA_HOME/bin:$PATH
   cd /usr/lib/hive-2.3.5
   bin/schematool -dbType derby -initSchema --verbose
   bin/hive --service metastore
   ```
   
   Spark side:
   
   ```
   export JAVA_HOME=/usr/lib/jdk-11.0.3
   export PATH=$JAVA_HOME/bin:$PATH
   build/sbt clean package -Phive -Phadoop-3.2 -Phive-thriftserver
   export SPARK_PREPEND_CLASSES=true
   bin/spark-shell --conf 
spark.hadoop.hive.metastore.uris=thrift://localhost:9083
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to