Hi Silvio,

I tried to set ZEPPELIN_NOTEBOOK_DIR inside zeppelin-env.cmd, but this fails 
when zeppelin.cmd starts executing


if not exist %ZEPPELIN_NOTEBOOK_DIR% (
    echo Notebook dir doesn't exist, create %ZEPPELIN_NOTEBOOK_DIR%
    mkdir %ZEPPELIN_NOTEBOOK_DIR%
)

May be once we have a fix for VFS than we can put this configuration there, but 
for now I am keeping it at the end of zeppelin.cmd...

Regards,
Ankur

From: Silvio Fiorito [mailto:silvio.fior...@granturing.com]
Sent: 21 February 2016 10:52 AM
To: Ankur Jain; users@zeppelin.incubator.apache.org
Subject: RE: Unable to start Zeppelin

Hi Ankur,

Glad you were able to get up and running with my patch. You should set the 
ZEPPELIN_NOTEBOOK_DIR value in zeppelin-env.cmd rather than zeppelin.cmd 
though. That way you can keep your settings across releases without worrying 
about them getting overwritten.

I've been working on a few ideas for how to handle the URI issue, but right now 
the easiest is to just explicitly define the absolute URI.

Please let me know if you have any issues with the Windows scripts. I tested 
Hive, Spark, and Flink (very briefly) and they all seemed to work well. Hadoop 
and Hive have a few quirks on Windows. Mainly you need to ensure you have 
winutils.exe in your HADOOP_HOME\bin and you'll need to fix the HDFS 
permissions on the Hive temp dir, which defaults to /tmp/hive. It'll be on the 
root of whichever drive your Zeppelin working dir is, so for instance I run 
Zeppelin from E:\src\incubator-zeppelin, so I have E:\tmp\hive by default. You 
need to run "hdfs dfs -chmod 777 /tmp/hive" from your E: drive. This way Hive 
and Spark SQLContext will work properly.

Thanks,
Silvio

From: Ankur Jain<mailto:ankur.j...@yash.com>
Sent: Saturday, February 20, 2016 11:36 PM
To: 
users@zeppelin.incubator.apache.org<mailto:users@zeppelin.incubator.apache.org>
Subject: RE: Unable to start Zeppelin

Thanks Alex,

For more users below are things I followed to resolve issue at my end...

I am using Windows 7 to run Zeppelin:

I also used patch (cmd files) provided by @granturing 
https://github.com/apache/incubator-zeppelin/pull/734#issuecomment-186653407

I had to manually configure ZEPPELIN_NOTEBOOK_DIR in zeppelin.cmd as below....

set ZEPPELIN_NOTEBOOK_DIR=file:///F:/Zeppelin-new/incubator-zeppelin/notebook
"%ZEPPELIN_RUNNER%" %JAVA_OPTS% -cp %ZEPPELIN_CLASSPATH_OVERRIDES%;%CLASSPATH% 
%ZEPPELIN_SERVER% "%*"



This was required for couple of reasons...
http://stackoverflow.com/questions/7998574/apache-commons-vfs-cannot-resolvefile
https://commons.apache.org/proper/commons-vfs/filesystems.html

[cid:image001.jpg@01D16E1F.4131F690]

[cid:image002.jpg@01D16E1F.4131F690]

Regards,
Ankur

From: Alexander Bezzubov [mailto:b...@apache.org]
Sent: 20 February 2016 05:54 PM
To: 
users@zeppelin.incubator.apache.org<mailto:users@zeppelin.incubator.apache.org>
Subject: Re: Unable to start Zeppelin

Hi Ankur,

Zeppelin has pluggable Notebook storage 
implementation<http://zeppelin.incubator.apache.org/docs/0.6.0-incubating-SNAPSHOT/storage/storage.html>,
 configured i.e though `conf/zeppelin-env.sh` using 'export 
ZEPPELIN_NOTEBOOK_STORAGE="org.apache.zeppelin.notebook.repo.VFSNotebookRepo"' 
(this is a default, so you should see somthing liek `Empty 
ZEPPELIN_NOTEBOOK_STORAGE conf parameter, using default ` in the logs).

In your case it looks like this somehow is not configured properly, so could 
you please check those files and see if that is the case? You can always try 
adding a default one.

Hope this helps!

--
Alex

On Sat, Feb 20, 2016 at 7:20 PM, Ankur Jain 
<ankur.j...@yash.com<mailto:ankur.j...@yash.com>> wrote:
Hello Team,

I am trying to start Zeppelin, but getting below error....
Can you guide me how to resolve it?

                at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
                at 
org.apache.zeppelin.server.ZeppelinServer.main(ZeppelinServer.java:113)
Caused by: java.io.IOException: Requested storage index 0 isn't initialized, 
repository count is 0
                at 
org.apache.zeppelin.notebook.repo.NotebookRepoSync.getRepo(NotebookRepoSync.java:228)
                at 
org.apache.zeppelin.notebook.repo.NotebookRepoSync.list(NotebookRepoSync.java:118)
                at 
org.apache.zeppelin.notebook.Notebook.loadAllNotes(Notebook.java:391)
                at 
org.apache.zeppelin.notebook.Notebook.<init>(Notebook.java:108)
                at 
org.apache.zeppelin.server.ZeppelinServer.<init>(ZeppelinServer.java:87)



Thanks
Ankur
Information transmitted by this e-mail is proprietary to YASH Technologies and/ 
or its Customers and is intended for use only by the individual or entity to 
which it is addressed, and may contain information that is privileged, 
confidential or exempt from disclosure under applicable law. If you are not the 
intended recipient or it appears that this mail has been forwarded to you 
without proper authority, you are notified that any use or dissemination of 
this information in any manner is strictly prohibited. In such cases, please 
notify us immediately at i...@yash.com<mailto:i...@yash.com> and delete this 
mail from your records.

Information transmitted by this e-mail is proprietary to YASH Technologies and/ 
or its Customers and is intended for use only by the individual or entity to 
which it is addressed, and may contain information that is privileged, 
confidential or exempt from disclosure under applicable law. If you are not the 
intended recipient or it appears that this mail has been forwarded to you 
without proper authority, you are notified that any use or dissemination of 
this information in any manner is strictly prohibited. In such cases, please 
notify us immediately at i...@yash.com<mailto:i...@yash.com> and delete this 
mail from your records.
Information transmitted by this e-mail is proprietary to YASH Technologies and/ 
or its Customers and is intended for use only by the individual or entity to 
which it is addressed, and may contain information that is privileged, 
confidential or exempt from disclosure under applicable law. If you are not the 
intended recipient or it appears that this mail has been forwarded to you 
without proper authority, you are notified that any use or dissemination of 
this information in any manner is strictly prohibited. In such cases, please 
notify us immediately at i...@yash.com and delete this mail from your records.

Reply via email to