Murtadha Hubail has uploaded a new change for review.
https://asterix-gerrit.ics.uci.edu/2861
Change subject: [NO ISSUE][FAIL] Use Formatted Exception For Node Not Live
......................................................................
[NO ISSUE][FAIL] Use Formatted Exception For Node Not Live
- user model changes: no
- storage format changes: no
- interface changes: no
Change-Id: I06c42a8205c439fd2d320f053c79ed803aaa6b4a
---
M
hyracks-fullstack/hyracks/hyracks-control/hyracks-control-cc/src/main/java/org/apache/hyracks/control/cc/executor/JobExecutor.java
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb
refs/changes/61/2861/1
diff --git
a/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-cc/src/main/java/org/apache/hyracks/control/cc/executor/JobExecutor.java
b/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-cc/src/main/java/org/apache/hyracks/control/cc/executor/JobExecutor.java
index 06af2d8..7a1e5b4 100644
---
a/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-cc/src/main/java/org/apache/hyracks/control/cc/executor/JobExecutor.java
+++
b/hyracks-fullstack/hyracks/hyracks-control/hyracks-control-cc/src/main/java/org/apache/hyracks/control/cc/executor/JobExecutor.java
@@ -470,7 +470,7 @@
throw new HyracksException("No satisfiable location found for " +
taskAttempt.getTaskAttemptId());
}
if (!liveNodes.contains(nodeId)) {
- throw new HyracksException("Node " + nodeId + " not live");
+ throw HyracksException.create(ErrorCode.NO_SUCH_NODE, nodeId);
}
return nodeId;
}
--
To view, visit https://asterix-gerrit.ics.uci.edu/2861
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I06c42a8205c439fd2d320f053c79ed803aaa6b4a
Gerrit-PatchSet: 1
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Murtadha Hubail <[email protected]>