accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Fuchs (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-805) stack trace in MockTableOperationsTest
Date Thu, 11 Oct 2012 15:51:04 GMT
Adam Fuchs created ACCUMULO-805:
-----------------------------------

             Summary: stack trace in MockTableOperationsTest
                 Key: ACCUMULO-805
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-805
             Project: Accumulo
          Issue Type: Bug
          Components: test
    Affects Versions: 1.4.1
            Reporter: Adam Fuchs
             Fix For: 1.4.2


{code}
Running org.apache.accumulo.core.client.mock.MockTableOperationsTest
12/10/11 11:44:57 INFO compress.CodecPool: Got brand-new compressor
12/10/11 11:44:57 INFO compress.CodecPool: Got brand-new decompressor
12/10/11 11:44:57 INFO compress.CodecPool: Got brand-new decompressor
12/10/11 11:44:57 INFO compress.CodecPool: Got brand-new decompressor
12/10/11 11:44:57 INFO compress.CodecPool: Got brand-new decompressor
12/10/11 11:44:57 INFO compress.CodecPool: Got brand-new decompressor
12/10/11 11:44:57 INFO compress.CodecPool: Got brand-new decompressor
12/10/11 11:44:57 INFO compress.CodecPool: Got brand-new decompressor
12/10/11 11:44:57 INFO compress.CodecPool: Got brand-new decompressor
12/10/11 11:44:57 ERROR map.MapFileUtil: Map file target/accumulo-test/import/sample.map already
exists
java.lang.Exception
	at org.apache.accumulo.core.file.map.MapFileUtil.openMapFileWriter(MapFileUtil.java:120)
	at org.apache.accumulo.core.file.map.MapFileOperations.openWriter(MapFileOperations.java:152)
	at org.apache.accumulo.core.file.DispatchingFileFactory.openWriter(FileOperations.java:81)
	at org.apache.accumulo.core.client.mock.MockTableOperationsTest.prepareTestFiles(MockTableOperationsTest.java:149)
	at org.apache.accumulo.core.client.mock.MockTableOperationsTest.testFailsWithNonEmptyFailureDirectory(MockTableOperationsTest.java:187)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
	at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
	at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
	at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
	at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
	at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
	at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
	at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
	at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
	at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
	at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
	at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
	at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:172)
	at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:104)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:70)
{code}

Test did not fail. Should it have?

Could this be a race condition?

--
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