Mingda Li created ASTERIXDB-1750:
------------------------------------

             Summary: Loading Local Data cannot succeed
                 Key: ASTERIXDB-1750
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1750
             Project: Apache AsterixDB
          Issue Type: Bug
         Environment: cluster with 16 nodes
            Reporter: Mingda Li


Now, I want to load the table catalog_sales in TPC-DS 100g data. There are 
about 100 files in the local directory to load to AsterixDB.
But I met the problem: Cannot load an index that is not empty.

 org.apache.hyracks.api.exceptions.HyracksException: Job failed on account of:
HYR0002: org.apache.hyracks.api.exceptions.HyracksDataException: Cannot load an 
index that is not empty
at org.apache.hyracks.control.cc.job.JobRun.waitForCompletion(JobRun.java:212)
        at 
org.apache.hyracks.control.cc.work.WaitForJobCompletionWork$1.run(WaitForJobCompletionWork.java:48)
        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)
Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: HYR0002: 
org.apache.hyracks.api.exceptions.HyracksDataException: Cannot load an index 
that is not empty
        at 
org.apache.hyracks.control.common.utils.ExceptionUtils.setNodeIds(ExceptionUtils.java:62)
        at org.apache.hyracks.control.nc.Task.run(Task.java:331)
        ... 3 more
Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: 
org.apache.hyracks.api.exceptions.HyracksDataException: Cannot load an index 
that is not empty
        at 
org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:228)
        at 
org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.initialize(SuperActivityOperatorNodePushable.java:84)
        at org.apache.hyracks.control.nc.Task.run(Task.java:274)
        ... 3 more




I can load the 100 files of catalog_returns table successfully.
I have checked such issue and find there has been such problem here:

https://www.mail-archive.com/[email protected]/mail2.html

I am not sure if this has been solved. If so, how to solve the problem?





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to