You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Shikha Somani (Jira)" <ji...@apache.org> on 2019/09/09 15:13:00 UTC
[jira] [Created] (CALCITE-3335) Connecting on ElasticSearch server
on HTTPS
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)