[
https://issues.apache.org/jira/browse/ACCUMULO-1672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13763853#comment-13763853
]
Mike Drob commented on ACCUMULO-1672:
-------------------------------------
I feel like there should be a better solution than reducing the number of
tservers. Is this race condition something that can happen on a real cluster? I
would not feel comfortable telling users that the solution is to not run
multiple tablet servers when they just bought several racks of hardware.
Alternatively, is it just an artifact of the way the test is structured?
> org.apache.accumulo.proxy.SimpleTest failing
> --------------------------------------------
>
> Key: ACCUMULO-1672
> URL: https://issues.apache.org/jira/browse/ACCUMULO-1672
> Project: Accumulo
> Issue Type: Bug
> Components: proxy
> Environment: git commit id #21f93e3
> Ubuntu 13.04
> Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19
> 08:51:28-0500)
> Maven home: /opt/apache-maven-3.0.5
> Java version: 1.7.0_25, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-7-oracle/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.8.0-26-generic", arch: "amd64", family: "unix"
> Reporter: Mike Drob
> Assignee: Corey J. Nolet
> Priority: Blocker
> Fix For: 1.5.1, 1.6.0
>
>
> Command executed:
> {{mvn clean test -Dtest=org.apache.accumulo.proxy.* -pl proxy
> -DfailIfNoTests=false -am -T1.0C}}
> Output:
> {noformat}
> -------------------------------------------------------------------------------
> Test set: org.apache.accumulo.proxy.SimpleTest
> -------------------------------------------------------------------------------
> Tests run: 9, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 40.618 sec
> <<< FAILURE!
> testTableOperations(org.apache.accumulo.proxy.SimpleTest) Time elapsed:
> 1.954 sec <<< ERROR!
> MutationsRejectedException(msg:org.apache.accumulo.core.client.MutationsRejectedException:
> # constraint violations : 1 security codes: {} # server errors 0 #
> exceptions 0)
> at
> org.apache.accumulo.proxy.thrift.AccumuloProxy$updateAndFlush_result$updateAndFlush_resultTupleScheme.read(AccumuloProxy.java)
> at
> org.apache.accumulo.proxy.thrift.AccumuloProxy$updateAndFlush_result$updateAndFlush_resultTupleScheme.read(AccumuloProxy.java)
> at
> org.apache.accumulo.proxy.thrift.AccumuloProxy$updateAndFlush_result.read(AccumuloProxy.java)
> at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
> at
> org.apache.accumulo.proxy.thrift.AccumuloProxy$Client.recv_updateAndFlush(AccumuloProxy.java:2414)
> at
> org.apache.accumulo.proxy.thrift.AccumuloProxy$Client.updateAndFlush(AccumuloProxy.java:2399)
> at
> org.apache.accumulo.proxy.SimpleTest.testTableOperations(SimpleTest.java:949)
> 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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> at
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> at
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> at
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
> 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.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> at
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> at
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> at
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
> at
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira