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 "Jonathan Hsieh (JIRA)" <ji...@apache.org> on 2011/05/18 20:00:48 UTC
[jira] [Created] (HADOOP-7301) FSDataInputStream should expose a
getWrappedStream method
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
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
[jira] [Assigned] (HADOOP-7301) FSDataInputStream should expose a
getWrappedStream method
Posted by "Jonathan Hsieh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Hsieh reassigned HADOOP-7301:
--------------------------------------
Assignee: Jonathan Hsieh
> 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
[jira] [Updated] (HADOOP-7301) FSDataInputStream should expose a
getWrappedStream method
Posted by "Jonathan Hsieh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Hsieh updated HADOOP-7301:
-----------------------------------
Status: Patch Available (was: Open)
> 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
[jira] [Updated] (HADOOP-7301) FSDataInputStream should expose a
getWrappedStream method
Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eli Collins updated HADOOP-7301:
--------------------------------
Resolution: Fixed
Hadoop Flags: [Reviewed]
Status: Resolved (was: Patch Available)
I've committed this. Thanks Jon!
> 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.2.patch, 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
[jira] [Updated] (HADOOP-7301) FSDataInputStream should expose a
getWrappedStream method
Posted by "Jonathan Hsieh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Hsieh updated HADOOP-7301:
-----------------------------------
Attachment: hadoop-7301.patch
> 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
> 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
[jira] [Commented] (HADOOP-7301) FSDataInputStream should expose a
getWrappedStream method
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13036178#comment-13036178 ]
Hudson commented on HADOOP-7301:
--------------------------------
Integrated in Hadoop-Common-trunk #693 (See [https://builds.apache.org/hudson/job/Hadoop-Common-trunk/693/])
HADOOP-7301. FSDataInputStream should expose a getWrappedStream method. Contributed by Jonathan Hsieh
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1124406
Files :
* /hadoop/common/trunk/CHANGES.txt
* /hadoop/common/trunk/src/java/org/apache/hadoop/fs/FSDataInputStream.java
* /hadoop/common/trunk/src/test/core/org/apache/hadoop/fs/FSMainOperationsBaseTest.java
> 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.2.patch, 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
[jira] [Commented] (HADOOP-7301) FSDataInputStream should expose a
getWrappedStream method
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13035702#comment-13035702 ]
Tsz Wo (Nicholas), SZE commented on HADOOP-7301:
------------------------------------------------
Hi Jon, either reverting the committed patch and reopening this, or fixing it in a new jira is fine. Thanks for the fast response.
> 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.2.patch, 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
[jira] [Commented] (HADOOP-7301) FSDataInputStream should expose a
getWrappedStream method
Posted by "Jonathan Hsieh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13035694#comment-13035694 ]
Jonathan Hsieh commented on HADOOP-7301:
----------------------------------------
Nicholas,
The patch seems to be committed now. Let me know how you would like me to proceed: (new patch? incremental patch? new jira?)
Jon.
> 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.2.patch, 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
[jira] [Commented] (HADOOP-7301) FSDataInputStream should expose a
getWrappedStream method
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13035649#comment-13035649 ]
Hudson commented on HADOOP-7301:
--------------------------------
Integrated in Hadoop-Common-trunk-Commit #608 (See [https://builds.apache.org/hudson/job/Hadoop-Common-trunk-Commit/608/])
HADOOP-7301. FSDataInputStream should expose a getWrappedStream method. Contributed by Jonathan Hsieh
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1124406
Files :
* /hadoop/common/trunk/CHANGES.txt
* /hadoop/common/trunk/src/java/org/apache/hadoop/fs/FSDataInputStream.java
* /hadoop/common/trunk/src/test/core/org/apache/hadoop/fs/FSMainOperationsBaseTest.java
> 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.2.patch, 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
[jira] [Updated] (HADOOP-7301) FSDataInputStream should expose a
getWrappedStream method
Posted by "Jonathan Hsieh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Hsieh updated HADOOP-7301:
-----------------------------------
Fix Version/s: 0.23.0
> 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
[jira] [Commented] (HADOOP-7301) FSDataInputStream should expose a
getWrappedStream method
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13035645#comment-13035645 ]
Hadoop QA commented on HADOOP-7301:
-----------------------------------
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12479641/hadoop-7301.2.patch
against trunk revision 1124368.
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 3 new or modified tests.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
+1 core tests. The patch passed core unit tests.
+1 system test framework. The patch passed system test framework compile.
Test results: https://builds.apache.org/hudson/job/PreCommit-HADOOP-Build/472//testReport/
Findbugs warnings: https://builds.apache.org/hudson/job/PreCommit-HADOOP-Build/472//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/hudson/job/PreCommit-HADOOP-Build/472//console
This message is automatically generated.
> 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.2.patch, 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
[jira] [Commented] (HADOOP-7301) FSDataInputStream should expose a
getWrappedStream method
Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13035639#comment-13035639 ]
Eli Collins commented on HADOOP-7301:
-------------------------------------
+1
> 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.2.patch, 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
[jira] [Commented] (HADOOP-7301) FSDataInputStream should expose a
getWrappedStream method
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13035687#comment-13035687 ]
Tsz Wo (Nicholas), SZE commented on HADOOP-7301:
------------------------------------------------
Hi, new public method needs javadoc.
> 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.2.patch, 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
[jira] [Updated] (HADOOP-7301) FSDataInputStream should expose a
getWrappedStream method
Posted by "Jonathan Hsieh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Hsieh updated HADOOP-7301:
-----------------------------------
Attachment: hadoop-7301.2.patch
updated to add requested comment.
> 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.2.patch, 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
[jira] [Commented] (HADOOP-7301) FSDataInputStream should expose a
getWrappedStream method
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13035614#comment-13035614 ]
Hadoop QA commented on HADOOP-7301:
-----------------------------------
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12479628/hadoop-7301.patch
against trunk revision 1124368.
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 3 new or modified tests.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
+1 core tests. The patch passed core unit tests.
+1 system test framework. The patch passed system test framework compile.
Test results: https://builds.apache.org/hudson/job/PreCommit-HADOOP-Build/471//testReport/
Findbugs warnings: https://builds.apache.org/hudson/job/PreCommit-HADOOP-Build/471//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/hudson/job/PreCommit-HADOOP-Build/471//console
This message is automatically generated.
> 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
[jira] [Commented] (HADOOP-7301) FSDataInputStream should expose a
getWrappedStream method
Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
[ 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