You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@zeppelin.apache.org by MichaelYoung <45...@qq.com> on 2016/01/21 03:02:19 UTC

回复: Pre-load Spark's scripts

Thanks so much Moon ! It works fine as I expected. 




------------------ 原始邮件 ------------------
发件人: "moon soo Lee";<mo...@apache.org>;
发送时间: 2016年1月21日(星期四) 上午8:56
收件人: "users"<us...@zeppelin.incubator.apache.org>; 

主题: Re: Pre-load Spark's scripts



Hi,

You can go to Interpreter menu on Zeppelin GUI, and set 'args' property of one of your spark interpreter setting, like 


-i [path to your xxxx.scala]


that will pre-load scala script when interpreter starts.


Thanks,

moon

On Wed, Jan 20, 2016 at 12:10 AM MichaelYoung <45...@qq.com> wrote:

Hi, all


I know someone else might have already asked the same question, but still I did not get an official answer. Is there a possibility that we can pre-load Spark's scripts in my notebook, and just issue queries via %sql ? That is, end users won't have to care about creating data frames or registering temporary tables, they just log on to the notebook and issue analysis queries. I searched over the web and it seems there is no such solutions currently, then is this feature on the road map of Zeppelin ?