diff --git metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreUtils.java metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreUtils.java index 38dc4062f8..40e408cc31 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreUtils.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreUtils.java @@ -393,7 +393,7 @@ static public Deserializer getDeserializer(Configuration conf, return deserializer; } catch (RuntimeException e) { throw e; - } catch (Exception e) { + } catch (Throwable e) { LOG.error("error in initSerDe: " + e.getClass().getName() + " " + e.getMessage(), e); throw new MetaException(e.getClass().getName() + " " + e.getMessage()); @@ -436,7 +436,7 @@ static public Deserializer getDeserializer(Configuration conf, return deserializer; } catch (RuntimeException e) { throw e; - } catch (Exception e) { + } catch (Throwable e) { LOG.error("error in initSerDe: " + e.getClass().getName() + " " + e.getMessage(), e); throw new MetaException(e.getClass().getName() + " " + e.getMessage());