Re: Queries on Zeppeline Authentication/Authorisation

2016-05-19 Thread Prasad Wagle
Hi Mohit, Does this sound doable to you? Any example implementations you may know to > implement this? Yes. I found an article "Complete example of custom realm" (link ) which you may find useful. On Fri, Ma

pyspark cassandra - problem with python imports

2016-05-19 Thread michal.pet...@mtrust.eu
Hi, i'm trying to use pyspark notebook with cassandra connector (https://github.com/TargetHolding/pyspark-cassandra). To load the cassandra connector you need to add the package via --packages (--packages TargetHolding:pyspark-cassandra:0.3.4). And then you just import pyspark_cassandra which ad

Pyspark on Zeppelin issue

2016-05-19 Thread Udit Mehta
Hi All, I keep getting this error when trying to run Pyspark on *Zeppelin 0.5.6*: Py4JJavaError: An error occurred while calling > z:org.apache.spark.api.python.PythonRDD.runJob. : > org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 > in stage 0.0 failed 4 times, most rece

Re: Pyspark on Zeppelin issue

2016-05-19 Thread Paul Bustios Belizario
Hi Udit, Seems like you are trying to import pyspark. What was the code you tried to execute? Could you share it? Paul On Thu, May 19, 2016 at 7:46 PM Udit Mehta wrote: > Hi All, > > I keep getting this error when trying to run Pyspark on *Zeppelin 0.5.6*: > > Py4JJavaError: An error occurred

Re: Pyspark on Zeppelin issue

2016-05-19 Thread Udit Mehta
I actually figured it out. All i had to do was to add the config: *spark.yarn.isPython=true *in the interpreter settings or Zeppelin-env.sh This is from a PR I came across: https://github.com/apache/incubator-zeppelin/pull/605 On Thu, May 19, 2016 at 4:15 PM, Paul Bustios Belizario wrote: > Hi U

auto start and stop interpreter

2016-05-19 Thread 李铖
Hi,everybody. I have two question. - How to set an config value to make interpreter autostart or autostop. - How to autoexecute pre row pyspark code. Thanks