You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Andrei Sereda (Jira)" <ji...@apache.org> on 2019/09/09 15:55:00 UTC

[jira] [Assigned] (CALCITE-3335) Connecting on ElasticSearch server on HTTPS

     [ https://issues.apache.org/jira/browse/CALCITE-3335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrei Sereda reassigned CALCITE-3335:
--------------------------------------

    Assignee: Andrei Sereda

> 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
>            Assignee: Andrei Sereda
>            Priority: Major
>              Labels: aws, elasticsearch
>
> 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)