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

Brahma Reddy Battula edited comment on HDFS-11896 at 5/29/17 10:50 AM:
-----------------------------------------------------------------------

bq.Can we do just that in this jira for 2.7. Will it fix NonDfsUsed reporting 
issue?

Yes,we can backport HDFS-9034.
bq. I think your patch is useful in all versions, should not be restricted to 
2.7 only, especially the test case. Why don't you target this change for trunk, 
etc.

Yes, it can be committed to all versions.But issue will not occur in other 
versions because nondfs is reset during the register before adding back stats. 
and  *test will not fail without source changes .* 

IMO,we can merge attached patch to all versions which will fix the 
{{nondfsused}} and we can raise seperate issue to backport HDFS-9034.


was (Author: brahmareddy):
bq.Can we do just that in this jira for 2.7. Will it fix NonDfsUsed reporting 
issue?

Yes,we can backport HDFS-9034.

bq. I think your patch is useful in all versions, should not be restricted to 
2.7 only, especially the test case. Why don't you target this change for trunk, 
etc.

Yes, it can be committed to all versions.But issue will not occur in other 
versions because nondfs is reset during the register before adding back stats. 
and  *test will not fail without source changes .* 



> Non-dfsUsed will be doubled on dead node re-registration in branch-2.7.
> -----------------------------------------------------------------------
>
>                 Key: HDFS-11896
>                 URL: https://issues.apache.org/jira/browse/HDFS-11896
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.7.3
>            Reporter: Brahma Reddy Battula
>            Assignee: Brahma Reddy Battula
>              Labels: release-blocker
>         Attachments: HDFS-11896-branch-2.7-001.patch
>
>
>  *Scenario:* 
> i)Make you sure you've non-dfs data.
> ii) Stop Datanode
> iii) wait it becomes dead
> iv) now restart and check the non-dfs data



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to