[ 
https://issues.apache.org/jira/browse/HDFS-6397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14000559#comment-14000559
 ] 

Hadoop QA commented on HDFS-6397:
---------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12645164/HDFS-6397.2.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

    {color:green}+1 tests included{color}.  The patch appears to include 2 new 
or modified test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

    {color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

    {color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

    {color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 1.3.9) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

    {color:red}-1 core tests{color}.  The patch failed these unit tests in 
hadoop-hdfs-project/hadoop-hdfs:

                  
org.apache.hadoop.hdfs.server.blockmanagement.TestDatanodeManager

    {color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-HDFS-Build/6919//testReport/
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/6919//console

This message is automatically generated.

> NN shows inconsistent value in deadnode count 
> ----------------------------------------------
>
>                 Key: HDFS-6397
>                 URL: https://issues.apache.org/jira/browse/HDFS-6397
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.4.1
>            Reporter: Mohammad Kamrul Islam
>            Assignee: Mohammad Kamrul Islam
>            Priority: Critical
>         Attachments: HDFS-6397.1.patch, HDFS-6397.2.patch
>
>
> Context: 
> When NN is started , without any live datanode but there are nodes in the 
> dfs.includes, NN shows the deadcount as '0'.
> There are two inconsistencies:
> 1. If you click on deadnode links (which shows the count is 0), it will 
> display the list of deadnodes correctly.
> 2.  hadoop 1.x used  to display the count correctly.
> The following snippets of JMX response will explain it further:
> Look at the value of "NumDeadDataNodes" 
> {noformat}
>  {
>     "name" : "Hadoop:service=NameNode,name=FSNamesystemState",
>     "modelerType" : "org.apache.hadoop.hdfs.server.namenode.FSNamesystem",
>     "CapacityTotal" : 0,
>     "CapacityUsed" : 0,
> ... 
>    "NumLiveDataNodes" : 0,
>     "NumDeadDataNodes" : 0,
>     "NumDecomLiveDataNodes" : 0,
>     "NumDecomDeadDataNodes" : 0,
>     "NumDecommissioningDataNodes" : 0,
>     "NumStaleDataNodes" : 0
>   },
> {noformat}
> Look at " "DeadNodes"".
> {noformat}
> {
>     "name" : "Hadoop:service=NameNode,name=NameNodeInfo",
>     "modelerType" : "org.apache.hadoop.hdfs.server.namenode.FSNamesystem",
>     
> ....
>     "TotalBlocks" : 70,
>     "TotalFiles" : 129,
>     "NumberOfMissingBlocks" : 0,
>     "LiveNodes" : "{}",
>     "DeadNodes" : 
> "{\"<MMMMM>.linkedin.com\":{\"lastContact\":1400037397,\"decommissioned\":false,\"xferaddr\":\"172.XX.X.XX:71\"},\"<NNNNN>.linkedin.com\":{\"lastContact\":1400037397,\"decommissioned\":false,\"xferaddr\":\"172.XX.XX.XX:71\"}}",
>     "DecomNodes" : "{}",
>    .....
>   }
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to