hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-3648) improve singleton handling in DataNode
Date Thu, 26 Jun 2008 14:13:45 GMT

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

Steve Loughran commented on HADOOP-3648:
----------------------------------------

there are a couple of places in the code that assume that Datanode.getDatanode() returns non-null,
both associated with dereferencing the upgrade manager. 

> improve singleton handling in DataNode
> --------------------------------------
>
>                 Key: HADOOP-3648
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3648
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: dfs
>    Affects Versions: 0.19.0
>            Reporter: Steve Loughran
>            Priority: Minor
>
> when a DataNode is constructed, it saves its identity to a static field:
> datanodeObject=this;
> 1. there's no check on what if this is already set
> 2. when the datanode terminates, it may want to set this to null

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


Mime
View raw message