[
https://issues.apache.org/jira/browse/PHOENIX-5014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16684032#comment-16684032
]
James Taylor commented on PHOENIX-5014:
---------------------------------------
Try replacing the guava12 jar in hbase/lib with something newer like guava13 or
14.
> tephra start error:java.lang.NoSuchMethodError:
> org.apache.tephra.TransactionManager.addListener
> ------------------------------------------------------------------------------------------------
>
> Key: PHOENIX-5014
> URL: https://issues.apache.org/jira/browse/PHOENIX-5014
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.14.0
> Environment: apache-phoenix-4.14.0-HBase-1.2, hbase standalone mode
> Reporter: xlj
> Priority: Major
>
> I am using _*apache-phoenix-4.14.0-HBase-1.2*_, when "_*./tephra start*_",
> the error below:
> 2018-11-12 15:52:56,277 WARN [leader-election-tx.service-leader]
> zookeeper.LeaderElection: Exception thrown when calling leader() method.
> Withdraw from the leader election process.
> java.lang.NoSuchMethodError:
> org.apache.tephra.TransactionManager.addListener(Lcom/google/common/util/concurrent/Service$Listener;Ljava/util/concurrent/Executor;)V
> at
> org.apache.tephra.distributed.TransactionService$1.leader(TransactionService.java:92)
> at
> org.apache.phoenix.shaded.org.apache.twill.internal.zookeeper.LeaderElection.becomeLeader(LeaderElection.java:234)
> at
> org.apache.phoenix.shaded.org.apache.twill.internal.zookeeper.LeaderElection.access$1900(LeaderElection.java:54)
> at
> org.apache.phoenix.shaded.org.apache.twill.internal.zookeeper.LeaderElection$5.onSuccess(LeaderElection.java:212)
> at
> org.apache.phoenix.shaded.org.apache.twill.internal.zookeeper.LeaderElection$5.onSuccess(LeaderElection.java:191)
> at com.google.common.util.concurrent.Futures$5.run(Futures.java:768)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> Mon Nov 12 15:58:41 CST 2018 Terminating
> 2018-11-12 15:58:41,104 INFO [Thread-0] tephra.TransactionServiceMain:
> Stopping TransactionServiceMain
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)