How can I export to a TLS/SSL secured Hiveserver2?

Comments

3 comments

  • Konsta Danyliuk

    Hello Michael.

    In case HiveServer2 instance you are trying to connect to is configured to serve via SSL, you could introduce the property hive.server2.use.SSL=true at Connection's custom properties.

    Please feel free to open a support ticket if you would need further assistance on this.

    0
    Comment actions Permalink
  • Michael Ahn

    Hi Konsta, thanks for the quick answer. It worked.

    But the certificate of the server is not accepted.

    Can I also set the path and pasword to the trust store?

    0
    Comment actions Permalink
  • Konsta Danyliuk

    Hello Michael.

    I guess you are facing the exception like

    PKIX path building failed SunCertPathBuilderException: unable to find valid certification path to requested target

    In this case it is required to gather SSL certificate from Hive service, add it into Datameer JVM truststore and restart conductor. Below articles describe the process you should follow to gather and add the certificate.

    0
    Comment actions Permalink

Please sign in to leave a comment.