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

Byron Wong updated HDFS-7611:
-----------------------------
    Attachment: blocksNotDeletedTest.patch

Attached blocksNotDeletedTest.patch.
Includes a test that reproduces this issue.
The test fails both before and after truncate was committed.

Also, I forgot to mention before that quotas must be enabled for the directory 
to reproduce the error. Otherwise, the {{last.computeQuotaUsage()}} call in 
{{unprotectedDelete()}} will actually count the namespace objects instead of 
extracting the number from the {{DirectoryWithQuotaFeature}} object.

> TestFileTruncate.testTruncateEditLogLoad times out waiting for Mini HDFS 
> Cluster to start
> -----------------------------------------------------------------------------------------
>
>                 Key: HDFS-7611
>                 URL: https://issues.apache.org/jira/browse/HDFS-7611
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Konstantin Shvachko
>            Assignee: Byron Wong
>         Attachments: blocksNotDeletedTest.patch, testTruncateEditLogLoad.log
>
>
> I've seen it failing on Jenkins a couple of times. Somehow the cluster is not 
> comming ready after NN restart.
> Not sure if it is truncate specific, as I've seen same behaviour with other 
> tests that restart the NameNode.



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

Reply via email to