Skip to content
Snippets Groups Projects
Commit 53bb0308 authored by Jeff Zhang's avatar Jeff Zhang Committed by Sean Owen
Browse files

doc fix of HiveThriftServer

## What changes were proposed in this pull request?

Just minor doc fix.

\cc yhuai

Author: Jeff Zhang <zjffdu@apache.org>

Closes #13659 from zjffdu/doc_fix.
parent a431e3f1
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ import org.apache.spark.ui._
import org.apache.spark.ui.UIUtils._
/** Page for Spark Web UI that shows statistics of a thrift server */
/** Page for Spark Web UI that shows statistics of the thrift server */
private[ui] class ThriftServerPage(parent: ThriftServerTab) extends WebUIPage("") with Logging {
private val listener = parent.listener
......
......@@ -29,7 +29,7 @@ import org.apache.spark.sql.hive.thriftserver.HiveThriftServer2.{ExecutionInfo,
import org.apache.spark.ui._
import org.apache.spark.ui.UIUtils._
/** Page for Spark Web UI that shows statistics of a streaming job */
/** Page for Spark Web UI that shows statistics of jobs running in the thrift server */
private[ui] class ThriftServerSessionPage(parent: ThriftServerTab)
extends WebUIPage("session") with Logging {
......@@ -60,7 +60,7 @@ private[ui] class ThriftServerSessionPage(parent: ThriftServerTab)
UIUtils.headerSparkPage("JDBC/ODBC Session", content, parent, Some(5000))
}
/** Generate basic stats of the streaming program */
/** Generate basic stats of the thrift server program */
private def generateBasicStats(): Seq[Node] = {
val timeSinceStart = System.currentTimeMillis() - startTime.getTime
<ul class ="unstyled">
......
......@@ -24,7 +24,7 @@ import org.apache.spark.sql.hive.thriftserver.ui.ThriftServerTab._
import org.apache.spark.ui.{SparkUI, SparkUITab}
/**
* Spark Web UI tab that shows statistics of a streaming job.
* Spark Web UI tab that shows statistics of jobs running in the thrift server.
* This assumes the given SparkContext has enabled its SparkUI.
*/
private[thriftserver] class ThriftServerTab(sparkContext: SparkContext)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment