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/01/26 05:23:34 UTC

[jira] Created: (HADOOP-2717) NPE while closing file.

NPE while closing file.
-----------------------

                 Key: HADOOP-2717
                 URL: https://issues.apache.org/jira/browse/HADOOP-2717
             Project: Hadoop Core
          Issue Type: Bug
    Affects Versions: 0.16.0
            Reporter: Raghu Angadi
             Fix For: 0.16.0


Saw this NPE in one of the hudson builds : 
{code}
java.lang.NullPointerException
	at org.apache.hadoop.dfs.DFSClient$DFSOutputStream.close(DFSClient.java:2277)
	at org.apache.hadoop.fs.FSDataOutputStream$PositionCache.close(FSDataOutputStream.java:51)
	at org.apache.hadoop.fs.FSDataOutputStream.close(FSDataOutputStream.java:67)
	at org.apache.hadoop.dfs.TestCheckpoint.writeFile(TestCheckpoint.java:49)
	at org.apache.hadoop.dfs.TestCheckpoint.testSecondaryNamenodeError2(TestCheckpoint.java:231)
	at org.apache.hadoop.dfs.TestCheckpoint.testCheckpoint(TestCheckpoint.java:412)
{code}
{code}
        if (response != null) {
          response.join(); // line 2277
        }
{code}




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


[jira] Updated: (HADOOP-2717) NPE while closing file.

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

Raghu Angadi updated HADOOP-2717:
---------------------------------

    Component/s: dfs

> NPE while closing file.
> -----------------------
>
>                 Key: HADOOP-2717
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2717
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.16.0
>            Reporter: Raghu Angadi
>             Fix For: 0.16.0
>
>
> Saw this NPE in one of the hudson builds : 
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.dfs.DFSClient$DFSOutputStream.close(DFSClient.java:2277)
> 	at org.apache.hadoop.fs.FSDataOutputStream$PositionCache.close(FSDataOutputStream.java:51)
> 	at org.apache.hadoop.fs.FSDataOutputStream.close(FSDataOutputStream.java:67)
> 	at org.apache.hadoop.dfs.TestCheckpoint.writeFile(TestCheckpoint.java:49)
> 	at org.apache.hadoop.dfs.TestCheckpoint.testSecondaryNamenodeError2(TestCheckpoint.java:231)
> 	at org.apache.hadoop.dfs.TestCheckpoint.testCheckpoint(TestCheckpoint.java:412)
> {code}
> {code}
>         if (response != null) {
>           response.join(); // line 2277
>         }
> {code}

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


[jira] Updated: (HADOOP-2717) NPE while closing file.

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

dhruba borthakur updated HADOOP-2717:
-------------------------------------

    Attachment: closeNPe.patch

This fix is also part of the bugfix for HADOOP-2713

> NPE while closing file.
> -----------------------
>
>                 Key: HADOOP-2717
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2717
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.16.0
>            Reporter: Raghu Angadi
>             Fix For: 0.16.0
>
>         Attachments: closeNPe.patch
>
>
> Saw this NPE in one of the hudson builds : 
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.dfs.DFSClient$DFSOutputStream.close(DFSClient.java:2277)
> 	at org.apache.hadoop.fs.FSDataOutputStream$PositionCache.close(FSDataOutputStream.java:51)
> 	at org.apache.hadoop.fs.FSDataOutputStream.close(FSDataOutputStream.java:67)
> 	at org.apache.hadoop.dfs.TestCheckpoint.writeFile(TestCheckpoint.java:49)
> 	at org.apache.hadoop.dfs.TestCheckpoint.testSecondaryNamenodeError2(TestCheckpoint.java:231)
> 	at org.apache.hadoop.dfs.TestCheckpoint.testCheckpoint(TestCheckpoint.java:412)
> {code}
> {code}
>         if (response != null) {
>           response.join(); // line 2277
>         }
> {code}

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


[jira] Updated: (HADOOP-2717) NPE while closing file.

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

Nigel Daley updated HADOOP-2717:
--------------------------------

    Fix Version/s:     (was: 0.16.0)

> NPE while closing file.
> -----------------------
>
>                 Key: HADOOP-2717
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2717
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.16.0
>            Reporter: Raghu Angadi
>            Assignee: dhruba borthakur
>         Attachments: closeNPe.patch
>
>
> Saw this NPE in one of the hudson builds : 
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.dfs.DFSClient$DFSOutputStream.close(DFSClient.java:2277)
> 	at org.apache.hadoop.fs.FSDataOutputStream$PositionCache.close(FSDataOutputStream.java:51)
> 	at org.apache.hadoop.fs.FSDataOutputStream.close(FSDataOutputStream.java:67)
> 	at org.apache.hadoop.dfs.TestCheckpoint.writeFile(TestCheckpoint.java:49)
> 	at org.apache.hadoop.dfs.TestCheckpoint.testSecondaryNamenodeError2(TestCheckpoint.java:231)
> 	at org.apache.hadoop.dfs.TestCheckpoint.testCheckpoint(TestCheckpoint.java:412)
> {code}
> {code}
>         if (response != null) {
>           response.join(); // line 2277
>         }
> {code}

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


[jira] Resolved: (HADOOP-2717) NPE while closing file.

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

dhruba borthakur resolved HADOOP-2717.
--------------------------------------

    Resolution: Duplicate
      Assignee: dhruba borthakur

This patch has been submitted as part of HADOOP-2713.

> NPE while closing file.
> -----------------------
>
>                 Key: HADOOP-2717
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2717
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.16.0
>            Reporter: Raghu Angadi
>            Assignee: dhruba borthakur
>             Fix For: 0.16.0
>
>         Attachments: closeNPe.patch
>
>
> Saw this NPE in one of the hudson builds : 
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.dfs.DFSClient$DFSOutputStream.close(DFSClient.java:2277)
> 	at org.apache.hadoop.fs.FSDataOutputStream$PositionCache.close(FSDataOutputStream.java:51)
> 	at org.apache.hadoop.fs.FSDataOutputStream.close(FSDataOutputStream.java:67)
> 	at org.apache.hadoop.dfs.TestCheckpoint.writeFile(TestCheckpoint.java:49)
> 	at org.apache.hadoop.dfs.TestCheckpoint.testSecondaryNamenodeError2(TestCheckpoint.java:231)
> 	at org.apache.hadoop.dfs.TestCheckpoint.testCheckpoint(TestCheckpoint.java:412)
> {code}
> {code}
>         if (response != null) {
>           response.join(); // line 2277
>         }
> {code}

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