You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Raghu Angadi (JIRA)" <ji...@apache.org> on 2008/10/01 20:03:44 UTC

[jira] Created: (HADOOP-4325) Hadoop SocketInputStream.read() should return -1 in case of EOF.

Hadoop SocketInputStream.read() should return -1 in case of EOF.
----------------------------------------------------------------

                 Key: HADOOP-4325
                 URL: https://issues.apache.org/jira/browse/HADOOP-4325
             Project: Hadoop Core
          Issue Type: Bug
          Components: io
    Affects Versions: 0.17.0
            Reporter: Raghu Angadi
            Assignee: Raghu Angadi
            Priority: Minor
             Fix For: 0.20.0


{{org.apache.hadoop.net.SocketInputStream.read()}} should return -1 when underlying read returns -1.


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


[jira] Updated: (HADOOP-4325) Hadoop SocketInputStream.read() should return -1 in case of EOF.

Posted by "Raghu Angadi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-4325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raghu Angadi updated HADOOP-4325:
---------------------------------

      Resolution: Fixed
    Release Note: SocketInputStream.read() should return -1 in case EOF.
          Status: Resolved  (was: Patch Available)

SocketInputStream.read() should return -1 in case EOF.

> Hadoop SocketInputStream.read() should return -1 in case of EOF.
> ----------------------------------------------------------------
>
>                 Key: HADOOP-4325
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4325
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.17.0
>            Reporter: Raghu Angadi
>            Assignee: Raghu Angadi
>            Priority: Minor
>             Fix For: 0.20.0
>
>         Attachments: HADOOP-4325.patch
>
>
> {{org.apache.hadoop.net.SocketInputStream.read()}} should return -1 when underlying read returns -1.

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


[jira] Commented: (HADOOP-4325) Hadoop SocketInputStream.read() should return -1 in case of EOF.

Posted by "Raghu Angadi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636703#action_12636703 ] 

Raghu Angadi commented on HADOOP-4325:
--------------------------------------

I just committed this. The test failed is a known issue.

> Hadoop SocketInputStream.read() should return -1 in case of EOF.
> ----------------------------------------------------------------
>
>                 Key: HADOOP-4325
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4325
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.17.0
>            Reporter: Raghu Angadi
>            Assignee: Raghu Angadi
>            Priority: Minor
>             Fix For: 0.20.0
>
>         Attachments: HADOOP-4325.patch
>
>
> {{org.apache.hadoop.net.SocketInputStream.read()}} should return -1 when underlying read returns -1.

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


[jira] Updated: (HADOOP-4325) Hadoop SocketInputStream.read() should return -1 in case of EOF.

Posted by "Robert Chansler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-4325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Chansler updated HADOOP-4325:
------------------------------------

    Release Note:   (was: SocketInputStream.read() should return -1 in case EOF.)

No published release note for "just a bug".

> Hadoop SocketInputStream.read() should return -1 in case of EOF.
> ----------------------------------------------------------------
>
>                 Key: HADOOP-4325
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4325
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.17.0
>            Reporter: Raghu Angadi
>            Assignee: Raghu Angadi
>            Priority: Minor
>             Fix For: 0.20.0
>
>         Attachments: HADOOP-4325.patch
>
>
> {{org.apache.hadoop.net.SocketInputStream.read()}} should return -1 when underlying read returns -1.

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


[jira] Commented: (HADOOP-4325) Hadoop SocketInputStream.read() should return -1 in case of EOF.

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636209#action_12636209 ] 

Hairong Kuang commented on HADOOP-4325:
---------------------------------------

+1. The patch looks good.

> Hadoop SocketInputStream.read() should return -1 in case of EOF.
> ----------------------------------------------------------------
>
>                 Key: HADOOP-4325
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4325
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.17.0
>            Reporter: Raghu Angadi
>            Assignee: Raghu Angadi
>            Priority: Minor
>             Fix For: 0.20.0
>
>         Attachments: HADOOP-4325.patch
>
>
> {{org.apache.hadoop.net.SocketInputStream.read()}} should return -1 when underlying read returns -1.

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


[jira] Updated: (HADOOP-4325) Hadoop SocketInputStream.read() should return -1 in case of EOF.

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-4325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hairong Kuang updated HADOOP-4325:
----------------------------------

    Hadoop Flags: [Reviewed]
          Status: Patch Available  (was: Open)

> Hadoop SocketInputStream.read() should return -1 in case of EOF.
> ----------------------------------------------------------------
>
>                 Key: HADOOP-4325
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4325
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.17.0
>            Reporter: Raghu Angadi
>            Assignee: Raghu Angadi
>            Priority: Minor
>             Fix For: 0.20.0
>
>         Attachments: HADOOP-4325.patch
>
>
> {{org.apache.hadoop.net.SocketInputStream.read()}} should return -1 when underlying read returns -1.

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


[jira] Commented: (HADOOP-4325) Hadoop SocketInputStream.read() should return -1 in case of EOF.

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636825#action_12636825 ] 

Hudson commented on HADOOP-4325:
--------------------------------

Integrated in Hadoop-trunk #623 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/623/])
    . SocketInputStream.read() should return -1 in case EOF.
(Raghu Angadi)


> Hadoop SocketInputStream.read() should return -1 in case of EOF.
> ----------------------------------------------------------------
>
>                 Key: HADOOP-4325
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4325
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.17.0
>            Reporter: Raghu Angadi
>            Assignee: Raghu Angadi
>            Priority: Minor
>             Fix For: 0.20.0
>
>         Attachments: HADOOP-4325.patch
>
>
> {{org.apache.hadoop.net.SocketInputStream.read()}} should return -1 when underlying read returns -1.

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


[jira] Commented: (HADOOP-4325) Hadoop SocketInputStream.read() should return -1 in case of EOF.

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636291#action_12636291 ] 

Hadoop QA commented on HADOOP-4325:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12391300/HADOOP-4325.patch
  against trunk revision 700997.

    +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 warnings.

    +1 Eclipse classpath. The patch retains Eclipse classpath integrity.

    -1 core tests.  The patch failed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3420/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3420/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3420/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3420/console

This message is automatically generated.

> Hadoop SocketInputStream.read() should return -1 in case of EOF.
> ----------------------------------------------------------------
>
>                 Key: HADOOP-4325
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4325
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.17.0
>            Reporter: Raghu Angadi
>            Assignee: Raghu Angadi
>            Priority: Minor
>             Fix For: 0.20.0
>
>         Attachments: HADOOP-4325.patch
>
>
> {{org.apache.hadoop.net.SocketInputStream.read()}} should return -1 when underlying read returns -1.

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


[jira] Updated: (HADOOP-4325) Hadoop SocketInputStream.read() should return -1 in case of EOF.

Posted by "Raghu Angadi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-4325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raghu Angadi updated HADOOP-4325:
---------------------------------

    Attachment: HADOOP-4325.patch

> Hadoop SocketInputStream.read() should return -1 in case of EOF.
> ----------------------------------------------------------------
>
>                 Key: HADOOP-4325
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4325
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.17.0
>            Reporter: Raghu Angadi
>            Assignee: Raghu Angadi
>            Priority: Minor
>             Fix For: 0.20.0
>
>         Attachments: HADOOP-4325.patch
>
>
> {{org.apache.hadoop.net.SocketInputStream.read()}} should return -1 when underlying read returns -1.

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