hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jing Zhao (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-9223) Code cleanup for DatanodeDescriptor and HeartbeatManager
Date Fri, 09 Oct 2015 21:49:05 GMT
Jing Zhao created HDFS-9223:
-------------------------------

             Summary: Code cleanup for DatanodeDescriptor and HeartbeatManager
                 Key: HDFS-9223
                 URL: https://issues.apache.org/jira/browse/HDFS-9223
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: namenode
            Reporter: Jing Zhao
            Assignee: Jing Zhao
            Priority: Minor


Some code cleanup for {{DatanodeDescriptor}} and {{HeartbeatManager}}. The changes include:
# Change {{DataDescriptor#isAlive}} and {{DatanodeDescriptor#needKeyUpdate}} from public to
private
# Use EnumMap for {{HeartbeatManager#storageTypeStatesMap}}
# Move the {{isInStartupSafeMode}} out of the namesystem lock in {{heartbeatCheck}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message