Github user ozzieba commented on a diff in the pull request:
https://github.com/apache/spark/pull/20272#discussion_r162108920
--- Diff: core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala ---
@@ -328,7 +328,7 @@ object SparkSubmit extends CommandLineUtils with
Logging {
printErrorAndExit("Cluster deploy mode is not applicable to Spark
shells.")
case (_, CLUSTER) if isSqlShell(args.mainClass) =>
printErrorAndExit("Cluster deploy mode is not applicable to Spark
SQL shell.")
- case (_, CLUSTER) if isThriftServer(args.mainClass) =>
+ case (_, CLUSTER) if (clusterManager != KUBERNETES) &&
isThriftServer(args.mainClass) =>
printErrorAndExit("Cluster deploy mode is not applicable to Spark
Thrift server.")
--- End diff --
Can you elaborate on what might go wrong? I have been using it successfully
to run queries, is there anything else that should be tested?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]