Shikha Somani created CALCITE-3335:
--------------------------------------

             Summary: Connecting on ElasticSearch server on HTTPS
                 Key: CALCITE-3335
                 URL: https://issues.apache.org/jira/browse/CALCITE-3335
             Project: Calcite
          Issue Type: Improvement
          Components: elasticsearch-adapter
            Reporter: Shikha Somani


Currently Calcite assumes that elasticsearch server will be exposed on HTTP 
only. So, it initializes HTTP host with default scheme i.e. HTTP. 
[Code|https://github.com/apache/calcite/blob/master/elasticsearch/src/main/java/org/apache/calcite/adapter/elasticsearch/ElasticsearchSchemaFactory.java#L86]

If a ElasticSearch server is on HTTPS, connection to it fails with below 
exception:

Caused by: java.net.UnknownHostException

 

This is evident when trying to connect on AWS ElasticSearchService which is 
exposed only on HTTPS.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to