You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Valentin Odier (JIRA)" <ji...@apache.org> on 2019/03/29 16:38:00 UTC

[jira] [Created] (ZEPPELIN-4099) Elasticsearch interpreter, support HTTPS for HTTP client

Valentin Odier created ZEPPELIN-4099:
----------------------------------------

             Summary: Elasticsearch interpreter, support HTTPS for HTTP client
                 Key: ZEPPELIN-4099
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-4099
             Project: Zeppelin
          Issue Type: Improvement
    Affects Versions: 0.8.1
            Reporter: Valentin Odier


The Elasticsearch interpreter in zeppelin cannot connect in HTTPS.

I think this is linked to this specific line of code : [https://github.com/apache/zeppelin/blob/0b8423c62ae52f3716d4bb63d60762fee6910788/elasticsearch/src/main/java/org/apache/zeppelin/elasticsearch/client/HttpBasedClient.java#L105]

 

Looks like http is hardcoded. My setup doesn't allow HTTP to reach ES (for obvious reasons).

Would be great to support https since password are sent to the Elasticsearch cluster

This was tested using the 0.8.1 docker image.

The error in zeppelin is : Error : com.mashape.unirest.http.exceptions.UnirestException: java.lang.RuntimeException: java.lang.RuntimeException: org.json.JSONException: A JSONArray text must start with '[' at 1 [character 2 line 1] 
This is probably because our proxy refuse the connexion and doesn't respond with a JSON



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)