java.lang.RuntimeException: java.lang.Exception: Thrift error for org.apache.tephra.distributed.TransactionServiceClient$2@273e2fa4: Unable to discover tx service.

Google Groups | ron cai | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    cdap-master can't be restarted

    Google Groups | 6 months ago | ron cai
    java.lang.RuntimeException: java.lang.Exception: Thrift error for org.apache.tephra.distributed.TransactionServiceClient$2@273e2fa4: Unable to discover tx service.

    Root Cause Analysis

    1. org.apache.thrift.TException

      Unable to discover tx service.

      at org.apache.tephra.distributed.AbstractClientProvider.newClient()
    2. org.apache.tephra
      AbstractTransactionExecutor.executeUnchecked
      1. org.apache.tephra.distributed.AbstractClientProvider.newClient(AbstractClientProvider.java:106)[org.apache.tephra.tephra-core-0.8.0-incubating.jar:0.8.0-incubating]
      2. org.apache.tephra.distributed.AbstractClientProvider.newClient(AbstractClientProvider.java:85)[org.apache.tephra.tephra-core-0.8.0-incubating.jar:0.8.0-incubating]
      3. org.apache.tephra.distributed.PooledClientProvider$TxClientPool.create(PooledClientProvider.java:48)[org.apache.tephra.tephra-core-0.8.0-incubating.jar:0.8.0-incubating]
      4. org.apache.tephra.distributed.PooledClientProvider$TxClientPool.create(PooledClientProvider.java:41)[org.apache.tephra.tephra-core-0.8.0-incubating.jar:0.8.0-incubating]
      5. org.apache.tephra.distributed.ElasticPool.getOrCreate(ElasticPool.java:138)[org.apache.tephra.tephra-core-0.8.0-incubating.jar:0.8.0-incubating]
      6. org.apache.tephra.distributed.ElasticPool.obtain(ElasticPool.java:125)[org.apache.tephra.tephra-core-0.8.0-incubating.jar:0.8.0-incubating]
      7. org.apache.tephra.distributed.PooledClientProvider.getCloseableClient(PooledClientProvider.java:101)[org.apache.tephra.tephra-core-0.8.0-incubating.jar:0.8.0-incubating]
      8. org.apache.tephra.distributed.TransactionServiceClient.execute(TransactionServiceClient.java:214)[org.apache.tephra.tephra-core-0.8.0-incubating.jar:0.8.0-incubating]
      9. org.apache.tephra.distributed.TransactionServiceClient.execute(TransactionServiceClient.java:185)[org.apache.tephra.tephra-core-0.8.0-incubating.jar:0.8.0-incubating]
      10. org.apache.tephra.distributed.TransactionServiceClient.startShort(TransactionServiceClient.java:259)[org.apache.tephra.tephra-core-0.8.0-incubating.jar:0.8.0-incubating]
      11. org.apache.tephra.TransactionContext.start(TransactionContext.java:91)[org.apache.tephra.tephra-core-0.8.0-incubating.jar:0.8.0-incubating]
      12. org.apache.tephra.DefaultTransactionExecutor.executeOnce(DefaultTransactionExecutor.java:135)[org.apache.tephra.tephra-core-0.8.0-incubating.jar:0.8.0-incubating]
      13. org.apache.tephra.DefaultTransactionExecutor.executeWithRetry(DefaultTransactionExecutor.java:117)[org.apache.tephra.tephra-core-0.8.0-incubating.jar:0.8.0-incubating]
      14. org.apache.tephra.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:74)[org.apache.tephra.tephra-core-0.8.0-incubating.jar:0.8.0-incubating]
      15. org.apache.tephra.AbstractTransactionExecutor.executeUnchecked(AbstractTransactionExecutor.java:43)[org.apache.tephra.tephra-core-0.8.0-incubating.jar:0.8.0-incubating]
      15 frames
    3. co.cask.cdap
      NamespaceHttpHandler.getAllNamespaces
      1. co.cask.cdap.store.DefaultNamespaceStore.list(DefaultNamespaceStore.java:161)[co.cask.cdap.cdap-data-fabric-3.5.0.jar:na]
      2. co.cask.cdap.internal.app.namespace.DefaultNamespaceAdmin.list(DefaultNamespaceAdmin.java:360)[co.cask.cdap.cdap-app-fabric-3.5.0.jar:na]
      3. co.cask.cdap.gateway.handlers.NamespaceHttpHandler.getAllNamespaces(NamespaceHttpHandler.java:61)[co.cask.cdap.cdap-app-fabric-3.5.0.jar:na]
      3 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_60]
      3. java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_60]
      3 frames
    5. co.cask.http
      HttpDispatcher.messageReceived
      1. co.cask.http.HttpMethodInfo.invoke(HttpMethodInfo.java:80)[co.cask.http.netty-http-0.14.0.jar:na]
      2. co.cask.http.HttpDispatcher.messageReceived(HttpDispatcher.java:38)[co.cask.http.netty-http-0.14.0.jar:na]
      2 frames
    6. Netty
      OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run
      1. org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)[io.netty.netty-3.6.6.Final.jar:na]
      2. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)[io.netty.netty-3.6.6.Final.jar:na]
      3. org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)[io.netty.netty-3.6.6.Final.jar:na]
      4. org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43)[io.netty.netty-3.6.6.Final.jar:na]
      5. org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67)[io.netty.netty-3.6.6.Final.jar:na]
      6. org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314)[io.netty.netty-3.6.6.Final.jar:na]
      6 frames
    7. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_60]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_60]
      3. java.lang.Thread.run(Thread.java:745)[na:1.8.0_60]
      3 frames