diff options
author | Nong Li <nong@databricks.com> | 2015-12-22 13:27:28 -0800 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2015-12-22 13:27:28 -0800 |
commit | 575a1327976202614a6d3268918ae8dad49fcd72 (patch) | |
tree | 5085e5983a8d5e4131123895f8a186cc440214e4 /sql/hive-thriftserver | |
parent | 7c970f9093bda0a789d7d6e43c72a6d317fc3723 (diff) | |
download | spark-575a1327976202614a6d3268918ae8dad49fcd72.tar.gz spark-575a1327976202614a6d3268918ae8dad49fcd72.tar.bz2 spark-575a1327976202614a6d3268918ae8dad49fcd72.zip |
[SPARK-12471][CORE] Spark daemons will log their pid on start up.
Author: Nong Li <nong@databricks.com>
Closes #10422 from nongli/12471-pids.
Diffstat (limited to 'sql/hive-thriftserver')
-rw-r--r-- | sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2.scala b/sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2.scala index a4fd0c3ce9..3e3f0382f6 100644 --- a/sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2.scala +++ b/sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2.scala @@ -67,6 +67,7 @@ object HiveThriftServer2 extends Logging { } def main(args: Array[String]) { + Utils.initDaemon(log) val optionsProcessor = new HiveServerServerOptionsProcessor("HiveThriftServer2") if (!optionsProcessor.process(args)) { System.exit(-1) |