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 "Yi Liu (JIRA)" <ji...@apache.org> on 2014/06/02 08:15:03 UTC

[jira] [Updated] (HADOOP-10653) Add a new constructor for CryptoInputStream that receives current position of wrapped stream.

     [ https://issues.apache.org/jira/browse/HADOOP-10653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yi Liu updated HADOOP-10653:
----------------------------

    Attachment: HADOOP-10653.patch

> Add a new constructor for CryptoInputStream that receives current position of wrapped stream.
> ---------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-10653
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10653
>             Project: Hadoop Common
>          Issue Type: Task
>          Components: security
>    Affects Versions: fs-encryption (HADOOP-10150 and HDFS-6134)
>            Reporter: Yi Liu
>            Assignee: Yi Liu
>             Fix For: fs-encryption (HADOOP-10150 and HDFS-6134)
>
>         Attachments: HADOOP-10653.patch
>
>
> Add a new constructor for {{CryptoInputStream}} that receives current position of wrapped stream.
> In existing constructor, if the InputStream instanceof Seekable, we will get the absolute position using "getPos()" to set current position. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)