diff --git a/ql/src/java/org/apache/hadoop/hive/ql/cache/results/QueryResultsCache.java b/ql/src/java/org/apache/hadoop/hive/ql/cache/results/QueryResultsCache.java index 517ead8c45..54c2425135 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/cache/results/QueryResultsCache.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/cache/results/QueryResultsCache.java @@ -401,7 +401,7 @@ public static void initialize(HiveConf conf) throws IOException { if (metrics != null) { registerMetrics(metrics, instance); } - } catch (IOException err) { + } catch (Exception err) { inited.set(false); throw err; }