Github user steveloughran commented on a diff in the pull request:
https://github.com/apache/spark/pull/7191#discussion_r35808519
--- Diff:
sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkSQLCLIDriver.scala
---
@@ -190,10 +191,14 @@ private[hive] object SparkSQLCLIDriver extends
Logging {
logWarning(e.getMessage)
}
+ // TODO: missing
+/*
val clientTransportTSocketField =
classOf[CliSessionState].getDeclaredField("transport")
clientTransportTSocketField.setAccessible(true)
transport =
clientTransportTSocketField.get(sessionState).asInstanceOf[TSocket]
+*/
+ transport = null
--- End diff --
1. There's some changes to catch method/class renaming.
2. The commented out stuff is a comment out of some code that was using
reflection to play with transports. I think that could just be cut altogether,
given that remote cli isn't going to be viable.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]