FAQ
Author: jxiang
Date: Wed Apr 1 15:16:06 2015
New Revision: 1670667

URL: http://svn.apache.org/r1670667
Log:
HIVE-10167: HS2 logs the server started only before the server is shut down

Modified:
     hive/trunk/service/src/java/org/apache/hive/service/cli/thrift/ThriftBinaryCLIService.java

Modified: hive/trunk/service/src/java/org/apache/hive/service/cli/thrift/ThriftBinaryCLIService.java
URL: http://svn.apache.org/viewvc/hive/trunk/service/src/java/org/apache/hive/service/cli/thrift/ThriftBinaryCLIService.java?rev=1670667&r1=1670666&r2=1670667&view=diff
==============================================================================
--- hive/trunk/service/src/java/org/apache/hive/service/cli/thrift/ThriftBinaryCLIService.java (original)
+++ hive/trunk/service/src/java/org/apache/hive/service/cli/thrift/ThriftBinaryCLIService.java Wed Apr 1 15:16:06 2015
@@ -92,10 +92,10 @@ public class ThriftBinaryCLIService exte

        // TCP Server
        server = new TThreadPoolServer(sargs);
- server.serve();
- String msg = "Started " + ThriftBinaryCLIService.class.getSimpleName() + " on port "
+ String msg = "Starting " + ThriftBinaryCLIService.class.getSimpleName() + " on port "
            + portNum + " with " + minWorkerThreads + "..." + maxWorkerThreads + " worker threads";
        LOG.info(msg);
+ server.serve();
      } catch (Throwable t) {
        LOG.fatal(
            "Error starting HiveServer2: could not start "

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommits @
categorieshive, hadoop
postedApr 1, '15 at 3:16p
activeApr 1, '15 at 3:16p
posts1
users1
websitehive.apache.org

1 user in discussion

Jxiang: 1 post

People

Translate

site design / logo © 2021 Grokbase