You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Hanisha Koneru (JIRA)" <ji...@apache.org> on 2018/02/06 01:16:00 UTC

[jira] [Created] (HDFS-13109) Support fully qualified hdfs path in "crypto" commands path argument

Hanisha Koneru created HDFS-13109:
-------------------------------------

             Summary: Support fully qualified hdfs path in "crypto" commands path argument
                 Key: HDFS-13109
                 URL: https://issues.apache.org/jira/browse/HDFS-13109
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: hdfs
            Reporter: Hanisha Koneru
            Assignee: Hanisha Koneru


When creating an Encryption Zone in a federated cluster, if the fully qualified path is specified in the path argument, it throws the following error.
{code:java}
~$ hdfs crypto -createZone -keyName mykey1 -path hdfs://ns2/zone2
IllegalArgumentException: hdfs://ns1/zone6 is not the root of an encryption zone. Do you mean /zone6?
{code}
The encryption zone is created successfully but the above error is thrown before the trash directory is created. 
A fully qualified path should be supported by {{crypto}}.





--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org