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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to