Revert "HBASE-24976 Printing the swallowed exception"
This reverts commit 8efd2509e9
.
This commit is contained in:
parent
8efd2509e9
commit
8c11007b7c
|
@ -382,8 +382,13 @@ public class RESTServer implements Constants {
|
|||
this.infoServer.setAttribute("hbase.conf", conf);
|
||||
this.infoServer.start();
|
||||
}
|
||||
try {
|
||||
// start server
|
||||
server.start();
|
||||
} catch (Exception e) {
|
||||
LOG.error(HBaseMarkers.FATAL, "Failed to start server", e);
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
||||
public synchronized void join() throws Exception {
|
||||
|
@ -437,7 +442,6 @@ public class RESTServer implements Constants {
|
|||
server.run();
|
||||
server.join();
|
||||
} catch (Exception e) {
|
||||
LOG.error(HBaseMarkers.FATAL, "Failed to start server", e);
|
||||
System.exit(1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue