hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Collins (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7301) FSDataInputStream should expose a getWrappedStream method
Date Wed, 18 May 2011 20:04:47 GMT

    [ 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

   // Returns the underlying output stream. This is used by unit tests.

> 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

View raw message