Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-3636

Add timeout for s3 amazon bucket endpoint

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.8.0
    • 0.9.0
    • zeppelin-zengine
    • None

    Description

      If there is no connection to amazonaws, app will wait for 2 minutes during setup:

      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}
      

      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.

      Attachments

        Issue Links

          Activity

            People

              egorklimov George Klimov
              egorklimov George Klimov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: