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

Improve error handling around SSL configs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 2.6.0
    • Impala 2.7.0
    • Distributed Exec
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: