HBase
  1. HBase
  2. HBASE-4947

CopyTable warns about being unable to find table from wrong instance of HBase

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 0.90.4, 0.92.0
    • Fix Version/s: None
    • Component/s: mapreduce
    • Labels:
      None

      Description

      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

      $ hbase org.apache.hadoop.hbase.mapreduce.CopyTable --peer.adr=cluster02:2181:/hbase --new.name=table2 table
      

      Job succeeds, but gives a scary extraneous warning:

      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.<init>(HTable.java:173)
              at org.apache.hadoop.hbase.client.HTable.<init>(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
      

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Jonathan Hsieh
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development