Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-7555

impala-shell can hang in connect in certain cases

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 3.1.0
    • Impala 3.1.0
    • Clients
    • None
    • ghx-label-6

    Description

      1. Open a random listening port using netcat (nc -l 1234). 
      2. When I connect through impala-shell to this port, it hangs in the connect call. I think this is similar to impala-shell connecting a load balancer port and the connection between LB and impala going down.
      3. Connect in impala-shell also calls PingImpalaService which does more than a normal TCP connect and can hang. Since there is no timeout set on this socket, connect can hang in this call.
      4. We should set a timeout on the client socket to prevent hangs during the connect phase of session creation.

      Attachments

        Issue Links

          Activity

            People

              anujphadke Anuj Phadke
              anujphadke Anuj Phadke
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: