hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Vimont (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-14879) maven archetype: mapreduce application
Date Thu, 12 May 2016 04:08:12 GMT

    [ https://issues.apache.org/jira/browse/HBASE-14879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15281183#comment-15281183
] 

Daniel Vimont commented on HBASE-14879:
---------------------------------------

What we are experiencing seems to be the standard behavior of the HBaseTestingUtility.

The problem can be replicated through execution of a single line of code:
{code}
new HBaseTestingUtility().startMiniCluster();
{code}
This results in the following output, regarding the 'hbase:namespace' metatable, which the
miniCluster is apparently in the process of creating when this message is issued:
{code}
2016-05-12 12:45:33,413 ERROR [ProcedureExecutor-0] master.TableStateManager: Unable to get
table hbase:namespace state
org.apache.hadoop.hbase.TableNotFoundException: hbase:namespace
{code}
----
To more fully replicate what WE are experiencing (a series of those same ERROR messages when
a user table is created), the following three lines of code may be executed:
{code}
final HBaseTestingUtility TEST_UTIL = new HBaseTestingUtility();
TEST_UTIL.startMiniCluster();
TEST_UTIL.createTable(TableName.valueOf("table1"), Bytes.toBytes("cf1"));
{code}
This results in the following output:
{code}
2016-05-12 12:56:54,052 ERROR [ProcedureExecutor-0] master.TableStateManager: Unable to get
table hbase:namespace state
org.apache.hadoop.hbase.TableNotFoundException: hbase:namespace
...
2016-05-12 12:56:56,496 ERROR [ProcedureExecutor-3] master.TableStateManager: Unable to get
table table1 state
org.apache.hadoop.hbase.TableNotFoundException: table1
...
2016-05-12 12:56:56,550 ERROR [B.defaultRpcServer.handler=11,queue=2,port=38763] master.TableStateManager:
Unable to get table table1 state
org.apache.hadoop.hbase.TableNotFoundException: table1
{code}
As you can see, whenever a *user* table is created (as opposed to a system metatable), a similar
ERROR message is issued twice in the course of table creation.

> maven archetype: mapreduce application
> --------------------------------------
>
>                 Key: HBASE-14879
>                 URL: https://issues.apache.org/jira/browse/HBASE-14879
>             Project: HBase
>          Issue Type: Sub-task
>          Components: build, Usability
>            Reporter: Nick Dimiduk
>            Assignee: Daniel Vimont
>              Labels: beginner
>         Attachments: HBASE-14879-v1.patch, HBASE-14879-v2.patch, archetype_mr_prototype.zip
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message