You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Yongqiang Li (Jira)" <ji...@apache.org> on 2021/05/24 16:44:00 UTC

[jira] [Created] (ZEPPELIN-5390) Can't get the correct data when using scheduler (cron) to put data into resource pool.

Yongqiang Li created ZEPPELIN-5390:
--------------------------------------

             Summary: Can't get the correct data when using scheduler (cron) to put data into resource pool.
                 Key: ZEPPELIN-5390
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-5390
             Project: Zeppelin
          Issue Type: Bug
    Affects Versions: 0.9.0
            Reporter: Yongqiang Li
             Fix For: 0.9.1


When using scheduler to put data into resource pool,  can't get the correct data back.

For example, using following code to put data in scheduler (cron)
{code:python}
%python a = """ a\tb\tc 1\t2\t3 2\t3\t4 3\t4\t5 a\t8\t9 a\t8\t9 4\t5\t6"""
ic = z.getInterpreterContext() 
rp = ic.getResourcePool()
rp.put("my_data", a)
{code}

I can't get it back correctly.
{code:python}
ic = z.getInterpreterContext()
rp = ic.getResourcePool()
rp.get("my_data")
{code}

Please fix it in the next release.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)