[
https://issues.apache.org/jira/browse/PHOENIX-2670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15141175#comment-15141175
]
Rajeshbabu Chintaguntla commented on PHOENIX-2670:
--------------------------------------------------
Bulkload is failing with below exception.
Even there is thrift version incompatibility with HBase 1.1. HBase thrift
vesion is 0.9.0 but tephra version 0.9.3.
[~poornachandra] any chance this also can be looked.
{noformat}
16/02/10 19:33:30 INFO impl.MetricsSystemImpl: phoenix metrics system started
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/thrift/TException
at
org.apache.phoenix.execute.MutationState.<clinit>(MutationState.java:119)
at
org.apache.phoenix.jdbc.PhoenixConnection.newMutationState(PhoenixConnection.java:450)
at
org.apache.phoenix.jdbc.PhoenixConnection.<init>(PhoenixConnection.java:285)
at
org.apache.phoenix.jdbc.PhoenixConnection.<init>(PhoenixConnection.java:204)
at
org.apache.phoenix.query.ConnectionQueryServicesImpl$13.call(ConnectionQueryServicesImpl.java:2274)
at
org.apache.phoenix.query.ConnectionQueryServicesImpl$13.call(ConnectionQueryServicesImpl.java:2246)
at
org.apache.phoenix.util.PhoenixContextExecutor.call(PhoenixContextExecutor.java:78)
at
org.apache.phoenix.query.ConnectionQueryServicesImpl.init(ConnectionQueryServicesImpl.java:2246)
at
org.apache.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(PhoenixDriver.java:230)
at
org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.createConnection(PhoenixEmbeddedDriver.java:135)
at org.apache.phoenix.jdbc.PhoenixDriver.connect(PhoenixDriver.java:201)
at java.sql.DriverManager.getConnection(DriverManager.java:571)
at java.sql.DriverManager.getConnection(DriverManager.java:187)
at org.apache.phoenix.util.QueryUtil.getConnection(QueryUtil.java:300)
at org.apache.phoenix.util.QueryUtil.getConnection(QueryUtil.java:291)
at
org.apache.phoenix.mapreduce.AbstractBulkLoadTool.loadData(AbstractBulkLoadTool.java:200)
at
org.apache.phoenix.mapreduce.AbstractBulkLoadTool.run(AbstractBulkLoadTool.java:174)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
at
org.apache.phoenix.mapreduce.CsvBulkLoadTool.main(CsvBulkLoadTool.java:100)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.hadoop.util.RunJar.main(RunJar.java:212)
Caused by: java.lang.ClassNotFoundException: org.apache.thrift.TException
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 25 more
HW11551:bin rajeshbabu$
{noformat}
> Guava version incompatibility of Twill vs HBase when launching M/R index
> ------------------------------------------------------------------------
>
> Key: PHOENIX-2670
> URL: https://issues.apache.org/jira/browse/PHOENIX-2670
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.7.0
> Environment: HBase 0.98.17, Phoenix 4.7.0
> Reporter: Mujtaba Chohan
> Assignee: Thomas D'Silva
> Priority: Blocker
> Fix For: 4.7.0
>
>
> On running org.apache.phoenix.mapreduce.index.IndexTool
> {code}
> Exception in thread "main" java.lang.NoClassDefFoundError:
> com/google/common/util/concurrent/Service$Listener
> at
> org.apache.twill.internal.zookeeper.DefaultZKClientService.<init>(DefaultZKClientService.java:98)
> at
> org.apache.twill.zookeeper.ZKClientService$Builder.build(ZKClientService.java:101)
> at
> org.apache.phoenix.query.ConnectionQueryServicesImpl.initTxServiceClient(ConnectionQueryServicesImpl.java:349)
> at
> org.apache.phoenix.query.ConnectionQueryServicesImpl.openConnection(ConnectionQueryServicesImpl.java:382)
> at
> org.apache.phoenix.query.ConnectionQueryServicesImpl.access$300(ConnectionQueryServicesImpl.java:209)
> at
> org.apache.phoenix.query.ConnectionQueryServicesImpl$13.call(ConnectionQueryServicesImpl.java:2258)
> at
> org.apache.phoenix.query.ConnectionQueryServicesImpl$13.call(ConnectionQueryServicesImpl.java:2237)
> at
> org.apache.phoenix.util.PhoenixContextExecutor.call(PhoenixContextExecutor.java:78)
> at
> org.apache.phoenix.query.ConnectionQueryServicesImpl.init(ConnectionQueryServicesImpl.java:2237)
> at
> org.apache.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(PhoenixDriver.java:230)
> at
> org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.createConnection(PhoenixEmbeddedDriver.java:135)
> at
> org.apache.phoenix.jdbc.PhoenixDriver.connect(PhoenixDriver.java:201)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)