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 69F01200BC1 for ; Wed, 16 Nov 2016 22:05:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 68BF3160B13; Wed, 16 Nov 2016 21:05:00 +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 B1F6A160B08 for ; Wed, 16 Nov 2016 22:04:59 +0100 (CET) Received: (qmail 15421 invoked by uid 500); 16 Nov 2016 21:04:58 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 15292 invoked by uid 99); 16 Nov 2016 21:04:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Nov 2016 21:04:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 5AD362C4C73 for ; Wed, 16 Nov 2016 21:04:58 +0000 (UTC) Date: Wed, 16 Nov 2016 21:04:58 +0000 (UTC) From: "stack (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HBASE-4947) CopyTable warns about being unable to find table from wrong instance of HBase MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 16 Nov 2016 21:05:00 -0000 [ https://issues.apache.org/jira/browse/HBASE-4947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack resolved HBASE-4947. -------------------------- Resolution: Cannot Reproduce Reopen if can be repro'd on more modern hbase. > CopyTable warns about being unable to find table from wrong instance of HBase > ----------------------------------------------------------------------------- > > Key: HBASE-4947 > URL: https://issues.apache.org/jira/browse/HBASE-4947 > Project: HBase > Issue Type: Bug > Components: mapreduce > Affects Versions: 0.90.4, 0.92.0 > Reporter: Jonathan Hsieh > Priority: Minor > > Using CopyTable with two clusters, test01 and test02. > cluster cluster01 has a table called 'table' which has a little bit of data in it. > cluster cluster02 has a table called 'table2' which have the same schema as cluster01's 'table' > Here's the command line used from a machine in cluster01 > {code} > $ hbase org.apache.hadoop.hbase.mapreduce.CopyTable --peer.adr=cluster02:2181:/hbase --new.name=table2 table > {code} > Job succeeds, but gives a scary extraneous warning: > {code} > 11/12/04 10:26:10 WARN client.HConnectionManager$HConnectionImplementation: Encountered problems when prefetch META table: > org.apache.hadoop.hbase.TableNotFoundException: Cannot find row in .META. for table: table2, row=table2,,99999999999999 > at org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:136) > at org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:95) > at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.prefetchRegionCache(HConnectionManager.java:649) > at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:703) > at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:594) > at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:559) > at org.apache.hadoop.hbase.client.HTable.(HTable.java:173) > at org.apache.hadoop.hbase.client.HTable.(HTable.java:147) > at org.apache.hadoop.hbase.mapreduce.TableOutputFormat.setConf(TableOutputFormat.java:198) > at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:62) > at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:117) > at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:869) > at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:833) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Unknown Source) > at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1127) > at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:833) > at org.apache.hadoop.mapreduce.Job.submit(Job.java:476) > at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:506) > at org.apache.hadoop.hbase.mapreduce.CopyTable.main(CopyTable.java:201) > 11/12/04 10:26:10 ERROR mapreduce.TableOutputFormat: org.apache.hadoop.hbase.TableNotFoundException: table2 > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)