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:13:02 UTC

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

Yi Liu created HADOOP-10653:
-------------------------------

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


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)