[ 
https://issues.apache.org/jira/browse/ASTERIXDB-1991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Abdullah Alamoudi resolved ASTERIXDB-1991.
------------------------------------------
    Resolution: Fixed

> Resource not exist in IndexDataflowHelper.destroy
> -------------------------------------------------
>
>                 Key: ASTERIXDB-1991
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1991
>             Project: Apache AsterixDB
>          Issue Type: Bug
>            Reporter: Yingyi Bu
>            Assignee: Murtadha Hubail
>
> Sporadic test failures on Jenkins:
> https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-asterix-app/org.apache.asterix$asterix-app/1273/testReport/junit/org.apache.asterix.test.runtime/AqlExecutionTest/test_AqlExecutionTest_344__dml__delete_from_loaded_dataset_with_index_/
> {noformat}
> testFile 
> src/test/resources/runtimets/queries/dml/delete-from-loaded-dataset-with-index/delete-from-loaded-dataset-with-index.3.ddl.aql
>  raised an exception: HTTP operation failed: HYR0055: Resource does not exist 
> for storage/partition_2/test/LineItem_idx_idx_LineItem_partkey 
> [HyracksDataException]
> STATUS LINE: HTTP/1.1 500 Internal Server Error
> SUMMARY: org.apache.hyracks.api.exceptions.HyracksDataException: 
> java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: HYR0055: Resource 
> does not exist for storage/partition_2/test/LineItem_idx_idx_LineItem_partkey
> HTTP operation failed: HYR0055: Resource does not exist for 
> storage/partition_2/test/LineItem_idx_idx_LineItem_partkey 
> [HyracksDataException]
> STATUS LINE: HTTP/1.1 500 Internal Server Error
> SUMMARY: org.apache.hyracks.api.exceptions.HyracksDataException: 
> java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: HYR0055: Resource 
> does not exist for storage/partition_2/test/LineItem_idx_idx_LineItem_partkey
>       at 
> org.apache.asterix.test.common.TestExecutor.checkResponse(TestExecutor.java:474)
>       at 
> org.apache.asterix.test.common.TestExecutor.executeAndCheckHttpRequest(TestExecutor.java:437)
>       at 
> org.apache.asterix.test.common.TestExecutor.executeDDL(TestExecutor.java:719)
>       at 
> org.apache.asterix.test.common.TestExecutor.executeTestFile(TestExecutor.java:837)
>       at 
> org.apache.asterix.test.common.TestExecutor.executeTest(TestExecutor.java:1310)
>       at 
> org.apache.asterix.test.runtime.LangExecutionUtil.test(LangExecutionUtil.java:125)
>       at 
> org.apache.asterix.test.runtime.LangExecutionUtil.test(LangExecutionUtil.java:112)
>       at 
> org.apache.asterix.test.runtime.AqlExecutionTest.test(AqlExecutionTest.java:63)
>       at sun.reflect.GeneratedMethodAccessor30.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:50)
>       at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>       at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
>       at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>       at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>       at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
>       at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
>       at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>       at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>       at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
>       at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>       at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
>       at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>       at org.junit.runners.Suite.runChild(Suite.java:128)
>       at org.junit.runners.Suite.runChild(Suite.java:27)
>       at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>       at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>       at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
>       at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>       at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
>       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:363)
>       at 
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
>       at 
> org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272)
>       at 
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
>       at 
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
>       at 
> org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
>       at 
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
>       at 
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: HYR0055: Resource 
> does not exist for storage/partition_2/test/LineItem_idx_idx_LineItem_partkey
>       at 
> org.apache.hyracks.api.exceptions.HyracksDataException.create(HyracksDataException.java:58)
>       at 
> org.apache.hyracks.control.common.utils.ExceptionUtils.setNodeIds(ExceptionUtils.java:62)
>       at org.apache.hyracks.control.nc.Task.run(Task.java:361)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>       at java.lang.Thread.run(Thread.java:745)
>       Suppressed: org.apache.hyracks.api.exceptions.HyracksDataException: 
> java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: HYR0055: Resource 
> does not exist for storage/partition_2/test/LineItem_idx_idx_LineItem_partkey
>               ... 6 more
>       Caused by: java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: HYR0055: Resource 
> does not exist for storage/partition_2/test/LineItem_idx_idx_LineItem_partkey
>               at java.util.concurrent.FutureTask.report(FutureTask.java:122)
>               at java.util.concurrent.FutureTask.get(FutureTask.java:192)
>               at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:210)
>               at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.initialize(SuperActivityOperatorNodePushable.java:84)
>               at org.apache.hyracks.control.nc.Task.run(Task.java:285)
>               ... 3 more
>       Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
> HYR0055: Resource does not exist for 
> storage/partition_2/test/LineItem_idx_idx_LineItem_partkey
>               at 
> org.apache.hyracks.api.exceptions.HyracksDataException.create(HyracksDataException.java:49)
>               at 
> org.apache.asterix.transaction.management.resource.PersistentLocalResourceRepository.delete(PersistentLocalResourceRepository.java:230)
>               at 
> org.apache.hyracks.storage.am.common.dataflow.IndexDataflowHelper.destroy(IndexDataflowHelper.java:97)
>               at 
> org.apache.hyracks.storage.am.common.dataflow.IndexDropOperatorNodePushable.initialize(IndexDropOperatorNodePushable.java:56)
>               at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.lambda$runInParallel$0(SuperActivityOperatorNodePushable.java:202)
>               at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>               ... 3 more
> Caused by: java.util.concurrent.ExecutionException: 
> org.apache.hyracks.api.exceptions.HyracksDataException: HYR0055: Resource 
> does not exist for storage/partition_2/test/LineItem_idx_idx_LineItem_partkey
>       at java.util.concurrent.FutureTask.report(FutureTask.java:122)
>       at java.util.concurrent.FutureTask.get(FutureTask.java:192)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:210)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.initialize(SuperActivityOperatorNodePushable.java:84)
>       at org.apache.hyracks.control.nc.Task.run(Task.java:285)
>       ... 3 more
> Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: HYR0055: 
> Resource does not exist for 
> storage/partition_2/test/LineItem_idx_idx_LineItem_partkey
>       at 
> org.apache.hyracks.api.exceptions.HyracksDataException.create(HyracksDataException.java:49)
>       at 
> org.apache.asterix.transaction.management.resource.PersistentLocalResourceRepository.delete(PersistentLocalResourceRepository.java:230)
>       at 
> org.apache.hyracks.storage.am.common.build.IndexBuilder.build(IndexBuilder.java:77)
>       at 
> org.apache.hyracks.storage.am.common.dataflow.IndexCreateOperatorNodePushable.initialize(IndexCreateOperatorNodePushable.java:52)
>       at 
> org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.lambda$runInParallel$0(SuperActivityOperatorNodePushable.java:202)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>       ... 3 more
> ...Unexpected!
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to