spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [spark] juliuszsompolski commented on a change in pull request #26340: [WIP][SPARK-29108][SQL] Add new module sql/thriftserver with all code and UT
Date Thu, 31 Oct 2019 13:12:05 GMT
juliuszsompolski commented on a change in pull request #26340: [WIP][SPARK-29108][SQL] Add
new module sql/thriftserver  with all code and UT

 File path: sql/thriftserver/src/main/scala/org/apache/spark/sql/thriftserver/SparkThriftServer2.scala
 @@ -0,0 +1,303 @@
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.spark.sql.thriftserver
+import scala.collection.JavaConverters._
+import scala.collection.mutable
+import scala.collection.mutable.ArrayBuffer
+import org.apache.hadoop.hive.conf.HiveConf
+import org.apache.spark.SparkContext
+import org.apache.spark.annotation.DeveloperApi
+import org.apache.spark.internal.Logging
+import org.apache.spark.internal.config.UI.UI_ENABLED
+import org.apache.spark.scheduler.{SparkListener, SparkListenerApplicationEnd, SparkListenerJobStart}
+import org.apache.spark.sql.SQLContext
+import org.apache.spark.sql.hive.HiveUtils
+import org.apache.spark.sql.internal.SQLConf
+import org.apache.spark.sql.thriftserver.server.SparkThriftServer
+import org.apache.spark.sql.thriftserver.ui.ThriftServerTab
+import org.apache.spark.util.{ShutdownHookManager, Utils}
+ * The main entry point for the Spark SQL port of HiveServer2.  Starts up a `SparkSQLContext`
and a
+ * `HiveThriftServer2` thrift server.
+ */
+object SparkThriftServer2 extends Logging {
 Review comment:
   Could this become `SparkThriftServer`, a companion object to the `SparkThriftServer` class
in the server package?

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message