phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ashish tapdiya <ashishtapd...@gmail.com>
Subject Unable to discover tx service error
Date Thu, 03 Nov 2016 17:20:09 GMT
Hi,

I am trying to create transactional tables and during table creation
following error is thrown (phoenix version is 4.8.1):


java.lang.RuntimeException: java.lang.Exception: Thrift error for
org.apache.tephra.distributed.TransactionServiceClient$2@6ea02a8d: Unable
to discover tx service.
        at com.google.common.base.Throwables.propagate(Throwables.java:160)
        at
org.apache.tephra.distributed.TransactionServiceClient.startShort(TransactionServiceClient.java:268)
        at
org.apache.tephra.TransactionContext.start(TransactionContext.java:91)
        at
org.apache.phoenix.execute.MutationState.startTransaction(MutationState.java:422)
        at
org.apache.phoenix.util.TransactionUtil.getTableTimestamp(TransactionUtil.java:99)
        at
org.apache.phoenix.schema.MetaDataClient.createTableInternal(MetaDataClient.java:1891)
        at
org.apache.phoenix.schema.MetaDataClient.createTable(MetaDataClient.java:940)
        at
org.apache.phoenix.compile.CreateTableCompiler$2.execute(CreateTableCompiler.java:193)
        at
org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:344)
        at
org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:332)
        at org.apache.phoenix.call.CallRunner.run(CallRunner.java:53)
        at
org.apache.phoenix.jdbc.PhoenixStatement.executeMutation(PhoenixStatement.java:331)
        at
org.apache.phoenix.jdbc.PhoenixPreparedStatement.executeUpdate(PhoenixPreparedStatement.java:199)
        at Populate_Transact.createTables(Populate_Transact.java:75)
        at Populate_Transact.main(Populate_Transact.java:30)
Caused by: java.lang.Exception: Thrift error for
org.apache.tephra.distributed.TransactionServiceClient$2@6ea02a8d: Unable
to discover tx service.
        at
org.apache.tephra.distributed.TransactionServiceClient.execute(TransactionServiceClient.java:227)
        at
org.apache.tephra.distributed.TransactionServiceClient.execute(TransactionServiceClient.java:185)
        at
org.apache.tephra.distributed.TransactionServiceClient.startShort(TransactionServiceClient.java:259)
        ... 13 more
Caused by: org.apache.phoenix.shaded.org.apache.thrift.TException: Unable
to discover tx service.
        at
org.apache.tephra.distributed.AbstractClientProvider.newClient(AbstractClientProvider.java:106)
        at
org.apache.tephra.distributed.AbstractClientProvider.newClient(AbstractClientProvider.java:85)
        at
org.apache.tephra.distributed.PooledClientProvider$TxClientPool.create(PooledClientProvider.java:48)
        at
org.apache.tephra.distributed.PooledClientProvider$TxClientPool.create(PooledClientProvider.java:41)
        at
org.apache.tephra.distributed.ElasticPool.getOrCreate(ElasticPool.java:138)
        at
org.apache.tephra.distributed.ElasticPool.obtain(ElasticPool.java:125)
        at
org.apache.tephra.distributed.PooledClientProvider.getCloseableClient(PooledClientProvider.java:101)
        at
org.apache.tephra.distributed.TransactionServiceClient.execute(TransactionServiceClient.java:214)

Thanks,
Ashish

Mime
View raw message