Chan Ho Lee created ZEPPELIN-6241:
-------------------------------------

             Summary: Fail fast when default web app context fails to 
initialize due to missing resources
                 Key: ZEPPELIN-6241
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-6241
             Project: Zeppelin
          Issue Type: Improvement
          Components: zeppelin-server
            Reporter: Chan Ho Lee
            Assignee: Chan Ho Lee


Currently, the server keeps running even when all web app contexts fail to 
initialize due to missing files or directories for web resources.

 

In my opinion, if the web resource path for the *default* web app context does 
not exist, it would be better to shut down the server immediately, since the 
context initialization will fail anyway. In such cases, other essential 
features like REST APIs and WebSocket communication also won’t work properly, 
so keeping the server running doesn’t seem meaningful.

 

That said, the absence of non-default web resources seems generally acceptable, 
so I think we should only fail fast when the default web app context is missing 
its resources.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to