Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-4745

LRU Statistics thread should be daemon

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.92.0, 0.94.0
    • None
    • None
    • Reviewed

    Description

      Here was from 'HBase 0.92/Hadoop 0.22 test results' discussion on dev@hbase

      "LRU Statistics #0" prio=10 tid=0x00007f4edc7dd800 nid=0x211a waiting
      on condition [0x00007f4e631e2000]
        java.lang.Thread.State: TIMED_WAITING (parking)
             at sun.misc.Unsafe.park(Native Method)
             - parking to wait for  <0x00007f4e88acc968> (a
      java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
             at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
             at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2025)
             at java.util.concurrent.DelayQueue.take(DelayQueue.java:164)
             at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:583)
             at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:576)
             at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
             at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
             at java.lang.Thread.run(Thread.java:619)
      

      We should make this thread daemon thread.

      Attachments

        1. HBASE-4745.patch
          0.5 kB
          Andrew Kyle Purtell

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            apurtell Andrew Kyle Purtell
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment