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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.1.0, 2.10.0, 3.0.1
    • Component/s: encryption
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: