Skip to content

Commit

Permalink
HIVE-27865: HMS in http mode drops down silently with no errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dengzhhu653 committed Nov 9, 2023
1 parent 2eef89b commit 1e7991b
Showing 1 changed file with 10 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -490,13 +490,11 @@ public void start() throws Throwable {
HMSHandler.LOG.debug("Starting HTTPServer for HMS");
server.setStopAtShutdown(true);
server.start();
HMSHandler.LOG.info("Started the new HTTPServer for metastore on port [" + port
+ "]...");
HMSHandler.LOG.info("Options.minWorkerThreads = "
+ minWorkerThreads);
HMSHandler.LOG.info("Options.maxWorkerThreads = "
+ maxWorkerThreads);
HMSHandler.LOG.info("Enable SSL = " + (sslContextFactory != null));
HMSHandler.LOG.info("Started the new HTTPServer for metastore on port [{}]...", port);
HMSHandler.LOG.info("Options.minWorkerThreads = {}", minWorkerThreads);
HMSHandler.LOG.info("Options.maxWorkerThreads = {}", maxWorkerThreads);
HMSHandler.LOG.info("Enable SSL = {}", (sslContextFactory != null));
server.join();
}

@Override
Expand Down Expand Up @@ -642,15 +640,12 @@ public void processContext(ServerContext serverContext, TTransport tTransport, T
return new ThriftServer() {
@Override
public void start() throws Throwable {
HMSHandler.LOG.info("Started the new metaserver on port [{}]...", port);
HMSHandler.LOG.info("Options.minWorkerThreads = {}", minWorkerThreads);
HMSHandler.LOG.info("Options.maxWorkerThreads = {}", maxWorkerThreads);
HMSHandler.LOG.info("TCP keepalive = {}", tcpKeepAlive);
HMSHandler.LOG.info("Enable SSL = {}", useSSL);
tServer.serve();
HMSHandler.LOG.info("Started the new metaserver on port [" + port
+ "]...");
HMSHandler.LOG.info("Options.minWorkerThreads = "
+ minWorkerThreads);
HMSHandler.LOG.info("Options.maxWorkerThreads = "
+ maxWorkerThreads);
HMSHandler.LOG.info("TCP keepalive = " + tcpKeepAlive);
HMSHandler.LOG.info("Enable SSL = " + useSSL);
}

@Override
Expand Down

0 comments on commit 1e7991b

Please sign in to comment.