Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 25C5510B57 for ; Tue, 30 Dec 2014 20:35:14 +0000 (UTC) Received: (qmail 68428 invoked by uid 500); 30 Dec 2014 20:35:14 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 68386 invoked by uid 500); 30 Dec 2014 20:35:14 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 68374 invoked by uid 99); 30 Dec 2014 20:35:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Dec 2014 20:35:14 +0000 Date: Tue, 30 Dec 2014 20:35:14 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-12785) Use FutureTask to timeout the attempt to get the lock for hbck MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-12785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-12785: --------------------------- Attachment: 12785-001.patch Patch adjusted to current trunk. > Use FutureTask to timeout the attempt to get the lock for hbck > -------------------------------------------------------------- > > Key: HBASE-12785 > URL: https://issues.apache.org/jira/browse/HBASE-12785 > Project: HBase > Issue Type: Task > Reporter: Ted Yu > Assignee: Ted Yu > Priority: Minor > Attachments: 12785-001.patch > > > In reviewing HBASE-12607, Sean pointed out: > It would be nice if we used a [FutureTask|http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/FutureTask.html] 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)