Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

TAJO-2048: QueryMaster and TajoWorker should support the exception propagation. #936

Closed
wants to merge 25 commits into from

Conversation

jinossy
Copy link
Member

@jinossy jinossy commented Jan 11, 2016

No description provided.

@@ -1415,8 +1434,9 @@ public StageState transition(Stage stage, StageEvent stageEvent) {
stage.abort(StageState.KILLED);
return StageState.KILLED;
} else {
LOG.error("Invalid State " + stage.getSynchronizedState() + " State");
stage.abort(StageState.ERROR);
TajoInternalError error = new TajoInternalError("Invalid State " + stage.getSynchronizedState() + " State");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder when this else clause can be executed. Would you explain some details?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jihoonson
this else clause seems to never be executed. I will remove this code block for clarify

@jihoonson
Copy link
Contributor

Hi @jinossy, thanks for your work. It looks good overall.
I left a couple of comments. Please consider them.

@jihoonson
Copy link
Contributor

+1 ship it!

@asfgit asfgit closed this in b8b7066 Jan 22, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants