Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.7.2, 3.0.0-alpha1
-
None
-
None
Description
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.
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
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.