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

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

One more thing, does {{isEncrypted()}} issue any guarantees about 
encryptedness. e.g if it is true, does it guarantee that some form of 
non-trivial encryption has been applied?

 Maybe say

The encryption mechanism may be specific to the filesystem and the specific 
installation of the FS; no guarantees of quality can be made. 
{{isEncrypted()==true}} does not guarantee that the file cannot be read by 
others, merely that some form of encryption has been applied.

Similarly {{isEncrypted()==false} does not imply the file is unencrypted —it 
may be a filesystem-wide encryption system such as an encrypted hard drive, an 
encryption that is not visible to the Hadoop FS APIs.

> 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)

Reply via email to