Hi Jack,

zeppelin.spark.useHiveContext propety was hard coded so I made a PR to fix
this issue

https://github.com/apache/incubator-zeppelin/pull/87

With this PR you can set zeppelin.spark.useHiveContext to be false by
adding one of below two lines in conf/zeppelin-env.sh:

    export ZEPPELIN_JAVA_OPTS="-Dzeppelin.spark.useHiveContext=false"

    export ZEPPELIN_SPARK_USEHIVECONTEXT=false

​
​
Hi, I noticed zeppelin.spark.useHiveContext defaults to true, but let's say
I want to have it turned off by default. I tried adding the following to
the zeppelin-env.sh environment file:

export ZEPPELIN_JAVA_OPTS="-Dspark.executor.memory=6g
-Dzeppelin.spark.maxResult=0 -Dzeppelin.spark.useHiveContext=false"

but it seems it's not modifying the spark interpreter defaults. Again, I'm
trying to avoid having to go in and change it everytime manually, is there
a way to set these variables beforehand?

Thanks!
Jack

Reply via email to