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

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

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0, 2.0.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: