You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Dongkyu Hwangbo (JIRA)" <ji...@apache.org> on 2015/12/17 03:51:46 UTC

[jira] [Updated] (TAJO-2025) HBASE_LIB/metrics-core-*.jar should be included in CLASSPATH

     [ https://issues.apache.org/jira/browse/TAJO-2025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dongkyu Hwangbo updated TAJO-2025:
----------------------------------
    Description: 
When I try to connect HBase client via TAJO, TAJO cannot connect HBase with below logs.
{noformat}
INFO org.apache.hadoop.hbase.client.RpcRetryingCaller: Call exception, tries=10, retries=35, retryTime=68306ms, msg=row 'lineitem,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=<address>,60020,1450062494778, seqNum=0
INFO org.apache.hadoop.hbase.client.RpcRetryingCaller: Call exception, tries=11, retries=35, retryTime=88389ms, msg=row 'lineitem,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=<address>,60020,1450062494778, seqNum=0

...

org.apache.hadoop.hbase.client.RpcRetryingCaller@5b5e2d4c, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: com/yammer/metrics/core/Gauge
{noformat}
But, I can connect HBase using TestHBaseTable.

I found out that tsql can connect hbase client with appending HBASE_LIB/HBase-hadoop2-compat-*.jar to classpath in bin/tajo.
But, HBase-hadoop2-compat-*.jar has lots of dependency so I try to find out necessity for TAJO in this jar.

HBASE_LIB/metrics-core-*.jar is answer.

  was:
When I try to connect HBase client via TAJO, TAJO cannot connect HBase with below logs.
{noformat}
2015-12-17 11:17:38,338 INFO org.apache.hadoop.hbase.client.RpcRetryingCaller: Call exception, tries=10, retries=35, retryTime=68306ms, msg=row 'lineitem,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=<address>,60020,1450062494778, seqNum=0
2015-12-17 11:17:58,420 INFO org.apache.hadoop.hbase.client.RpcRetryingCaller: Call exception, tries=11, retries=35, retryTime=88389ms, msg=row 'lineitem,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=<address>,60020,1450062494778, seqNum=0
{noformat}
But, I can connect HBase using TestHBaseTable.

I found out that tsql can connect hbase client with appending HBASE_LIB/HBase-hadoop2-compat-*.jar to classpath in bin/tajo.
But, HBase-hadoop2-compat-*.jar has lots of dependency so I try to find out necessity for TAJO in this jar.

HBASE_LIB/metrics-core-*.jar is answer.


> HBASE_LIB/metrics-core-*.jar should be included in CLASSPATH
> ------------------------------------------------------------
>
>                 Key: TAJO-2025
>                 URL: https://issues.apache.org/jira/browse/TAJO-2025
>             Project: Tajo
>          Issue Type: Bug
>            Reporter: Dongkyu Hwangbo
>            Assignee: Dongkyu Hwangbo
>            Priority: Minor
>              Labels: hbase
>
> When I try to connect HBase client via TAJO, TAJO cannot connect HBase with below logs.
> {noformat}
> INFO org.apache.hadoop.hbase.client.RpcRetryingCaller: Call exception, tries=10, retries=35, retryTime=68306ms, msg=row 'lineitem,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=<address>,60020,1450062494778, seqNum=0
> INFO org.apache.hadoop.hbase.client.RpcRetryingCaller: Call exception, tries=11, retries=35, retryTime=88389ms, msg=row 'lineitem,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=<address>,60020,1450062494778, seqNum=0
> ...
> org.apache.hadoop.hbase.client.RpcRetryingCaller@5b5e2d4c, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: com/yammer/metrics/core/Gauge
> {noformat}
> But, I can connect HBase using TestHBaseTable.
> I found out that tsql can connect hbase client with appending HBASE_LIB/HBase-hadoop2-compat-*.jar to classpath in bin/tajo.
> But, HBase-hadoop2-compat-*.jar has lots of dependency so I try to find out necessity for TAJO in this jar.
> HBASE_LIB/metrics-core-*.jar is answer.



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