-
Notifications
You must be signed in to change notification settings - Fork 2.8k
0.7.1 with ssl #2238
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
0.7.1 with ssl #2238
Conversation
|
Thanks @alourie for the contribution Let me know if you have any problem on setting up CI. |
|
Hi @Leemoonsoo! I have it in my task list, will get to it probably next week. Thanks! |
Signed-off-by: Alex Lourie <[email protected]>
|
Hi @Leemoonsoo Sorry for taking awhile to setup the CI. Now that I have, I see some jobs fail. What should I do about it? Thanks! |
|
They might be flaky tests. Could you retry failed jobs and see if it goes green? |
|
@Leemoonsoo I've tried to rerun them few times. Only one now fails - build #4; fails with NPE in C* setup/tearDown: https://travis-ci.org/instaclustr/zeppelin/builds/252649615 There's no much more information beyond that. Anything else I could do to move this forward? Thanks! |
|
Looks like code need to handle null return of |
Signed-off-by: Alex Lourie <[email protected]>
|
@Leemoonsoo oh wow, who knew. So now it works. All checks passed :-) Thanks for the help! |
|
LGTM. Merge this PR to master if no further discussions. @alourie Could you let me know your JIRA id? i'd like to mark https://issues.apache.org/jira/browse/ZEPPELIN-1501 resolved with your id as assignee. |
|
@Leemoonsoo my Jira ID is alourie, but please assign it to Rob Marshall, who opened the ticket. He did all the development, I just helped with the PR/CI :-) |
### What is this PR for? The Cassandra Interpreter does not support talking to clusters that use SSL/client to node encryption. It does not have the properties needed to configure the SSL Context. This PR adds the properties to the driver config and sets up the SSL options when they are requested. ### What type of PR is it? Feature ### What is the Jira issue? [ZEPPELIN-1501](https://issues.apache.org/jira/browse/ZEPPELIN-1501) ### How should this be tested? Using Cassandra/CQL interpreter connect to a Cassandra cluster that uses a client to node encryption, i.e: ``` %cassandra describe keyspaces; ``` ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? Yes. The new SSL-related properties should be added to the list (cassandra.ssl.enabled, cassandra.ssl.truststore.path and cassandra.ssl.truststore.password). Author: Alex Lourie <[email protected]> Author: Robert Marshall <[email protected]> Closes #2238 from alourie/0.7.1-withSSL and squashes the following commits: 2a6eee6 [Alex Lourie] Handle potential NPE in properties parsing e9b4769 [Alex Lourie] Fix formatting for CI to pass 521b2d9 [Robert Marshall] Add SSL support to Cassandra interpreter
What is this PR for?
The Cassandra Interpreter does not support talking to clusters that use SSL/client to node encryption. It does not have the properties needed to configure the SSL Context. This PR adds the properties to the driver config and sets up the SSL options when they are requested.
What type of PR is it?
Feature
What is the Jira issue?
ZEPPELIN-1501
How should this be tested?
Using Cassandra/CQL interpreter connect to a Cassandra cluster that uses a client to node encryption, i.e:
Questions:
The new SSL-related properties should be added to the list (cassandra.ssl.enabled, cassandra.ssl.truststore.path and cassandra.ssl.truststore.password).