accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Corey J. Nolet (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1672) org.apache.accumulo.proxy.SimpleTest failing
Date Wed, 11 Sep 2013 02:27:51 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-1672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13763873#comment-13763873
] 

Corey J. Nolet commented on ACCUMULO-1672:
------------------------------------------

[~mdrob], that's a great question. I was thinking it just to be a product of the test since
it's explicitly verifying that the change propagated in a specific block of code. In reality,
if the change had not propagated to all tablet servers, it's possible that a write could occur
that still applied the constraint as the tablet sever wouldn't have received the update in
time. The alternative would be to guarantee the properties update on the table has propagated
fully. This would likely have a performance impact but I can't see properties changing on
tables very frequently.

[~elserj], sorry about the duplicated commit. I was adding to a commit that was pushed to
1.6.0 and saw that [~vines] needed it in 1.5.1-SNAPSHOT as well. In the future, I will make
sure I pull things forwards instead of backwards.
                
> 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

Mime
View raw message