Skip to content

Commit

Permalink
This is a follow up of apache#3175 for branch 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
liancheng committed Nov 9, 2014
1 parent 0a40eac commit 8791d87
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 8791d87

Please sign in to comment.