Uh oh!
There was an error while loading. Please reload this page.
0.7.1 with ssl - #2238
Conversation
Leemoonsoo
commented
Apr 22, 2017
Thanks @alourie for the contribution Let me know if you have any problem on setting up CI. |
alourie
commented
Apr 22, 2017
Hi @Leemoonsoo! I have it in my task list, will get to it probably next week. Thanks! |
Signed-off-by: Alex Lourie <djay.il@gmail.com>
instaclustr-oss
commented
Jul 12, 2017
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! |
Leemoonsoo
commented
Jul 12, 2017
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! |
Leemoonsoo
commented
Jul 13, 2017
Looks like code need to handle null return of |
Signed-off-by: Alex Lourie <djay.il@gmail.com>
alourie
commented
Jul 13, 2017
@Leemoonsoo oh wow, who knew. So now it works. All checks passed :-) Thanks for the help! |
Leemoonsoo
commented
Jul 13, 2017
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. |
alourie
commented
Jul 14, 2017
@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 <djay.il@gmail.com> Author: Robert Marshall <robertmarshall@Instaclustrs-MacBook-Pro.local> 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).