Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
None
-
None
-
None
-
None
Description
Here's a snippet from Driver.execute():
// TODO: This error messaging is not very informative. Fix that. errorMessage = "FAILED: Execution Error, return code " + exitVal + " from " + tsk.getClass().getName(); SQLState = "08S01"; console.printError(errorMessage); if (running.size() != 0) { taskCleanup(); } return 9;
I simply returned in case of runtime errors without maintaining SessionState. It could cause resource leak mentioned in HIVE-1959.