Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accumulo binding errors during cleanup #340

Closed
busbey opened this issue Jul 6, 2015 · 0 comments
Closed

Accumulo binding errors during cleanup #340

busbey opened this issue Jul 6, 2015 · 0 comments

Comments

@busbey
Copy link
Collaborator

busbey commented Jul 6, 2015

While running through RC3 for #266 for Accumulo, my workload A load got errors during cleanup for several threads. All looked like one of the two following:

com.yahoo.ycsb.DBException: org.apache.accumulo.core.client.MutationsRejectedException: # constraint violations : 0  security codes: {}  # server errors 0 # exceptions 1
        at com.yahoo.ycsb.db.AccumuloClient.cleanup(AccumuloClient.java:105)
        at com.yahoo.ycsb.DBWrapper.cleanup(DBWrapper.java:74)
        at com.yahoo.ycsb.ClientThread.run(Client.java:273)
Caused by: org.apache.accumulo.core.client.MutationsRejectedException: # constraint violations : 0  security codes: {}  # server errors 0 # exceptions 1
        at org.apache.accumulo.core.client.impl.TabletServerBatchWriter.checkForFailures(TabletServerBatchWriter.java:537)
        at org.apache.accumulo.core.client.impl.TabletServerBatchWriter.close(TabletServerBatchWriter.java:354)
        at org.apache.accumulo.core.client.impl.BatchWriterImpl.close(BatchWriterImpl.java:54)
        at com.yahoo.ycsb.db.AccumuloClient.cleanup(AccumuloClient.java:102)
        ... 2 more
Caused by: org.apache.accumulo.core.client.impl.ThriftTransportPool$TransportPoolShutdownException
        at org.apache.accumulo.core.client.impl.ThriftTransportPool.getCache(ThriftTransportPool.java:656)
        at org.apache.accumulo.core.client.impl.ThriftTransportPool.returnTransport(ThriftTransportPool.java:526)
        at org.apache.accumulo.core.util.ThriftUtil.returnClient(ThriftUtil.java:118)
        at org.apache.accumulo.core.client.impl.TabletServerBatchWriter$MutationWriter.sendMutationsToTabletServer(TabletServerBatchWriter.java:930)
        at org.apache.accumulo.core.client.impl.TabletServerBatchWriter$MutationWriter.access$1600(TabletServerBatchWriter.java:616)
        at org.apache.accumulo.core.client.impl.TabletServerBatchWriter$MutationWriter$SendTask.send(TabletServerBatchWriter.java:801)
        at org.apache.accumulo.core.client.impl.TabletServerBatchWriter$MutationWriter$SendTask.run(TabletServerBatchWriter.java:765)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at org.apache.accumulo.trace.instrument.TraceRunnable.run(TraceRunnable.java:47)
        at org.apache.accumulo.core.util.LoggingRunnable.run(LoggingRunnable.java:34)
        at java.lang.Thread.run(Thread.java:745)
com.yahoo.ycsb.DBException: org.apache.accumulo.core.client.MutationsRejectedException: # constraint violations : 0  security codes: {}  # server errors 0 # exceptions 2
        at com.yahoo.ycsb.db.AccumuloClient.cleanup(AccumuloClient.java:105)
        at com.yahoo.ycsb.DBWrapper.cleanup(DBWrapper.java:74)
        at com.yahoo.ycsb.ClientThread.run(Client.java:273)
Caused by: org.apache.accumulo.core.client.MutationsRejectedException: # constraint violations : 0  security codes: {}  # server errors 0 # exceptions 2
        at org.apache.accumulo.core.client.impl.TabletServerBatchWriter.checkForFailures(TabletServerBatchWriter.java:537)
        at org.apache.accumulo.core.client.impl.TabletServerBatchWriter.close(TabletServerBatchWriter.java:354)
        at org.apache.accumulo.core.client.impl.BatchWriterImpl.close(BatchWriterImpl.java:54)
        at com.yahoo.ycsb.db.AccumuloClient.cleanup(AccumuloClient.java:102)
        ... 2 more
Caused by: org.apache.accumulo.core.client.impl.ThriftTransportPool$TransportPoolShutdownException
        at org.apache.accumulo.core.client.impl.ThriftTransportPool.getCache(ThriftTransportPool.java:656)
        at org.apache.accumulo.core.client.impl.ThriftTransportPool.getTransport(ThriftTransportPool.java:403)
        at org.apache.accumulo.core.client.impl.ThriftTransportPool.getTransport(ThriftTransportPool.java:397)
        at org.apache.accumulo.core.util.ThriftUtil.getClient(ThriftUtil.java:106)
        at org.apache.accumulo.core.util.ThriftUtil.getTServerClient(ThriftUtil.java:123)
        at org.apache.accumulo.core.client.impl.TabletServerBatchWriter$MutationWriter.sendMutationsToTabletServer(TabletServerBatchWriter.java:861)
        at org.apache.accumulo.core.client.impl.TabletServerBatchWriter$MutationWriter.access$1600(TabletServerBatchWriter.java:616)
        at org.apache.accumulo.core.client.impl.TabletServerBatchWriter$MutationWriter$SendTask.send(TabletServerBatchWriter.java:801)
        at org.apache.accumulo.core.client.impl.TabletServerBatchWriter$MutationWriter$SendTask.run(TabletServerBatchWriter.java:765)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at org.apache.accumulo.trace.instrument.TraceRunnable.run(TraceRunnable.java:47)
        at org.apache.accumulo.core.util.LoggingRunnable.run(LoggingRunnable.java:34)
        at java.lang.Thread.run(Thread.java:745)

We should confirm that we're properly handling clean up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant