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 <m...@apache.org> 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.put(), z.get() python api
> can be exposed.
>
> The api implementation will need to call JVM PythonInterpreter instance to
> access the ResourcePool. Example of accessing resource pool can be found in
> ZeppelinContext [2].
>
> Please feel free to file a JIRA issue!
>
> Thanks,
> moon
>
> [1]
> https://github.com/apache/zeppelin/blob/master/python/src/main/resources/bootstrap.py#L110
> [2]
> https://github.com/apache/zeppelin/blob/master/spark/src/main/java/org/apache/zeppelin/spark/ZeppelinContext.java#L705
>
>
>
> On Fri, Aug 12, 2016 at 8:42 AM Trevor Grant <trevor.d.gr...@gmail.com>
> wrote:
>
>> 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/3002022/rawkintrevo
>> http://trevorgrant.org
>>
>> *"Fortunate is he, who is able to know the causes of things."  -Virgil*
>>
>>

Reply via email to