Skip to content
Snippets Groups Projects
  • Jeff Zhang's avatar
    99a94731
    [SPARK-19570][PYSPARK] Allow to disable hive in pyspark shell · 99a94731
    Jeff Zhang authored
    ## What changes were proposed in this pull request?
    
    SPARK-15236 do this for scala shell, this ticket is for pyspark shell. This is not only for pyspark itself, but can also benefit downstream project like livy which use shell.py for its interactive session. For now, livy has no control of whether enable hive or not.
    
    ## How was this patch tested?
    
    I didn't find a way to add test for it. Just manually test it.
    Run `bin/pyspark --master local --conf spark.sql.catalogImplementation=in-memory` and verify hive is not enabled.
    
    Author: Jeff Zhang <zjffdu@apache.org>
    
    Closes #16906 from zjffdu/SPARK-19570.
    99a94731
    History
    [SPARK-19570][PYSPARK] Allow to disable hive in pyspark shell
    Jeff Zhang authored
    ## What changes were proposed in this pull request?
    
    SPARK-15236 do this for scala shell, this ticket is for pyspark shell. This is not only for pyspark itself, but can also benefit downstream project like livy which use shell.py for its interactive session. For now, livy has no control of whether enable hive or not.
    
    ## How was this patch tested?
    
    I didn't find a way to add test for it. Just manually test it.
    Run `bin/pyspark --master local --conf spark.sql.catalogImplementation=in-memory` and verify hive is not enabled.
    
    Author: Jeff Zhang <zjffdu@apache.org>
    
    Closes #16906 from zjffdu/SPARK-19570.