You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Kevin Minder (JIRA)" <ji...@apache.org> on 2015/05/21 17:55:18 UTC

[jira] [Resolved] (KNOX-544) Knox process does not exit if startup fails due to credential store issues

     [ https://issues.apache.org/jira/browse/KNOX-544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Minder resolved KNOX-544.
-------------------------------
    Resolution: Fixed

> Knox process does not exit if startup fails due to credential store issues
> --------------------------------------------------------------------------
>
>                 Key: KNOX-544
>                 URL: https://issues.apache.org/jira/browse/KNOX-544
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 0.5.0
>            Reporter: Kevin Minder
>            Assignee: Kevin Minder
>             Fix For: 0.7.0
>
>
> If there is an issue with the credential store configuration the Knox server process will remain even though the server itself isn't functional.  The error that  will be shown in the logs is this.
> {code}
> 2015-05-15 15:34:21,745 FATAL hadoop.gateway (GatewayServer.java:startGateway(234)) - Failed to start gateway: java.security.UnrecoverableKeyException: Cannot recover key
> {code}
> This can be reproduced by:
> # Installing the server (ant install-test-home)
> # Starting the server (bin/gateway.sh start)
> # Stopping the server (bin/gateway.sh stop)
> # Renaming __gateway-credentials.jceks (mv data/security/keystores/__gateway-credentials.jceks data/security/keystores/__gateway-credentials.jceks_)
> # Starting the server (bin/gateway.sh start)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)