Chen Luo created ASTERIXDB-1927:
-----------------------------------

             Summary: Resource Not Exist Exception when creating index
                 Key: ASTERIXDB-1927
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1927
             Project: Apache AsterixDB
          Issue Type: Bug
          Components: AsterixDB, Hyracks
            Reporter: Chen Luo


I encountered org.apache.hyracks.api.exceptions.HyracksDataException: HYR0055: 
Resource does not exist for storage/partition_0/twitter/ds_tweet_idx_text_idx 
when creating indexes. Basically, I created the Twitter dataverse (with 
datasets and indexes), ingested some tweets, and killed the asterixdb process. 
After recovery, when I want to re-create the Twitter dataverse again, I will 
encounter this exception, which disallows me to continue...
But this error disappears when after restart AsterixDB.

Stacktrace:
{code}
SEVERE: java.util.concurrent.ExecutionException: 
org.apache.hyracks.api.exceptions.HyracksDataException: HYR0055: Resource does 
not exist for storage/partition_0/twitter/ds_tweet_idx_text_idx
org.apache.hyracks.api.exceptions.HyracksDataException: 
java.util.concurrent.ExecutionException: 
org.apache.hyracks.api.exceptions.HyracksDataException: HYR0055: Resource does 
not exist for storage/partition_0/twitter/ds_tweet_idx_text_idx
        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:330)
        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/twitter/ds_tweet_idx_text_idx
                ... 6 more
        Caused by: java.util.concurrent.ExecutionException: 
org.apache.hyracks.api.exceptions.HyracksDataException: HYR0055: Resource does 
not exist for storage/partition_2/twitter/ds_tweet_idx_text_idx
                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:206)
                at 
org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.initialize(SuperActivityOperatorNodePushable.java:82)
                at org.apache.hyracks.control.nc.Task.run(Task.java:273)
                ... 3 more
        Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
HYR0055: Resource does not exist for 
storage/partition_2/twitter/ds_tweet_idx_text_idx
                at 
org.apache.hyracks.api.exceptions.HyracksDataException.create(HyracksDataException.java:49)
                at 
org.apache.asterix.transaction.management.resource.PersistentLocalResourceRepository.delete(PersistentLocalResourceRepository.java:225)
                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:53)
                at 
org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.lambda$runInParallel$0(SuperActivityOperatorNodePushable.java:198)
                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_0/twitter/ds_tweet_idx_text_idx
        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:206)
        at 
org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.initialize(SuperActivityOperatorNodePushable.java:82)
        at org.apache.hyracks.control.nc.Task.run(Task.java:273)
        ... 3 more
Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: HYR0055: 
Resource does not exist for storage/partition_0/twitter/ds_tweet_idx_text_idx
        at 
org.apache.hyracks.api.exceptions.HyracksDataException.create(HyracksDataException.java:49)
        at 
org.apache.asterix.transaction.management.resource.PersistentLocalResourceRepository.delete(PersistentLocalResourceRepository.java:225)
        at 
org.apache.hyracks.storage.am.common.build.IndexBuilder.build(IndexBuilder.java:73)
        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:198)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        ... 3 more
{code}




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to