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

Exception message is not printed when creating an encryption zone fails with AuthorizationException

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

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0
    • 3.1.0, 2.10.0, 3.0.1
    • encryption
    • None
    • Reviewed

    Description

      When I add the following configuration to the kms-acl.xml file, I create encrypted space and I can not get any exception information.
      <property>
      <name>key.acl.key2.GENERATE_EEK</name>
      <value>mr</value>
      </property>

      root@fangzhenyi01:~# hdfs crypto -createZone -keyName key2 -path /zone
      2018-01-02 10:41:44,632 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
      RemoteException:
      root@fangzhenyi01:~#

      Attachments

        1. HDFS-12974.001.patch
          2 kB
          fang zhenyi
        2. HDFS-12974.002.patch
          2 kB
          fang zhenyi
        3. HDFS-12974.003.patch
          5 kB
          fang zhenyi
        4. HDFS-12974.004.patch
          5 kB
          fang zhenyi
        5. HDFS-12974.005.patch
          6 kB
          fang zhenyi
        6. HDFS-12974.006.patch
          6 kB
          fang zhenyi
        7. HDFS-12974.007.patch
          6 kB
          fang zhenyi
        8. HDFS-12974.008.patch
          5 kB
          fang zhenyi
        9. HDFS-12974.009.patch
          6 kB
          fang zhenyi

        Issue Links

        Activity

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

          People

            zhenyi fang zhenyi
            zhenyi fang zhenyi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment