You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2014/09/01 13:25:21 UTC

[jira] [Commented] (HADOOP-11026) add FileSystem contract specification for FSDataInputStream and FSDataOutputStream#isEncrypted

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

Steve Loughran commented on HADOOP-11026:
-----------------------------------------

This looks good, though if there are plans to extend {{FileStatus}} with some encrypted flag, that should be integrated in the spec.

e.g if the status says "encrypted" then the stream's {{isEncrypted()}} flag must  be true, and vice-versa.

This could then be added as a new test for all filesystems, HDFS and non-HDFS.

Also, though it could be a separate JIRA, I'd like to see the contract tests for the Crypto support. HADOOP-11042 shows that it isn't consistent with HDFS, something those tests would have thrown up.

> add FileSystem contract specification for FSDataInputStream and FSDataOutputStream#isEncrypted
> ----------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-11026
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11026
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: documentation, test
>    Affects Versions: 3.0.0, 2.6.0
>            Reporter: Charles Lamb
>            Assignee: Charles Lamb
>            Priority: Minor
>         Attachments: HADOOP-11026-prelim.001.patch, HADOOP-11026.001.patch
>
>
> Following on to HDFS-6843, the contract specification for FSDataInputStream and FSDataOutputStream needs to be updated to reflect the addition of isEncrypted.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)