Uploaded image for project: 'Livy'
  1. Livy
  2. LIVY-81

Gateway timeout if client session takes long to start

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.2
    • 0.2
    • Core
    • None

    Description

      If the session takes a while to start, the client receives a gateway timeout from the Livy server:

      Caused by: java.io.IOException: Gateway Timeout: {"msg":"Gateway timeout"}
              at com.cloudera.livy.client.http.LivyConnection.sendRequest(LivyConnection.java:193)
              at com.cloudera.livy.client.http.LivyConnection.sendJSONRequest(LivyConnection.java:169)
              at com.cloudera.livy.client.http.LivyConnection.post(LivyConnection.java:145)
              at com.cloudera.livy.client.http.HttpClient.<init>(HttpClient.java:67)
      

      It would be better, instead, if the start of a client session was monitored asynchronously, so that the code is less susceptible to these timeouts. If that's too much work, we need to at least figure out the source of this timeout, since it seems to come from the server and I didn't notice anything wrong in the server output.

      Attachments

        Activity

          People

            vanzin Marcelo Masiero Vanzin
            vanzin Marcelo Masiero Vanzin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: