Re: Multiple spark interpreters in the same Zeppelin instance

2016-02-04 Thread Zhong Wang
Thanks, Moon! I got it worked. The reason why it didn't work is that I tried to use both of the spark interpreters inside one notebook. I think I can create different notebooks for each interpreters, but it would be great if we could use "%xxx", where xxx is the user defined interpreter identifier,

Re: accessing python list in scala note

2016-02-04 Thread Suraj
That works. Thanks a lot Moon. Regards,Suraj Sent from Yahoo Mail on Android On Thu, 4 Feb, 2016 at 12:51 PM, moon soo Lee wrote: Hi Suraj, You can cast type and access the value. Like objFrmPy.asInstanceOf[java.util.ArrayList[Any]].get(1) Hope this helps, Best,moon On Tue, Feb 2, 2016 at

Re: HBase Interpreter

2016-02-04 Thread Benjamin Kim
Sure. I'll do that. On Thursday, February 4, 2016, Felix Cheung wrote: > Sorry to clarify I was referring to changes to Maven's project file that > could allow changes to dependencies at project build time. We would need to > look into that - will loop you in for validating for sure if you'd lik

Re: HBase Interpreter

2016-02-04 Thread Felix Cheung
Sorry to clarify I was referring to changes to Maven's project file that could allow changes to dependencies at project build time. We would need to look into that - will loop you in for validating for sure if you'd like. _ From: Benjamin Kim Sent: Thursday, Fe

Re: HBase Interpreter

2016-02-04 Thread Benjamin Kim
Please, tell me what values to put as the properties for hbase version? Thanks, Ben > On Feb 4, 2016, at 9:15 PM, Felix Cheung wrote: > > We could probably look into HBase/Pom.xml handling the vendor-repo profile > too. > > > > > > On Thu, Feb 4, 2016 at 8:08 PM -0800, "Rajat Venkatesh"

Re: HBase Interpreter

2016-02-04 Thread Felix Cheung
We could probably look into HBase/Pom.xml handling the vendor-repo profile too. On Thu, Feb 4, 2016 at 8:08 PM -0800, "Rajat Venkatesh" wrote: Benjamin, Can you try compiling Zeppelin by changing the dependencies in hbase/pom.xml to use cloudera jars ? In the long run, one option is to

Re: custom interpreter not found

2016-02-04 Thread moon soo Lee
Hi, Could you double check if you have created interpreter setting in 'Interpreter' menu and bind your notebook to the created interpreter setting? Thanks, moon On Fri, Feb 5, 2016 at 11:37 AM Jeff Zhang wrote: > I develop a very simple custom interpreter and following the instruction > here >

Re: Multiple spark interpreters in the same Zeppelin instance

2016-02-04 Thread moon soo Lee
Hi, Once you create another spark interpreter in Interpreter menu of GUI, then each notebook should able to select and use it (setting icon on top right corner of each notebook). If it does not work, could you find error message on the log file? Thanks, moon On Fri, Feb 5, 2016 at 11:54 AM Zhon

Re: HBase Interpreter

2016-02-04 Thread Rajat Venkatesh
Benjamin, Can you try compiling Zeppelin by changing the dependencies in hbase/pom.xml to use cloudera jars ? In the long run, one option is to 1. run & capture o/p of 'bin/hbase classpath' 2. create a classloader 3. load all the classes from 1 Then it will work with any version of HBase theoritic

Multiple spark interpreters in the same Zeppelin instance

2016-02-04 Thread Zhong Wang
Hi zeppelin pilots, I am trying to run multiple spark interpreters in the same Zeppelin instance. This is very helpful if the data comes from multiple spark clusters. Another useful use case is that, run one instance in cluster mode, and another in local mode. This will significantly boost the pe

Re: HBase Interpreter

2016-02-04 Thread Benjamin Kim
Felix, I know that Cloudera practice. We hate that they do that without informing anyone. Thanks, Ben > On Feb 4, 2016, at 9:18 AM, Felix Cheung wrote: > > CDH is known to cherry pick patches from later releases. Maybe it is because > of that. > > Rajat do you have any lead on the release

custom interpreter not found

2016-02-04 Thread Jeff Zhang
I develop a very simple custom interpreter and following the instruction here https://zeppelin.incubator.apache.org/docs/0.6.0-incubating-SNAPSHOT/development/writingzeppelininterpreter.html but when I use it in interpreter, it fails, and check the logs which says following (there's not other erro

Re: HBase Interpreter

2016-02-04 Thread Felix Cheung
CDH is known to cherry pick patches from later releases. Maybe it is because of that. Rajat do you have any lead on the release compatibility issue? _ From: Rajat Venkatesh Sent: Wednesday, February 3, 2016 10:05 PM Subject: Re: HBase Interpreter To: O

Re: Upgrade spark to 1.6.0

2016-02-04 Thread Felix Cheung
You problem is likely with -Pvendor-repo if you are not running with Cloudera CDH. Try this mvn clean package -Pspark-1.6 -Dspark.version=1.6.0 -Phadoop-2.6 -Pyarn -Ppyspark -DskipTests On Wed, Feb 3, 2016 at 11:43 AM -0800, "Daniel Valdivia" wrote: I don't need any specific version o

Re: csv dependencies loaded in %spark but not %sql in spark 1.6/zeppelin 0.5.6

2016-02-04 Thread Benjamin Kim
Hi Mina, I pulled the latest and saw the new artifacts entry section for interpreters. I like that solution better. It’s a nice addition. Thanks, Ben > On Feb 2, 2016, at 7:36 PM, Lin, Yunfeng wrote: > > Thanks, Mina, I confirm that the workaround works! > > -Original Message- > Fro