commit f0cb3c53528bad49f16da79e3af0509b2771f92c Author: Alice Fan Date: Tue Aug 14 19:25:05 2018 -0700 HIVE-20237 : Do Not Print StackTraces to STDERR in HiveMetaStore diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java index 324035a809..8997700b03 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java @@ -9219,7 +9219,6 @@ public static void startMetaStore(int port, HadoopThriftAuthBridge bridge, public static void startMetaStore(int port, HadoopThriftAuthBridge bridge, Configuration conf, Lock startLock, Condition startCondition, AtomicBoolean startedServing) throws Throwable { - try { isMetaStoreRemote = true; // Server will create new threads up to max as necessary. After an idle // period, it will destroy threads to keep the number of threads in the @@ -9374,11 +9373,6 @@ public void processContext(ServerContext serverContext, TTransport tTransport, T signalOtherThreadsToStart(tServer, startLock, startCondition, startedServing); } tServer.serve(); - } catch (Throwable x) { - x.printStackTrace(); - HMSHandler.LOG.error(StringUtils.stringifyException(x)); - throw x; - } } private static void cleanupRawStore() {