hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hanisha Koneru (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-13109) Support fully qualified hdfs path in EZ commands
Date Tue, 06 Mar 2018 19:27:00 GMT

    [ https://issues.apache.org/jira/browse/HDFS-13109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16388372#comment-16388372

Hanisha Koneru commented on HDFS-13109:

Thank you [~xyao] and [~shahrs87] for the reviews and discussion.

I have updated patch v05 addressing Rushabh's comments on TestEncryptionZones. 

> Support fully qualified hdfs path in EZ commands
> ------------------------------------------------
>                 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
>            Priority: Major
>         Attachments: HDFS-13109.001.patch, HDFS-13109.002.patch, HDFS-13109.003.patch,
HDFS-13109.004.patch, HDFS-13109.005.patch
> When creating an Encryption Zone, 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://ns1/zone1
> IllegalArgumentException: hdfs://ns1/zone1 is not the root of an encryption zone. Do
you mean /zone1?
> ~$ hdfs crypto -createZone -keyName mykey1 -path "hdfs://namenode:9000/zone2" 
> IllegalArgumentException: hdfs://namenode:9000/zone2 is not the root of an encryption
zone. Do you mean /zone2?
> {code}
> The EZ creation succeeds as the path is resolved in DFS#createEncryptionZone(). But while
creating the Trash directory, the path is not resolved and it throws the above error.
>  A fully qualified path should be supported by {{crypto}}.

This message was sent by Atlassian JIRA

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

View raw message