Uh oh!
There was an error while loading. Please reload this page.
[SPARK-19570][PYSPARK] Allow to disable hive in pyspark shell - #16906
[SPARK-19570][PYSPARK] Allow to disable hive in pyspark shell#16906zjffdu wants to merge 3 commits into
Conversation
SparkQA
commented
Feb 13, 2017
Test build #72796 has finished for PR 16906 at commit
|
zjffdu
commented
Feb 13, 2017
@holdenk Please help review |
holdenk
commented
Feb 13, 2017
Let me take a look tomorrow. |
holdenk
commented
Feb 13, 2017
Ah interesting, thanks for working on this. I've been working on a JIRA which also requires "stand alone" style testing, I'll make the (WIP) PR for that and maybe you can take a look at it. Perhaps we could generalize that one a bit and make something for testing things like this (provided the overhead isn't too high). |
felixcheung
commented
Mar 21, 2017
I think we need to lowercase the conf value as in #16907 |
zjffdu
commented
Mar 21, 2017
Yeah, make sense. Fixed it. |
SparkQA
commented
Mar 21, 2017
Test build #74944 has finished for PR 16906 at commit
|
SparkQA
commented
Mar 31, 2017
Test build #75428 has finished for PR 16906 at commit
|
felixcheung
left a comment
There was a problem hiding this comment.
LGTM, @holdenk do you have any comment on this?
holdenk
commented
Apr 3, 2017
I think this looks reasonable, although it would maybe make sense to add a warning if the user has explicitly requested hive support and we are falling through to non-hive support (e.g. in the except side of the try block). |
felixcheung
commented
Apr 4, 2017
+1 on that, we do have the log on the R side. |
SparkQA
commented
Apr 6, 2017
Test build #75562 has finished for PR 16906 at commit
|
zjffdu
commented
Apr 6, 2017
Thanks @holdenk@felixcheung for review, I just added the warning log |
zjffdu
commented
Apr 11, 2017
Kindly ping @holdenk |
holdenk
commented
Apr 12, 2017
LGTM, thanks for working on this @zjffdu |
holdenk
commented
Apr 12, 2017
Merged to master |
## 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> Closesapache#16906 from zjffdu/SPARK-19570.
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-memoryand verify hive is not enabled.