java.io.FileNotFoundException: C:\Users\611059~1\AppData\Local\Temp\junit5587901409309253816\junit8944250943181697260\testIndex-d731d7af-3ccd-4d3f-bc1a-51fcf1c24645\v8-tmp\index.drd (The requested operation cannot be performed on a file with a user-mapped section open)


Solutions on the web

Solution icon of googlegroups
via Google Groups by santosh sahoo, 8 months ago
C:\Users\611059~1\AppData\Local\Temp\junit5587901409309253816\junit8944250943181697260\testIndex-d731d7af-3ccd-4d3f-bc1a-51fcf1c24645\v8-tmp\index.drd (The requested operation cannot be performed on a file with a user-mapped section open)

Solution icon of googlegroups
via Google Groups by Deepak Dixit, 4 months ago
/var/tmp/cdap/hiveserver2-site.xml (No such file or directory)

Stack trace

java.io.FileNotFoundException: C:\Users\611059~1\AppData\Local\Temp\junit5587901409309253816\junit8944250943181697260\testIndex-d731d7af-3ccd-4d3f-bc1a-51fcf1c24645\v8-tmp\index.drd 
 (The requested operation cannot be performed on a file with a user-mapped 
 section open)
	at com.google.common.base.Throwables.propagate(Throwables.java:160)
	at io.druid.segment.IndexBuilder.buildMMappedMergedIndex(IndexBuilder.java:202)
	at io.druid.segment.filter.BaseFilterTest$4.apply(BaseFilterTest.java:211)
	at io.druid.segment.filter.BaseFilterTest$4.apply(BaseFilterTest.java:207)
	at io.druid.segment.filter.BaseFilterTest.setUp(BaseFilterTest.java:123)
	at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	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.RunBefores.evaluate(RunBefores.java:24)
	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
	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.runners.ParentRunner.run(ParentRunner.java:309)
	at org.junit.runners.Suite.runChild(Suite.java:127)
	at org.junit.runners.Suite.runChild(Suite.java:26)
	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.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.