I also prefer approach 1 more.
https://issues.apache.org/jira/browse/ZEPPELIN-2619 is a related issue.

Thanks,
moon

On Thu, Jul 5, 2018 at 9:40 AM Jeff Zhang <zjf...@gmail.com> wrote:

> This is a known issue. I also thought about it for a while.  Actually,
> starting zeppelin don't need to load all notes, just loading the metadata
> (note name) is enough. However, the note metadata is stored in note file if
> you using filesystem to store notes. So whatever, you have to read the
> note.json for the metadata. I have 2 approaches in my mind for this issue.
>
> 1.  Use the note name as the note file name instead of using note.json for
> all notes. This require changes in the notebookrepo, also cause effort and
> risk when user upgrade zeppelin.
> 2. Store the metadata in another place. So user can just read the metadata
> when restarting zeppelin. But in this case we have to make sure the
> consistency between the notebookrepp and metadata store.
>
> Personally I prefer using approach 1 as long term solution. Welcome any
> comments.
>
>
>
> Mohit Jaggi <mohitja...@gmail.com>于2018年7月5日周四 上午6:32写道:
>
>> I have noticed it too and it is annoying. However, asynchronous loading
>> might not be the solution you want. I want to choose the notebook to open
>> from the list Z shows me. So I am blocked on it anyway. I think that the
>> loading is asynchronous anyway because several times I have seen that I
>> have to keep reloading my page until my notebook list appears.
>>
>> What we need is for Z to load the metadata for notebooks (like names etc)
>> quickly. Optimizing that code might help.
>>
>> > On Jul 4, 2018, at 2:56 PM, Jhon Anderson Cardenas Diaz <
>> jhonderson2...@gmail.com> wrote:
>> >
>> > Hi!.
>> >
>> > Right now the Zeppelin starting time depends directly on the time it
>> takes to load the notebooks from the repository. If the user has a lot of
>> notebooks (ex more than 1000), the starting time starts to be too long.
>> >
>> > Is there some plan to re implement this notebooks loading so that it is
>> done asynchronously?. Or this is not a problem for zeppelin users.
>> >
>> > Thanks.
>>
>>

Reply via email to