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

LogSyncerThread not getting shutdown waiting for the interrupted flag

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.90.5
    • 0.90.6, 0.92.1
    • None
    • None

    Description

      In the LogSyncer run() we keep looping till this.isInterrupted flag is set.

      But in some cases the DFSclient is consuming the Interrupted exception. So
      we are running into infinite loop in some shutdown cases.

      I would suggest that as we are the ones who tries to close down the
      LogSyncerThread we can introduce a variable like

      Close or shutdown and based on the state of this flag along with
      isInterrupted() we can make the thread stop.

      Attachments

        1. HBASE-5243_0.90.patch
          1 kB
          ramkrishna.s.vasudevan
        2. HBASE-5243_0.90_1.patch
          1 kB
          ramkrishna.s.vasudevan
        3. HBASE-5243_trunk.patch
          1 kB
          ramkrishna.s.vasudevan
        4. 5243-92.addendum
          0.8 kB
          Ted Yu

        Activity

          People

            ram_krish ramkrishna.s.vasudevan
            ram_krish ramkrishna.s.vasudevan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: