[ 
https://issues.apache.org/jira/browse/HADOOP-12777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15136141#comment-15136141
 ] 

Takashi Ohnishi commented on HADOOP-12777:
------------------------------------------

Ah, I succeeded by setting CLASSPATH in kms-env.sh like below.

{code}
 export CLASSPATH=$CLASSPATH:/usr/local/hadoop/etc/hadoop/kms.keystore.password
{code}


> keystore password file is not looked up in Hadoop's configuration directory. 
> -----------------------------------------------------------------------------
>
>                 Key: HADOOP-12777
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12777
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: kms
>    Affects Versions: 2.7.2, 3.0.0
>            Reporter: Takashi Ohnishi
>
> The KMS document note that the keystore password file configured by 
> {{hadoop.security.keystore.java-keystore-provider.password-file}} is looked 
> up in Hadoop's configuration directory, but actually it is not.
> If setting it and put the password files on the configured path, KMS fails to 
> start  with the below error.
> {code}
> ERROR: Hadoop KMS could not be started
> REASON: java.io.IOException: Password file does not exists
> Stacktrace:
> ---------------------------------------------------
> java.io.IOException: Password file does not exists
> {code}
> I have found the file can be picked up from 
> {{$HADOOP_PREFIX/share/hadoop/kms/tomcat/webapps/kms/WEB-INF/classes/}}, 
> which seems to be a tomcat classpath.



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

Reply via email to