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

Improve error handling around SSL configs

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Impala 2.6.0
    • Fix Version/s: Impala 2.7.0
    • Component/s: Distributed Exec
    • Labels:
      None

      Description

      In ThriftClientImpl, if loadTrustedCertificates fails, that means an unrecoverable configuration error. Right now we don't acknowledge that in OpenWithRetry(), and just iterate ten times by default. Instead, we should change OpenWithRetry() to check socket_create_status_ up front, and return a status error message before trying to ever call connect().

      That might avoid a crash that we've seen during Open() where the SSL configuration was bad.

        Attachments

          Activity

            People

            • Assignee:
              henryr Henry Robinson
              Reporter:
              henryr Henry Robinson
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: