Re: show() function not found by the python interpreter after modifying the source code

2016-08-12 Thread Goodman, Alexander (398K)
Hi Paul, Thank you very much for the useful tip! Alex On Fri, Aug 12, 2016 at 9:36 PM, Paul Bustios Belizario wrote: > You could check this [0] to avoid deleting spaces in blank lines after > saving a file in Atom. > > [0] http://superuser.com/questions/961352/atom-automatically-removing- > tr

Re: show() function not found by the python interpreter after modifying the source code

2016-08-12 Thread Paul Bustios Belizario
You could check this [0] to avoid deleting spaces in blank lines after saving a file in Atom. [0] http://superuser.com/questions/961352/atom-automatically-removing-trailing-spaces Regards, Paul On Sat, Aug 13, 2016 at 1:15 AM Goodman, Alexander (398K) < alexander.good...@jpl.nasa.gov> wrote: >

Re: show() function not found by the python interpreter after modifying the source code

2016-08-12 Thread Goodman, Alexander (398K)
Thank you guys for the responses. I wonder how much the editor has to do with it since I was able to get my changes to work (ie the ones in my PR) after manually adding them in a vanilla editor (I was previously using Atom). However I did later have issues similar to those mentioned in ZEPPELIN-11

Re: show() function not found by the python interpreter after modifying the source code

2016-08-12 Thread Alexander Bezzubov
Hi Alexander, thank you for contributing Matplotlib integration improvements! You are right, it's odd and this is not your text editor's fault - our current Python interpreter implementation is quite early stages and these are artefacts of the way it currently works. Sometimes it does not accept

Re: show() function not found by the python interpreter after modifying the source code

2016-08-12 Thread Paul Bustios Belizario
Hi Alexander, Python interpreter uses a REPL interactive environment to evaluate code, so the problem was that your editor was deleting some lines with only indentation spaces needed to define the scope of the PyZeppelinContext class in the REPL environment, and that's why there are no problems wh

Re: Access resource pool from python interpreter

2016-08-12 Thread Alexander Bezzubov
Yep, it's not supported yet so please file a JIRA issue and I will be happy to help adding it! -- Alex On Sat, Aug 13, 2016, 01:16 moon soo Lee wrote: > %python does not expose the api to access resource pool, yet. I think > it's great to have. > > PyZeppelinContext [1] can be the place where z

Re: Stickers

2016-08-12 Thread Alexander Bezzubov
Looks awesome, thank you for putting it together! -- Alex On Sat, Aug 13, 2016, 05:19 Trevor Grant wrote: > That's awesome, thanks so much!! > > Trevor Grant > Data Scientist > https://github.com/rawkintrevo > http://stackexchange.com/users/3002022/rawkintrevo > http://trevorgrant.org > > *"Fo

Re: Stickers

2016-08-12 Thread Trevor Grant
That's awesome, thanks so much!! Trevor Grant Data Scientist https://github.com/rawkintrevo http://stackexchange.com/users/3002022/rawkintrevo http://trevorgrant.org *"Fortunate is he, who is able to know the causes of things." -Virgil* On Fri, Aug 12, 2016 at 4:16 AM, Corneau Damien wrote:

Re: Zeppelin on windows

2016-08-12 Thread moon soo Lee
Hi Guillaume, I think https://issues.apache.org/jira/browse/SPARK-2356 is related issue. Could you try set HADOOP_HOME env variable? Thanks, moon On Sat, Aug 6, 2016 at 3:22 AM tog wrote: > Hi > > I have access to a HDP platform running on RedHat. I would like to install > Zeppelin on my Windo

Re: deprecation warnings

2016-08-12 Thread moon soo Lee
Hi Randy, If you go to "Interpreter" menu, you'll see "args" property in your spark interpreter setting. If you add "-deprecation" in the value, then you'll able to see some details. Thanks, moon On Thu, Aug 4, 2016 at 7:30 PM Randy Gelhausen wrote: > Hi, > > After upgrading to Spark 2.0, I'm

Re: Zeppelin access to remote Spark&Yarn cluster

2016-08-12 Thread Vinay Shukla
Michael, Besides what Moon suggested, the next thing to consider is the security. If the remote cluster in the Data center has Kerberos authentication enabled, then you will need to configure Zeppelin + Livy interpreter for Kerberos and identity propagation to allow the job to run as the end-user

Re: Zeppelin access to remote Spark&Yarn cluster

2016-08-12 Thread moon soo Lee
Hi, The easiest way is install spark on your laptop, and configure it to use your yarn remote cluster in a data center. And verify it with bin/spark-shell. Then install zeppelin and export SPARK_HOME env variable to your spark installation. You'll need to set 'master' property to yarn-client in z

Re: Access resource pool from python interpreter

2016-08-12 Thread moon soo Lee
%python does not expose the api to access resource pool, yet. I think it's great to have. PyZeppelinContext [1] can be the place where z.put(), z.get() python api can be exposed. The api implementation will need to call JVM PythonInterpreter instance to access the ResourcePool. Example of accessi

Re: show() function not found by the python interpreter after modifying the source code

2016-08-12 Thread Goodman, Alexander (398K)
An update: It seems like the problem might lie in my editor. After a bit of hacking into the log fiIes, I found that there were several IndentationErrors being reported, starting at the PyZeppelinContext constructor, resulting in a seemingly empty class once bootstrap.py is processed. It's still o

Access resource pool from python interpreter

2016-08-12 Thread Trevor Grant
In pyspark we can access the resource pool with something like z.get("myVar") In %python, that doesn't seem to work. Does anyone know a good hack for making that happen or should I open a JIRA ticket? tg Trevor Grant Data Scientist https://github.com/rawkintrevo http://stackexchange.com/users/

show() function not found by the python interpreter after modifying the source code

2016-08-12 Thread Goodman, Alexander (398K)
Hi, I am attempting to improve the matplotlib plotting capabilities in the python interpreter (see the ZEPPELIN-1318 JIRA issue) and have ran into some issues. Specifically, after saving my changes to bootstrap.py and rebuilding, I get the following error message after running the unit tests: Att

Re: Config for spark interpreter

2016-08-12 Thread mina lee
Hi Polina, I tried first/third approach with zeppelin-0.6.0-bin-netinst.tgz and both seems to work for me. > 3. restart zeppelin, check interpreter tab. Here is one suspicious part you might missed, did you create new Spark Interpreter after restarting zeppelin? One thing you need to keep in min

Re: Stickers

2016-08-12 Thread Corneau Damien
Seems it takes some time to be accepted by Stickermule. However I made this PR in case anybody would like to make their own: https://github.com/apache/zeppelin/pull/1325 On Thu, Aug 11, 2016 at 9:45 AM, Corneau Damien wrote: > Thanks Trevor, > I will take care of that today then. > Once it's don