You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Qiang Zhang <zh...@zte.com.cn> on 2017/02/22 07:17:43 UTC

Review Request 56921: There is a problem in buildks class when delete invalid keystore file.

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

Review request for ranger, Alok Lal, Ankita Sinha, Don Bosco Durai, Colm O hEigeartaigh, Gautam Borad, Madhan Neethiraj, Ramesh Mani, Selvamohan Neethiraj, and Velmurugan Periasamy.


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


Repository: ranger


Description
-------

The system will print the following information when the Keystore file is not exist.
Provider file '/etc/ranger/hadoopdev/cred.jceks' is in invalid state or corrupt!! will try to delete first.

The reason for the error is that the program does not check whether the file exists.


Diffs
-----

  credentialbuilder/src/main/java/org/apache/ranger/credentialapi/buildks.java 7978d8d 

Diff: https://reviews.apache.org/r/56921/diff/


Testing
-------


Thanks,

Qiang Zhang


Re: Review Request 56921: There is a problem in buildks class when delete invalid keystore file.

Posted by Colm O hEigeartaigh <co...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/56921/#review166844
-----------------------------------------------------------


Ship it!




Ship It!

- Colm O hEigeartaigh


On Feb. 22, 2017, 7:17 a.m., Qiang Zhang wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/56921/
> -----------------------------------------------------------
> 
> (Updated Feb. 22, 2017, 7:17 a.m.)
> 
> 
> Review request for ranger, Alok Lal, Ankita Sinha, Don Bosco Durai, Colm O hEigeartaigh, Gautam Borad, Madhan Neethiraj, Ramesh Mani, Selvamohan Neethiraj, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-1403
>     https://issues.apache.org/jira/browse/RANGER-1403
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> The system will print the following information when the Keystore file is not exist.
> Provider file '/etc/ranger/hadoopdev/cred.jceks' is in invalid state or corrupt!! will try to delete first.
> 
> The reason for the error is that the program does not check whether the file exists.
> 
> 
> Diffs
> -----
> 
>   credentialbuilder/src/main/java/org/apache/ranger/credentialapi/buildks.java 7978d8d 
> 
> Diff: https://reviews.apache.org/r/56921/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Qiang Zhang
> 
>


Re: Review Request 56921: There is a problem in buildks class when delete invalid keystore file.

Posted by Qiang Zhang <zh...@zte.com.cn>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/56921/#review167029
-----------------------------------------------------------



The patch of the RANGER-1403 was not submitted to the ranger master repository. So I reopened it. Please resolved the issue first. After the patch was submitted to the ranger master repository, I'll close it again. Thanks.

- Qiang Zhang


On \u4e8c\u6708 22, 2017, 7:17 a.m., Qiang Zhang wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/56921/
> -----------------------------------------------------------
> 
> (Updated \u4e8c\u6708 22, 2017, 7:17 a.m.)
> 
> 
> Review request for ranger, Alok Lal, Ankita Sinha, Don Bosco Durai, Colm O hEigeartaigh, Gautam Borad, Madhan Neethiraj, Ramesh Mani, Selvamohan Neethiraj, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-1403
>     https://issues.apache.org/jira/browse/RANGER-1403
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> The system will print the following information when the Keystore file is not exist.
> Provider file '/etc/ranger/hadoopdev/cred.jceks' is in invalid state or corrupt!! will try to delete first.
> 
> The reason for the error is that the program does not check whether the file exists.
> 
> 
> Diffs
> -----
> 
>   credentialbuilder/src/main/java/org/apache/ranger/credentialapi/buildks.java 7978d8d 
> 
> Diff: https://reviews.apache.org/r/56921/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Qiang Zhang
> 
>