-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[ZEPPELIN-1821] Add HTTP client to elasticsearch interpreter #1902
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Great contribution for elasticsearch interpreter! This PR enables us to support ES 5.0 easily! |
|
@1ambda Can you review this PR deeply? |
|
@bbonnin Recently we have fixed some flaky test on master branch. Could you try rebase and see if CI becomes green? |
|
After rebase, it looks better now, all is green ! |
|
LGTM @1ambda do you have any comment? |
|
When will this be merged? And which release will it be part of? |
|
Works well as described.
there some comments. LGTM except that. |
| private final List<AggWrapper> aggregations = new LinkedList<>(); | ||
|
|
||
|
|
||
| // public ActionResponse source(String source) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we remove this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have removed the commed code lines.
| return succeeded; | ||
| } | ||
|
|
||
| // public String getSource() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comment code lines
|
CI failure looks unrelated, since it only removed commented-out code from last CI success. |
### What is this PR for? Add HTTP client to elasticsearch interpreter. ### What type of PR is it? Feature ### Todos * [X] - Source code * [X] - Tests * [X] - License * [X] - Docs ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-1821 ### How should this be tested? * Start an Elasticsearch node * Configure the elasticsearch interpreter to use http * Create queries in a note using elasticsearch ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? Yes * Is there breaking changes for older versions? No * Does this needs documentation? Yes Author: Bruno Bonnin <[email protected]> Author: Bruno Bonnin <[email protected]> Closes #1902 from bbonnin/master and squashes the following commits: f5a539e [Bruno Bonnin] Remove commented code lines 86153a8 [Bruno Bonnin] Merge remote-tracking branch 'upstream/master' 2e1bbbd [Bruno Bonnin] Merge remote-tracking branch 'upstream/master' 19e888e [Bruno Bonnin] Remove bad code in test 523d155 [Bruno Bonnin] Replace Java 8 methods 6bcf369 [Bruno Bonnin] Fix issue with id containing special chars (/, #) 4e9812e [Bruno Bonnin] Merge elasticsearch/pom.xml 5a96ae0 [Bruno Bonnin] Merge branch 'master' into master e2365fb [Bruno Bonnin] Update elasticsearch/pom.xml 28b9805 [Bruno Bonnin] Update img 549db39 [Bruno Bonnin] Add HTTP client to elasticsearch interpreter f4c5ac3 [Bruno Bonnin] HTTP-based Elasticsearch client (cherry picked from commit e763b3b) Signed-off-by: Mina Lee <[email protected]>
What is this PR for?
Add HTTP client to elasticsearch interpreter.
What type of PR is it?
Feature
Todos
What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-1821
How should this be tested?
Screenshots (if appropriate)
Questions: