Re: [Proposal] Zeppelin Client API (Zeppelin SDK)

2020-08-03 Thread Jongyoul Lee
Sounds good to me as well.

BTW, don't we have to change some web socket code as well? <- It's just an
idea.

I would like to see PoC for it and I'm willing to help to improve it
because my company needs it too.

2020년 8월 1일 (토) 오전 12:05, Jeff Zhang 님이 작성:

> Good idea, Moon, I think cli would be a good start for users. This kind of
> cli is a super combination of spark-shell, hive beeline, flink scala shell,
> python shell.
>
> e.g.
> >>> %spark sc.version
> >>> %hive show tables
> >>> %python print('hello world')
>
>
>
> moon soo Lee  于2020年7月31日周五 下午10:55写道:
>
> > Looks really good!
> > Do you think to have a CLI on top of high-level API be also useful?
> >
> >
> > On Fri, Jul 31, 2020 at 7:13 AM Jeff Zhang  wrote:
> >
> > > Thanks for your feedback, I have created ticket
> > > https://issues.apache.org/jira/browse/ZEPPELIN-4981
> > >
> > > Just like @Alex Ott   mentioned, this api may need
> > > several iterations, so I plan to make it as an experimental feature
> > > first, and then refine the api based on user feedback.
> > > .
> > >
> > > Alex Ott  于2020年7月31日周五 下午7:48写道:
> > >
> > >> Idea is very good - I think that we'll need to get several iterations
> of
> > >> API refinement, but current approach looks promising.
> > >>
> > >> On Fri, Jul 24, 2020 at 5:54 PM Jeff Zhang  wrote:
> > >>
> > >> > Hi Folks,
> > >> >
> > >> > I'd like to discuss this proposal with you about the zeppelin client
> > api
> > >> > (zeppelin sdk).
> > >> > The background is that now Zeppelin’s main usage scenario is
> > interactive
> > >> > data analysis. Although it provides rest api, it is not easy for an
> > >> > external system (e.g. scheduler system) to integrate Zeppelin for
> the
> > >> > scenario where zeppelin is used as a backend job service. So I
> propose
> > >> to
> > >> > introduce a new module: Zeppelin client api (Zeppelin SDK), whose
> > >> purpose
> > >> > is to provide easy api for external systems to integrate zeppelin.
> > >> >
> > >> > I have created a google doc for the details, welcome any comments
> and
> > >> > feedback.
> > >> >
> > >> >
> > >> >
> > >>
> >
> https://docs.google.com/document/d/1bLLKKxleZlZpP9EFJlLLkJKwDBps-RNvzNwh3LFZWZ4/edit?usp=sharing
> > >> >
> > >> >
> > >> > --
> > >> > Best Regards
> > >> >
> > >> > Jeff Zhang
> > >> >
> > >>
> > >>
> > >> --
> > >> With best wishes,Alex Ott
> > >> http://alexott.net/
> > >> Twitter: alexott_en (English), alexott (Russian)
> > >>
> > >
> > >
> > > --
> > > Best Regards
> > >
> > > Jeff Zhang
> > >
> >
>
>
> --
> Best Regards
>
> Jeff Zhang
>


-- 
이종열, Jongyoul Lee, 李宗烈
http://madeng.net


Re: Having trouble migrating notebooks from 0.7.3 to 0.9.0-preview1

2020-08-03 Thread moon soo Lee
Hi,

I tried to import note from 0.7.3 to 0.9.0-preview.
Using "import note" dialog on UI, I could import default tutorial notes
without problem.

(However, when I copied /notebook directory of 0.7.3 to 0.9.0-preview, I
couldn't import them correctly.
\cc Jeff, could you confirm this as well?)

Could you try import 0.7.3 defaults tutorial notes to your installation of
0.9.0-preview?

Thanks,
moon

On Wed, Jul 29, 2020 at 7:16 PM Jeff Zhang  wrote:

> Could you check the zeppelin logs ? You should be able to find the root
> cause in log
>
> Y. Ethan Guo  于2020年7月30日周四 上午8:05写道:
>
>> Hi folks,
>>
>> I'm having trouble migrating a large number of notebooks from Zeppelin
>> 0.7.3 to 0.9.0-preview1.  I followed the instructions from the website,
>> i.e., downloading the latest release (0.9.0-preview1) and then copying the
>> conf/ and notebook/ over to override these two directories in the new one.
>> I'm able to start the Zeppelin, but when I access the home page, I
>> encounter the following errors (listed at the end).
>>
>> I also tried to export the notebook json from 0.7.3 and import that json
>> file to 0.9.0-preview1.  When I open it in the page, the notebook
>> paragraphs don't show up and the page is completely blank except for the
>> notebook caption.  The notebook I create directly in 0.9.0-preview1 can be
>> shown properly.
>>
>> Any suggestion on how to properly batch migrate the notebooks in this
>> case?  Any input would be appreciated.
>>
>> A MultiException has 10 exceptions. They are:
>> 1. java.lang.IllegalArgumentException: Comparison method violates its
>> general contract!
>> 2. java.lang.IllegalStateException: Unable to perform operation: create
>> on org.apache.zeppelin.interpreter.InterpreterSettingManager
>> 3. java.lang.IllegalArgumentException: While attempting to resolve the
>> dependencies of org.apache.zeppelin.interpreter.InterpreterFactory errors
>> were found
>> 4. java.lang.IllegalStateException: Unable to perform operation: resolve
>> on org.apache.zeppelin.interpreter.InterpreterFactory
>> 5. java.lang.IllegalArgumentException: Comparison method violates its
>> general contract!
>> 6. java.lang.IllegalStateException: Unable to perform operation: create
>> on org.apache.zeppelin.interpreter.InterpreterSettingManager
>> 7. java.lang.IllegalArgumentException: While attempting to resolve the
>> dependencies of org.apache.zeppelin.notebook.Notebook errors were found
>> 8. java.lang.IllegalStateException: Unable to perform operation: resolve
>> on org.apache.zeppelin.notebook.Notebook
>> 9. java.lang.IllegalArgumentException: While attempting to resolve the
>> dependencies of org.apache.zeppelin.service.NotebookService errors were
>> found
>> 10. java.lang.IllegalStateException: Unable to perform operation: resolve
>> on org.apache.zeppelin.service.NotebookService
>>
>> Thanks,
>> - Ethan
>>
>
>
> --
> Best Regards
>
> Jeff Zhang
>


Re: Results of testing preview2

2020-08-03 Thread moon soo Lee
Thanks for the valuable feedback!


Importing notes doesn't work in chrome.  It displays the file rather than
> uploading it. It works in firefox and Safari, though Safari is otherwise
> unusable.


I tried import notes from chrome (on MacOS) and it works for me. Is your
chrome runs on other OS?
Could you try clean chrome browser cache and see if it helps?




On Thu, Jul 30, 2020 at 8:46 AM clhedrick  wrote:

> In case anyone is interested, I'm running Zeppelin in a podman container,
> using sssd for authentication (from the host). Our home directories are on
> a
> kerberized NFS mount, so I need to make sure the user has a kerberos
> ticket,
> and it gets renewed as long as the process is active. This requires a fair
> amount of special setup. The container uses macvlan networking so that
> Zeppelin runs on a dedicated IP address.
>
>
>
>
>
> --
> Sent from:
> http://apache-zeppelin-users-incubating-mailing-list.75479.x6.nabble.com/
>