Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12777

keystore password file is not looked up in Hadoop's configuration directory.

    XMLWordPrintableJSON

Details

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            bwtakacy Takashi Ohnishi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: