hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-1211) Remove deprecated constructor and unused static members in DataNode class
Date Sat, 07 Apr 2007 01:12:32 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-1211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Konstantin Shvachko updated HADOOP-1211:

    Attachment: 1211.patch

Most of the problems listed above have been solved by HADOOP-1203
So I removed remaining deprecated methods:
NameNode.getDirs() is replaced by FSNamesystem.getNamespaceDirs()
which lead to changes in TestCheckpoint()
DatanodeRegistration() constructor is removed.
FSDataset.FSVolume.dir redundant field is removed.
Got rid of generics warning in FSNamesystem.dumpRecentInvalidateSets(),
which was not included in HADOOP-1190.
And fixed a bug in DataNode.handshake() which was looping
while(true) instead of while(shouldRun).

> Remove deprecated constructor and unused static members in DataNode class
> -------------------------------------------------------------------------
>                 Key: HADOOP-1211
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1211
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.12.2
>            Reporter: Konstantin Shvachko
>         Assigned To: Konstantin Shvachko
>             Fix For: 0.13.0
>         Attachments: 1211.patch
> HADOOP-702 deprecated one DataNode constructor, which is only used in MiniDFSCluster.
It should be removed.
> Static member
> dataNodeList
> dataNodeThreadList
> seem to be redundant now. Removing them will also require to remove static method
> shutdownAll()
> It is public now, but is also used only by MiniDFSCluster.
> The alternative to static shutdownAll() is to call shutdown() on the DataNode instance.

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

View raw message