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 F0A9B10D7A for ; Wed, 2 Oct 2013 13:00:37 +0000 (UTC) Received: (qmail 16650 invoked by uid 500); 2 Oct 2013 13:00:34 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 16415 invoked by uid 500); 2 Oct 2013 13:00:32 -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 16086 invoked by uid 99); 2 Oct 2013 13:00:28 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Oct 2013 13:00:28 +0000 Date: Wed, 2 Oct 2013 13:00:28 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-9697) ZKDataMigrator should exit on table(s) null check. 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-9697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13783884#comment-13783884 ] stack commented on HBASE-9697: ------------------------------ +1 > ZKDataMigrator should exit on table(s) null check. > -------------------------------------------------- > > Key: HBASE-9697 > URL: https://issues.apache.org/jira/browse/HBASE-9697 > Project: HBase > Issue Type: Bug > Affects Versions: 0.98.0, 0.96.1 > Reporter: Jean-Marc Spaggiari > Assignee: Jean-Marc Spaggiari > Fix For: 0.98.0, 0.96.0 > > Attachments: HBASE-9697-v0-trunk.patch > > > Doing something like that in 2 places: > {code} > if (tables == null) { > LOG.info("No table present to migrate table state to PB. returning.."); > } > for (String table : tables) { > {code} > We need to return just after logging. -- This message was sent by Atlassian JIRA (v6.1#6144)