I was trying to generate blocks for a second dataset based on the blocks generating on a first dataset. The first dataset blockgen completed successfully. When I tried the second dataset by INDEX
Cannot compile cubert script. Exiting.
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:635)
at java.util.ArrayList.get(ArrayList.java:411)
at com.linkedin.cubert.analyzer.physical.DependencyAnalyzer.getPostCondition(DependencyAnalyzer.java:328)
at com.linkedin.cubert.analyzer.physical.DependencyAnalyzer.exitProgram(DependencyAnalyzer.java:284)
at com.linkedin.cubert.analyzer.physical.PhysicalPlanWalker.walk(PhysicalPlanWalker.java:75)
at com.linkedin.cubert.analyzer.physical.DependencyAnalyzer.rewrite(DependencyAnalyzer.java:93)
at com.linkedin.cubert.ScriptExecutor.rewrite(ScriptExecutor.java:342)
at com.linkedin.cubert.ScriptExecutor.main(ScriptExecutor.java:529)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.hadoop.util.RunJar.main(RunJar.java:197)
JOB "panel image fact BLOCKGEN"
REDUCERS 20;
MAP {
input = LOAD "/path/to/other/input" USING TEXT("schema": ....");
}
BLOCKGEN data BY INDEX "/path/to/first/output" PARTITIONED ON akey;
STORE data INTO "/path/to/other/output" USING RUBIX();
END