Lucas Partridge created ZEPPELIN-464:
----------------------------------------

             Summary: Display user-friendly message if user tries to run the 
unbuilt source rather than the binary distribution of Zeppelin
                 Key: ZEPPELIN-464
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-464
             Project: Zeppelin
          Issue Type: Improvement
          Components: Core
    Affects Versions: 0.5.5
            Reporter: Lucas Partridge
            Priority: Minor


See also 
http://mail-archives.apache.org/mod_mbox/incubator-zeppelin-users/201511.mbox/%3C51A9C002433513488F0C93DCE16A4DE909A59DA3%40CINMBCNA12.e2k.ad.ge.com%3E

It's quite easy to download the source distribution of Zeppelin by mistake 
rather than the binary package at 
https://zeppelin.incubator.apache.org/download.html

Then, if the user tries to run Zeppelin all they get is:
Zeppelin start                                             [  OK  ]
Zeppelin process died                                      [FAILED]

...and this in the logs:
Error: Could not find or load main class 
org.apache.zeppelin.server.ZeppelinServer

It took me quite a while to notice zeppelin-server-0.5.5-incubating.jar was 
missing from ZEPPELIN_HOME. So why not check for the existence of this jar 
before launching Zeppelin in zeppelin-daemon.sh? If the jar's not there a 
meaningful error message could be displayed, such as:

"Please build Zeppelin before running it, or download the binary package."



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to