hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Milind Bhandarkar (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-526) datanode lock message causes NullPointerException
Date Tue, 12 Sep 2006 23:30:23 GMT
     [ http://issues.apache.org/jira/browse/HADOOP-526?page=all ]

Milind Bhandarkar updated HADOOP-526:
-------------------------------------

    Attachment: hadoop-526.patch

This patch fixes the issue.

> datanode lock message causes NullPointerException
> -------------------------------------------------
>
>                 Key: HADOOP-526
>                 URL: http://issues.apache.org/jira/browse/HADOOP-526
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.6.0
>            Reporter: Owen O'Malley
>         Assigned To: Milind Bhandarkar
>             Fix For: 0.6.1
>
>         Attachments: hadoop-526.patch
>
>
> If you try to bring up a second datanode in the same directory, you get a NullPointerException.
> Exception in thread "main" java.lang.NullPointerException
>         at org.apache.hadoop.dfs.DataStorage.lock(DataStorage.java:132)
>         at org.apache.hadoop.dfs.DataStorage.<init>(DataStorage.java:72)
>         at org.apache.hadoop.dfs.DataStorage.<init>(DataStorage.java:50)
>         at org.apache.hadoop.dfs.DataNode.<init>(DataNode.java:194)
>         at org.apache.hadoop.dfs.DataNode.<init>(DataNode.java:155)
>         at org.apache.hadoop.dfs.DataNode.makeInstance(DataNode.java:1050)
>         at org.apache.hadoop.dfs.DataNode.run(DataNode.java:984)
>         at org.apache.hadoop.dfs.DataNode.runAndWait(DataNode.java:1013)
>         at org.apache.hadoop.dfs.DataNode.main(DataNode.java:1066)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message