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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14554527#comment-14554527 ] 

ASF subversion and git services commented on KNOX-544:
------------------------------------------------------

Commit 43b8b43ba4ba1a9489b09338dfbe2fdfa972dcea in knox's branch refs/heads/master from [~kevin.minder]
[ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=43b8b43 ]

KNOX-544: Knox process does not exit if startup fails due to credential store issues


> 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)