You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by Nixon Rodrigues <ni...@freestoneinfotech.com> on 2019/10/21 12:35:28 UTC

Review Request 71640: ATLAS-3481:Hive Hook fails with "org.apache.kafka.common.KafkaException: Failed to load SSL keystore"

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/71640/
-----------------------------------------------------------

Review request for atlas, Ashutosh Mestry, Madhan Neethiraj, Mehul Parikh, and Sarath Subramanian.


Bugs: ATLAS-3481
    https://issues.apache.org/jira/browse/ATLAS-3481


Repository: atlas


Description
-------

Problem:- Kafka Producer was failing in SSL env since truststore passsword was not set correctly from jckes crendential providor file.

This patch provide fix to getPassword truststore.password value from crendential providor set with key "cert.stores.credential.provider.path".


Diffs
-----

  intg/src/main/java/org/apache/atlas/security/SecurityUtil.java PRE-CREATION 
  notification/src/main/java/org/apache/atlas/kafka/KafkaNotification.java 46c68be1f 
  webapp/src/main/java/org/apache/atlas/web/service/SecureEmbeddedServer.java 4ee8526c9 


Diff: https://reviews.apache.org/r/71640/diff/1/


Testing
-------

Tested Atlas at hive hook for kafka producer and Atlas for kafka consumer in SSL and kerberos+ssl env.

PC - https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/1481/console


Thanks,

Nixon Rodrigues


Re: Review Request 71640: ATLAS-3481:Hive Hook fails with "org.apache.kafka.common.KafkaException: Failed to load SSL keystore"

Posted by Madhan Neethiraj <ma...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/71640/#review218302
-----------------------------------------------------------


Ship it!




Ship It!

- Madhan Neethiraj


On Oct. 21, 2019, 12:35 p.m., Nixon Rodrigues wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/71640/
> -----------------------------------------------------------
> 
> (Updated Oct. 21, 2019, 12:35 p.m.)
> 
> 
> Review request for atlas, Ashutosh Mestry, Madhan Neethiraj, Mehul Parikh, and Sarath Subramanian.
> 
> 
> Bugs: ATLAS-3481
>     https://issues.apache.org/jira/browse/ATLAS-3481
> 
> 
> Repository: atlas
> 
> 
> Description
> -------
> 
> Problem:- Kafka Producer was failing in SSL env since truststore passsword was not set correctly from jckes crendential providor file.
> 
> This patch provide fix to getPassword truststore.password value from crendential providor set with key "cert.stores.credential.provider.path".
> 
> 
> Diffs
> -----
> 
>   intg/src/main/java/org/apache/atlas/security/SecurityUtil.java PRE-CREATION 
>   notification/src/main/java/org/apache/atlas/kafka/KafkaNotification.java 46c68be1f 
>   webapp/src/main/java/org/apache/atlas/web/service/SecureEmbeddedServer.java 4ee8526c9 
> 
> 
> Diff: https://reviews.apache.org/r/71640/diff/1/
> 
> 
> Testing
> -------
> 
> Tested Atlas at hive hook for kafka producer and Atlas for kafka consumer in SSL and kerberos+ssl env.
> 
> PC - https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/1481/console
> 
> 
> Thanks,
> 
> Nixon Rodrigues
> 
>


Re: Review Request 71640: ATLAS-3481:Hive Hook fails with "org.apache.kafka.common.KafkaException: Failed to load SSL keystore"

Posted by Sarath Subramanian <sa...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/71640/#review218303
-----------------------------------------------------------


Ship it!




Ship It!

- Sarath Subramanian


On Oct. 21, 2019, 5:35 a.m., Nixon Rodrigues wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/71640/
> -----------------------------------------------------------
> 
> (Updated Oct. 21, 2019, 5:35 a.m.)
> 
> 
> Review request for atlas, Ashutosh Mestry, Madhan Neethiraj, Mehul Parikh, and Sarath Subramanian.
> 
> 
> Bugs: ATLAS-3481
>     https://issues.apache.org/jira/browse/ATLAS-3481
> 
> 
> Repository: atlas
> 
> 
> Description
> -------
> 
> Problem:- Kafka Producer was failing in SSL env since truststore passsword was not set correctly from jckes crendential providor file.
> 
> This patch provide fix to getPassword truststore.password value from crendential providor set with key "cert.stores.credential.provider.path".
> 
> 
> Diffs
> -----
> 
>   intg/src/main/java/org/apache/atlas/security/SecurityUtil.java PRE-CREATION 
>   notification/src/main/java/org/apache/atlas/kafka/KafkaNotification.java 46c68be1f 
>   webapp/src/main/java/org/apache/atlas/web/service/SecureEmbeddedServer.java 4ee8526c9 
> 
> 
> Diff: https://reviews.apache.org/r/71640/diff/1/
> 
> 
> Testing
> -------
> 
> Tested Atlas at hive hook for kafka producer and Atlas for kafka consumer in SSL and kerberos+ssl env.
> 
> PC - https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/1481/console
> 
> 
> Thanks,
> 
> Nixon Rodrigues
> 
>