It seems like you’ve tried to reuse your keystores between installs.  The only 
thing you should be saving between installs is the conf directory.

From: Aneela Saleem
Reply-To: "[email protected]<mailto:[email protected]>"
Date: Saturday, August 1, 2015 at 5:38 PM
To: "[email protected]<mailto:[email protected]>"
Subject: Re: keystore password

Hi Kevin,

After reinstalling Knox, I don't see any deployments folder.

The gateway.log shows:

2015-08-02 02:33:14,923 INFO  hadoop.gateway 
(GatewayServer.java:handleCreateDeployment(427)) - Deploying topology cluster1 
to /home/hduser/knox-0.6.0/bin/../data/deployments/cluster1.war.14eeb2bef90
2015-08-02 02:33:14,923 INFO  hadoop.gateway 
(DeploymentFactory.java:createDeployment(82)) - Configured services directory 
is /home/hduser/knox-0.6.0/bin/../data/services
2015-08-02 02:33:15,026 ERROR hadoop.gateway 
(BaseKeystoreService.java:isKeystoreAvailable(129)) - Failed to load keystore 
[filename=cluster1-credentials.jceks, type=JCEKS]: java.io.IOException: 
Keystore was tampered with, or password was incorrect
2015-08-02 02:33:15,027 ERROR hadoop.gateway 
(GatewayServer.java:handleCreateDeployment(451)) - Failed to deploy topology 
cluster1: java.lang.RuntimeException: Credential store was found but was unable 
to be loaded - the provided (or persisted) master secret may not match the 
password for the credential store.
2015-08-02 02:33:15,027 INFO  hadoop.gateway (GatewayServer.java:start(317)) - 
Monitoring topologies in directory: 
/home/hduser/knox-0.6.0/bin/../conf/topologies
2015-08-02 02:33:15,028 INFO  hadoop.gateway 
(GatewayServer.java:startGateway(230)) - Started gateway on port 8,443.

I'm unable to deploy the topology now

On Fri, Jul 31, 2015 at 11:27 PM, Aneela Saleem 
<[email protected]<mailto:[email protected]>> wrote:
:-(

On Fri, Jul 31, 2015 at 11:21 PM, Kevin Minder 
<[email protected]<mailto:[email protected]>> wrote:
This password is not recoverable.  Your best bet may be to backup your 
configuration and delete/reinstall Knox.  This will however result in the loss 
of any certificates you may have perviously added to your keystore.

From: Aneela Saleem
Reply-To: "[email protected]<mailto:[email protected]>"
Date: Friday, July 31, 2015 at 2:15 PM
To: "[email protected]<mailto:[email protected]>"
Subject: keystore password

Hi all,

I have forgotten keystore password. I have applied "changeit" but failed.

Can anyone please tell me how to change the keystore password?


Reply via email to