metamodel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomasz Guzialek (JIRA)" <>
Subject [jira] [Commented] (METAMODEL-93) Upgrade HBase dependency to support Hadoop 2
Date Fri, 27 Mar 2015 19:55:52 GMT


Tomasz Guzialek commented on METAMODEL-93:

Kasper, did you do anything more than upgrading hbase.version property to 1.0.0 and excluding

I managed to install and run HBase 1.0.0 on Ubuntu virtual machine. The tests fail in hbase

 T E S T S
Running org.apache.metamodel.hbase.HBaseDataContextTest
log4j:WARN No appenders could be found for logger (org.apache.hadoop.metrics2.lib.MutableMetricsFactory).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See for more info.
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.772 sec <<< FAILURE!
- in org.apache.metamodel.hbase.HBaseDataContextTest
testCreateInsertQueryAndDrop(org.apache.metamodel.hbase.HBaseDataContextTest)  Time elapsed:
1.661 sec  <<< ERROR!
org.apache.hadoop.hbase.DoNotRetryIOException: java.lang.IllegalAccessError: tried to access
method<init>()V from class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
	at org.apache.hadoop.hbase.zookeeper.MetaTableLocator.blockUntilAvailable(
	at org.apache.hadoop.hbase.client.ZooKeeperRegistry.getMetaRegionLocation(
	at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateMeta(
	at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegion(
	at org.apache.hadoop.hbase.client.RpcRetryingCallerWithReadReplicas.getRegionLocations(
	at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithoutRetries(
	at org.apache.hadoop.hbase.client.ClientScanner.nextScanner(
	at org.apache.hadoop.hbase.client.ClientScanner.initializeScannerInConstruction(
	at org.apache.hadoop.hbase.client.ClientScanner.<init>(
	at org.apache.hadoop.hbase.client.HTable.getScanner(
	at org.apache.hadoop.hbase.client.MetaScanner.metaScan(
	at org.apache.hadoop.hbase.client.MetaScanner.metaScan(
	at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.isTableAvailable(
	at org.apache.hadoop.hbase.client.HBaseAdmin.isTableAvailable(
	at org.apache.hadoop.hbase.client.HBaseAdmin.isTableAvailable(
	at org.apache.metamodel.hbase.HBaseDataContextTest.createTableNatively(
	at org.apache.metamodel.hbase.HBaseDataContextTest.setUp(

Results :

Tests in error: 
  HBaseDataContextTest.setUp:49->createTableNatively:165 ยป DoNotRetryIO java.lan...

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

We are enforcing guava version 18.0 while hadoop depends on guava <16.0. See

> Upgrade HBase dependency to support Hadoop 2
> --------------------------------------------
>                 Key: METAMODEL-93
>                 URL:
>             Project: Apache MetaModel
>          Issue Type: Improvement
>    Affects Versions: 4.3.0-incubating
>         Environment: Cloudera CDH 5.1.0
>            Reporter: Tomasz Guzialek
>              Labels: hadoop
> Current hbase-client dependency version in HBase module is 0.95.1-hadoop1. We should
consider upgrading our depedency to support Hadoop 2.
> I tried to connect to HBase in Cloudera's Quickstart VM with CDH 5.1.0 from MetaModel,
but it is using HBase 0.98.1 (Hadoop 2). I guess, many people start with this popular distribution
for a proof of concept, so ensuring that MetaModel can connect to HBase on Hadoop 2 is important.

This message was sent by Atlassian JIRA

View raw message