George Klimov created ZEPPELIN-3636:
---------------------------------------

             Summary: Add timeout for s3 amazon bucket endpoint
                 Key: ZEPPELIN-3636
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-3636
             Project: Zeppelin
          Issue Type: Improvement
          Components: zeppelin-zengine
    Affects Versions: 0.8.0
            Reporter: George Klimov
            Assignee: George Klimov


If there is no connection to amazonaws, app will wait for 2 minutes during 
setup:
{code:java}
INFO [2018-07-13 14:45:19,644] ({main} Helium.java[loadConf]:103) - Add helium 
local registry /opt/zeppelin/product/helium
INFO [2018-07-13 14:45:19,645] ({main} Helium.java[loadConf]:100) - Add helium 
online registry https://s3.amazonaws.com/helium-package/helium.json
ERROR [2018-07-13 14:47:27,098] ({main} HeliumOnlineRegistry.java[getAll]:80) - 
Connect to s3.amazonaws.com:443 [s3.amazonaws.com/54.231.120.10] failed: 
Connection timed out (Connection timed out)
INFO [2018-07-13 14:47:28,104] ({main} ContextHandler.java[doStart]:744) - 
Started 
o.e.j.w.WebAppContext@161479c6{/,file:/opt/zeppelin/product/zeppelin-web/dist/,AVAILABLE}
{code}
Even if Amazon S3 notebook storage wasn't configured Helium goes to 
zeppelin.notebook.s3.endpoint.

It would be nice if we could set timeout for s3 bucket if we know that there is 
no connection to amazonaws.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to