Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C7655200B7C for ; Thu, 25 Aug 2016 04:06:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C5F07160AC2; Thu, 25 Aug 2016 02:06:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4A2EE160AB1 for ; Thu, 25 Aug 2016 04:06:22 +0200 (CEST) Received: (qmail 8001 invoked by uid 500); 25 Aug 2016 02:06:21 -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 7976 invoked by uid 99); 25 Aug 2016 02:06:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Aug 2016 02:06:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 408342C0151 for ; Thu, 25 Aug 2016 02:06:21 +0000 (UTC) Date: Thu, 25 Aug 2016 02:06:21 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-16366) Restore operation into new table can fail MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 25 Aug 2016 02:06:22 -0000 [ https://issues.apache.org/jira/browse/HBASE-16366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15436125#comment-15436125 ] Ted Yu commented on HBASE-16366: -------------------------------- {code} 609 while(!hbadmin.isTableAvailable(targetTableName, keys)) { {code} Insert space between while and (. {code} 611 if( EnvironmentEdgeManager.currentTime() - startTime > TABLE_AVAILABILITY_WAIT_TIME) { 612 throw new IOException("Time out expired, table " +targetTableName+ 613 " is still not available"); {code} Please include wait duration in the message. > Restore operation into new table can fail > ----------------------------------------- > > Key: HBASE-16366 > URL: https://issues.apache.org/jira/browse/HBASE-16366 > Project: HBase > Issue Type: Bug > Reporter: Vladimir Rodionov > Assignee: Vladimir Rodionov > Attachments: HBASE-16366-v1.patch > > > If restore from backup into new table we need to make sure that new table is available online. -- This message was sent by Atlassian JIRA (v6.3.4#6332)