hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo Alekseyev (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-1597) Hive CLI returns MasterNotRunningException with HBase 0.89.x
Date Fri, 22 Oct 2010 00:45:16 GMT

    [ https://issues.apache.org/jira/browse/HIVE-1597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12923718#action_12923718
] 

Leo Alekseyev commented on HIVE-1597:
-------------------------------------

In our case the problem appeared to be related to Hive HBase handler being compiled with outdated
jars.  The solution (for HBase 0.89.20100830) was to make sure $HIVE_SOURCE/lib contains both
hbase-0.89.20100830.jar and hbase-0.89.20100830-tests.jar and no other versions of hbase jars.


> Hive CLI returns MasterNotRunningException with HBase 0.89.x
> ------------------------------------------------------------
>
>                 Key: HIVE-1597
>                 URL: https://issues.apache.org/jira/browse/HIVE-1597
>             Project: Hive
>          Issue Type: Bug
>          Components: HBase Handler
>    Affects Versions: 0.7.0
>            Reporter: Basab Maulik
>
> This is a follow on task to HIVE-1512.
> hive> CREATE TABLE hbase_table_1(key int, value string)
>    > STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler'
>    > WITH SERDEPROPERTIES ("hbase.columns.mapping" = ":key,cf1:val")
>    > TBLPROPERTIES ("hbase.table.name" = "xyz");
> FAILED: Error in metadata:
> MetaException(message:org.apache.hadoop.hbase.MasterNotRunningException:
> 10.2.128.92:60000  at
> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.getMaster(HConnectionManager.java:376)
> ...
> This reproduces in testing with CDH3 and with HBase 0.89.x snapshot/zookeeper 3.3.1.
> Interesting, the tests TestHBaseSerDe, TestLazyHBaseObject, TestHBaseCliDriver, and TestHBaseCliMinimrDriver
pass using these upgraded versions.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message