Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-11175

Document uppercase key names are not supported in TransparentEncryption.md

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

Details

    • Reviewed

    Description

      After HADOOP-11311, key names has been restricted and uppercase key names are not allowed. This section of TransparentEncryption.md should be modified.

      1. As the normal user, create a new encryption key
        hadoop key create myKey
      1. As the super user, create a new empty directory and make it an encryption zone
        hadoop fs -mkdir /zone
        hdfs crypto -createZone -keyName myKey -path /zone
      1. chown it to the normal user
        hadoop fs -chown myuser:myuser /zone
      1. As the normal user, put a file in, read it out
        hadoop fs -put helloWorld /zone
        hadoop fs -cat /zone/helloWorld

      "myKey" is not allowed here.

      Attachments

        1. HDFS-11175.001.patch
          0.8 kB
          Yiqun Lin

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            linyiqun Yiqun Lin
            yuanbo Yuanbo Liu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment