You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2012/11/02 04:38:13 UTC

[jira] [Comment Edited] (HBASE-6796) Backport HBASE-5547, Don't delete HFiles in backup mode.

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

Ted Yu edited comment on HBASE-6796 at 11/2/12 3:37 AM:
--------------------------------------------------------

I tried to reproduce the test failure in TestHFileCleaner#testHFileCleaning but was not successful.
I looked at the test output:
https://builds.apache.org/view/G-L/view/HBase/job/HBase-0.94/566/testReport/org.apache.hadoop.hbase.master.cleaner/TestHFileCleaner/testHFileCleaning/
{code}
2012-11-02 01:29:55,534 INFO  [pool-1-thread-1] hbase.ResourceChecker(145): before master.cleaner.TestHFileCleaner#testTTLCleaner: 43 threads, 127 file descriptors 0 connections, 
2012-11-02 01:29:55,898 DEBUG [pool-1-thread-1] cleaner.TimeToLiveHFileCleaner(68): Life:108, ttl:100, current:1351819795897, from: 1351819795789
2012-11-02 01:29:55,900 INFO  [pool-1-thread-1] hbase.ResourceChecker(145): after master.cleaner.TestHFileCleaner#testTTLCleaner: 44 threads (was 43), 127 file descriptors (was 127). 0 connections,  -thread leak?- 
{code}
We can see that one thread didn't exit.

Still, it is not very obvious which thread hung :-(
                
      was (Author: yuzhihong@gmail.com):
    I tried to reproduce the test failure in TestHFileCleaner#testHFileCleaning but was not successful.
I looked at the test output:
https://builds.apache.org/view/G-L/view/HBase/job/HBase-0.94/566/testReport/org.apache.hadoop.hbase.master.cleaner/TestHFileCleaner/testHFileCleaning/
{code}
2012-11-02 01:29:57,917 INFO  [pool-1-thread-1] hbase.ResourceChecker(145): before master.cleaner.TestHFileCleaner#testRemovesEmptyDirectories: 45 threads, 127 file descriptors 0 connections, 
...
2012-11-02 01:29:58,730 INFO  [pool-1-thread-1] hbase.ResourceChecker(145): after master.cleaner.TestHFileCleaner#testRemovesEmptyDirectories: 44 threads (was 45), 127 file descriptors (was 127). 0 connections, 
{code}
We can see that one thread didn't exit.
I checked test output on MacBook. The thread count in both occasions was the same.

Still, it is not very obvious which thread hung :-(
                  
> Backport HBASE-5547, Don't delete HFiles in backup mode.
> --------------------------------------------------------
>
>                 Key: HBASE-6796
>                 URL: https://issues.apache.org/jira/browse/HBASE-6796
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>            Assignee: Jesse Yates
>             Fix For: 0.94.3
>
>         Attachments: hbase-5547-0.94-backport-v0.patch, hbase-6796-v0.patch, hbase-6796-v1.patch, hbase-6796-v2.patch
>
>
> See HBASE-5547

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira