[ 
https://issues.apache.org/jira/browse/HADOOP-4760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672316#action_12672316
 ] 

Enis Soztutar commented on HADOOP-4760:
---------------------------------------

Yes my eclipse configuration is intentionally this way, since I believe we 
should have the @Override's and imports corrected for ALL of the code.  Doing 
these in a separate issue is a logical option, however I cannot imagine anyone 
doing this for all the java classes, so I tend to be practical and fix the ones 
I change for a patch. 

I can remove the [import,@Override] changes, but I'm afraid I could not find 
time to prepare a patch for them. 

On a related issue I guess the eclipse configurations about import statements 
should be fixed for everybody who develops code for Hadoop, so that the 
statements will be correct in the first place. 


> HDFS streams should not throw exceptions when closed twice
> ----------------------------------------------------------
>
>                 Key: HADOOP-4760
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4760
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: fs/s3
>    Affects Versions: 0.18.4, 0.19.1, 0.20.0, 0.21.0
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Enis Soztutar
>             Fix For: 0.20.0
>
>         Attachments: closehdfsstream_v1.patch, closehdfsstream_v2.patch
>
>
> When adding an {{InputStream}} via {{addResource(InputStream)}} to a 
> {{Configuration}} instance, if the stream is a HDFS stream the 
> {{loadResource(..)}} method fails with {{IOException}} indicating that the 
> stream has already been closed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to