[
https://issues.apache.org/jira/browse/HADOOP-7301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13035626#comment-13035626
]
Eli Collins commented on HADOOP-7301:
-------------------------------------
Let's add a comment similar to the one FSDataOutputStream#getWrappredStream.
Otherwise looks good.
{noformat}
// Returns the underlying output stream. This is used by unit tests.
{noformat}
> FSDataInputStream should expose a getWrappedStream method
> ---------------------------------------------------------
>
> Key: HADOOP-7301
> URL: https://issues.apache.org/jira/browse/HADOOP-7301
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: Jonathan Hsieh
> Assignee: Jonathan Hsieh
> Fix For: 0.23.0
>
> Attachments: hadoop-7301.patch
>
>
> Ideally FSDataInputStream should expose a getWrappedStream method similarly
> to how FSDataOutputStream exposes a getWrappedStream method. Exposing this
> is useful for verifying correctness in tests cases. This FSDataInputStream
> type is the class that the o.a.h.fs.FileSystem.open call returns.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira