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

hadoop.security.key.provider.path is not documented.

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.7.2, 3.0.0-alpha1
    • Fix Version/s: None
    • Component/s: kms
    • Labels:
      None

      Description

      The "Transparent Encryption in HDFS" page does not tell about this, but hdfs crypto operations failed with the below error.

      There are no valid KeyProviders configured. No key
      was created. You can use the -provider option to specify
      a provider to use.
      

      I have found hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/crypto/key/KeyProviderFactory.java uses this parameter.
      By setting this parameter in core-site.xml, hdfs crypto commands runs successfully.

        Attachments

        1. HADOOP-12778.1.patch
          2 kB
          Takashi Ohnishi

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bwtakacy Takashi Ohnishi

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment