You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Mahesh Bandal <ma...@gmail.com> on 2020/12/02 19:58:08 UTC

Re: Review Request 73048: RANGER-3092: KMS fails to start with NullPointerException in catalina.out logs

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

(Updated Dec. 2, 2020, 7:58 p.m.)


Review request for ranger, Dhaval Shah, Dineshkumar Yadav, Gautam Borad, Kishor Gollapalliwar, Abhay Kulkarni, Madhan Neethiraj, Mehul Parikh, Pradeep Agrawal, Ramesh Mani, Sailaja Polavarapu, and Velmurugan Periasamy.


Changes
-------

handled absence of command-line argument log4j.configuration.


Bugs: RANGER-3092
    https://issues.apache.org/jira/browse/RANGER-3092


Repository: ranger


Description
-------

Ranger KMS setup.sh executes successfully, however when we try to start KMS service with following command :

./ranger-kms start
It shows "Apache Ranger KMS Service failed to start" and only catalina.out log file is created in ews/logs folder.

Following error at ews/logs/catalina.out file :

Exception in thread "main" java.lang.NullPointerException
 at org.apache.ranger.server.tomcat.EmbeddedServer.<init>(EmbeddedServer.java:94)
 at org.apache.ranger.server.tomcat.EmbeddedServer.main(EmbeddedServer.java:85)


Diffs (updated)
-----

  embeddedwebserver/src/main/java/org/apache/ranger/server/tomcat/EmbeddedServer.java f6d735c30 
  kms/scripts/ranger-kms bfe7bd506 
  tagsync/src/main/java/org/apache/ranger/tagsync/process/TagSynchronizer.java 1b0649f03 
  unixauthservice/src/main/java/org/apache/ranger/authentication/UnixAuthenticationService.java 4d84a9648 


Diff: https://reviews.apache.org/r/73048/diff/2/

Changes: https://reviews.apache.org/r/73048/diff/1-2/


Testing
-------

1. Ranger builds successfully.
2. Ranger Admin and Ranger KMS started successfully


Thanks,

Mahesh Bandal


Re: Review Request 73048: RANGER-3092: KMS fails to start with NullPointerException in catalina.out logs

Posted by Pradeep Agrawal <pr...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/73048/#review222289
-----------------------------------------------------------


Ship it!




Ship It!

- Pradeep Agrawal


On Dec. 2, 2020, 7:58 p.m., Mahesh Bandal wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/73048/
> -----------------------------------------------------------
> 
> (Updated Dec. 2, 2020, 7:58 p.m.)
> 
> 
> Review request for ranger, Dhaval Shah, Dineshkumar Yadav, Gautam Borad, Kishor Gollapalliwar, Abhay Kulkarni, Madhan Neethiraj, Mehul Parikh, Pradeep Agrawal, Ramesh Mani, Sailaja Polavarapu, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-3092
>     https://issues.apache.org/jira/browse/RANGER-3092
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> Ranger KMS setup.sh executes successfully, however when we try to start KMS service with following command :
> 
> ./ranger-kms start
> It shows "Apache Ranger KMS Service failed to start" and only catalina.out log file is created in ews/logs folder.
> 
> Following error at ews/logs/catalina.out file :
> 
> Exception in thread "main" java.lang.NullPointerException
>  at org.apache.ranger.server.tomcat.EmbeddedServer.<init>(EmbeddedServer.java:94)
>  at org.apache.ranger.server.tomcat.EmbeddedServer.main(EmbeddedServer.java:85)
> 
> 
> Diffs
> -----
> 
>   embeddedwebserver/src/main/java/org/apache/ranger/server/tomcat/EmbeddedServer.java f6d735c30 
>   kms/scripts/ranger-kms bfe7bd506 
>   tagsync/src/main/java/org/apache/ranger/tagsync/process/TagSynchronizer.java 1b0649f03 
>   unixauthservice/src/main/java/org/apache/ranger/authentication/UnixAuthenticationService.java 4d84a9648 
> 
> 
> Diff: https://reviews.apache.org/r/73048/diff/2/
> 
> 
> Testing
> -------
> 
> 1. Ranger builds successfully.
> 2. Ranger Admin and Ranger KMS started successfully
> 
> 
> Thanks,
> 
> Mahesh Bandal
> 
>


Re: Review Request 73048: RANGER-3092: KMS fails to start with NullPointerException in catalina.out logs

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


Ship it!




Ship It!

- Madhan Neethiraj


On Dec. 2, 2020, 7:58 p.m., Mahesh Bandal wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/73048/
> -----------------------------------------------------------
> 
> (Updated Dec. 2, 2020, 7:58 p.m.)
> 
> 
> Review request for ranger, Dhaval Shah, Dineshkumar Yadav, Gautam Borad, Kishor Gollapalliwar, Abhay Kulkarni, Madhan Neethiraj, Mehul Parikh, Pradeep Agrawal, Ramesh Mani, Sailaja Polavarapu, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-3092
>     https://issues.apache.org/jira/browse/RANGER-3092
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> Ranger KMS setup.sh executes successfully, however when we try to start KMS service with following command :
> 
> ./ranger-kms start
> It shows "Apache Ranger KMS Service failed to start" and only catalina.out log file is created in ews/logs folder.
> 
> Following error at ews/logs/catalina.out file :
> 
> Exception in thread "main" java.lang.NullPointerException
>  at org.apache.ranger.server.tomcat.EmbeddedServer.<init>(EmbeddedServer.java:94)
>  at org.apache.ranger.server.tomcat.EmbeddedServer.main(EmbeddedServer.java:85)
> 
> 
> Diffs
> -----
> 
>   embeddedwebserver/src/main/java/org/apache/ranger/server/tomcat/EmbeddedServer.java f6d735c30 
>   kms/scripts/ranger-kms bfe7bd506 
>   tagsync/src/main/java/org/apache/ranger/tagsync/process/TagSynchronizer.java 1b0649f03 
>   unixauthservice/src/main/java/org/apache/ranger/authentication/UnixAuthenticationService.java 4d84a9648 
> 
> 
> Diff: https://reviews.apache.org/r/73048/diff/2/
> 
> 
> Testing
> -------
> 
> 1. Ranger builds successfully.
> 2. Ranger Admin and Ranger KMS started successfully
> 
> 
> Thanks,
> 
> Mahesh Bandal
> 
>