You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Baptiste Meynier (Jira)" <ji...@apache.org> on 2022/01/07 12:02:00 UTC

[jira] [Created] (ZEPPELIN-5626) I would like to use https protocol for Elasticsearch Interpreter

Baptiste Meynier created ZEPPELIN-5626:
------------------------------------------

             Summary: I would like to use https protocol for Elasticsearch Interpreter
                 Key: ZEPPELIN-5626
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-5626
             Project: Zeppelin
          Issue Type: Improvement
          Components: interpreter-setting
    Affects Versions: 0.10.0
            Reporter: Baptiste Meynier


On [ElasticsearchInterpreter.java|https://github.com/apache/zeppelin/blob/ee3fe5e7e2c8be68213328bf48bb57893caf4e6f/elasticsearch/src/main/java/org/apache/zeppelin/elasticsearch/ElasticsearchInterpreter.java#L127] there is a conditionnal on elasticsearch.client.type.

When http is set, class [HttpBaseClient |https://github.com/apache/zeppelin/blob/ee3fe5e7e2c8be68213328bf48bb57893caf4e6f/elasticsearch/src/main/java/org/apache/zeppelin/elasticsearch/client/HttpBasedClient.java#L102]is call.

Inside getUrl method there is the following code: 
{code:java}
buffer.append("http://").append(host)... //line 105 {code}
Maybe it should be better to get value coming from propertie value elasticsearch.client.type ?

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)