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-13114) CryptoAdmin#ReencryptZoneCommand should resolve Namespace info from path
Date Thu, 01 Mar 2018 00:25:00 GMT

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

Hanisha Koneru commented on HDFS-13114:
---------------------------------------

Thank you [~xyao] for committing the patch and [~jojochuang] for the review.

> CryptoAdmin#ReencryptZoneCommand should resolve Namespace info from path
> ------------------------------------------------------------------------
>
>                 Key: HDFS-13114
>                 URL: https://issues.apache.org/jira/browse/HDFS-13114
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: encryption, hdfs
>            Reporter: Hanisha Koneru
>            Assignee: Hanisha Koneru
>            Priority: Major
>             Fix For: 3.1.0, 3.0.2, 3.2.0
>
>         Attachments: HDFS-13114.001.patch
>
>
> The {{crypto -reencryptZone <action> -path <zone>}} command takes in a path
argument. But when creating {{HdfsAdmin}} object, it takes the defaultFs instead of resolving
from the path. This causes the following exception if the authority component in path does
not match the authority of default Fs.
> {code:java}
> $ hdfs crypto -reencryptZone -start -path hdfs://mycluster-node-1:8020/zone1
> IllegalArgumentException: Wrong FS: hdfs://mycluster-node-1:8020/zone1, expected: hdfs://ns1{code}
> {code:java}
> $ hdfs crypto -reencryptZone -start -path hdfs://ns2/zone2
> IllegalArgumentException: Wrong FS: hdfs://ns2/zone2, expected: hdfs://ns1{code}



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

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


Mime
View raw message