cloud-fan commented on code in PR #44575:
URL: https://github.com/apache/spark/pull/44575#discussion_r1444575393


##########
sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveUtils.scala:
##########
@@ -201,6 +201,16 @@ private[spark] object HiveUtils extends Logging {
     .booleanConf
     .createWithDefault(true)
 
+  val HIVE_THRIFT_SERVER_EXIT_ON_ERROR =
+    buildConf("spark.sql.hive.thriftServer.exitOnThriftCLIServiceError")
+      .internal()
+      .doc("When true, System.exit(-1) will be called if the underlying 
TServer/HTTPServer " +
+        "encounters an error when start serving. When false, the error will be 
thrown which" +
+        "enables error handling of the DeveloperApi 
`HiveThriftServer2.startWithContext`")
+      .version("4.0.0")
+      .booleanConf
+      .createWithDefault(true)

Review Comment:
   How about non-thriftserver? Maybe we should clarify what is "retry", then 
people can understand when to set this config.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to