Skip to content

Commit

Permalink
[SPARK-4308][SQL] Follow up of apache#3175 for branch 1.1
Browse files Browse the repository at this point in the history
PR apache#3175 is for master branch only and can't be backported to branch 1.1 directly because Hive 0.13.1 support.

Author: Cheng Lian <lian@databricks.com>

Closes apache#3176 from liancheng/fix-op-state-for-1.1 and squashes the following commits:

8791d87 [Cheng Lian] This is a follow up of apache#3175 for branch 1.1
  • Loading branch information
liancheng authored and marmbrus committed Nov 11, 2014
1 parent 86b1bd0 commit b3ef06b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ private[thriftserver] class SparkSQLOperationManager(hiveContext: HiveContext)
// Actually do need to catch Throwable as some failures don't inherit from Exception and
// HiveServer will silently swallow them.
case e: Throwable =>
setState(OperationState.ERROR)
logError("Error executing query:",e)
throw new HiveSQLException(e.toString)
}
Expand Down

0 comments on commit b3ef06b

Please sign in to comment.