Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-1646

Error messages in RangerRESTClient aren't helpful

    XMLWordPrintableJSON

Details

    • Patch

    Description

      Currently, if the user accidentally configures the SSL settings incorrectly, or the keystore/truststore is not exists or not readable, then the user will receive a not too helpful 'SSLContext must not be null' coming from the com.sun.jersey.client.urlconnection.HTTPSProperties

      This happens, because RangerRESTClient.getKeyManagers / getTrustManagers / getSSLContext methods are catching the exceptions, and are returning null, instead of failing fast, so the user could easily act and fix the issues

      Attachments

        Activity

          People

            zsombor Zsombor Gegesy
            zsombor Zsombor Gegesy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: