HBASE-6161 Log Error when thrift server fails to start up
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1346231 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
91d42fe70a
commit
9a1ba2926a
|
@ -247,7 +247,7 @@ public class ThriftServerRunner implements Runnable {
|
||||||
setupServer();
|
setupServer();
|
||||||
tserver.serve();
|
tserver.serve();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
LOG.fatal("Cannot run ThriftServer");
|
LOG.fatal("Cannot run ThriftServer", e);
|
||||||
// Crash the process if the ThriftServer is not running
|
// Crash the process if the ThriftServer is not running
|
||||||
System.exit(-1);
|
System.exit(-1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue