ASTERIXDB-1145: Fix error reporting in AlgebricksMetaOperatorDescriptor to avoid undeterministic behaviors.

Change-Id: I07b5f0ab95f3b8feda14b7f6b0f591c237c8b4d3
Reviewed-on: https://asterix-gerrit.ics.uci.edu/487
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Till Westmann <tillw@apache.org>
diff --git a/algebricks/algebricks-runtime/src/main/java/org/apache/hyracks/algebricks/runtime/operators/meta/AlgebricksMetaOperatorDescriptor.java b/algebricks/algebricks-runtime/src/main/java/org/apache/hyracks/algebricks/runtime/operators/meta/AlgebricksMetaOperatorDescriptor.java
index 1a7150e..b64071c 100644
--- a/algebricks/algebricks-runtime/src/main/java/org/apache/hyracks/algebricks/runtime/operators/meta/AlgebricksMetaOperatorDescriptor.java
+++ b/algebricks/algebricks-runtime/src/main/java/org/apache/hyracks/algebricks/runtime/operators/meta/AlgebricksMetaOperatorDescriptor.java
@@ -108,7 +108,7 @@
                 try {
                     startOfPipeline.open();
                 } catch (HyracksDataException e) {
-                    startOfPipeline.fail();
+                    throw e;
                 } finally {
                     startOfPipeline.close();
                 }