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

Use FutureTask to timeout the attempt to get the lock for hbck

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.1.0, 2.0.0
    • None
    • None
    • Reviewed

    Description

      In reviewing HBASE-12607, Sean pointed out:

      It would be nice if we used a FutureTask to timeout the attempt to get the lock rather than wait the whole period and then fail.

      This issue is to address Sean's review comment.

      Attachments

        1. 12785-001.patch
          4 kB
          Ted Yu
        2. 12785-002.patch
          4 kB
          Ted Yu

        Issue Links

          Activity

            People

              yuzhihong@gmail.com Ted Yu
              yuzhihong@gmail.com Ted Yu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: