I got error:
starting org.apache.spark.sql.hive.thriftserver.HiveThriftServer2, logging to /opt/spark-2.4.0-bin-hadoop2.7/logs/spark-root-org.apache.spark.sql.hive.thriftserver.HiveThriftServer2–1-kvm-018412.novalocal.out
failed to launch: nice -n 0 bash /opt/spark-2.4.0-bin-hadoop2.7/bin/spark-submit — class org.apache.spark.sql.hive.thriftserver.HiveThriftServer2 — name Thrift JDBC/ODBC Server — master k8s://https://c7.us-south.containers.cloud.ibm.com:31112 — name spark-sql — deploy-mode cluster — hiveconf hive.server2.thrift.port 10000 — conf spark.executor.instances=1 — conf spark.executor.memory=2G — conf spark.driver.memory=2G — conf spark.executor.cores=1 — conf spark.kubernetes.container.image=deveshk/spark:v2.4.0-alpha — conf spark.kubernetes.authenticate.driver.serviceAccountName=spark
Spark Command: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.212.b04–0.el7_6.x86_64/jre/bin/java -cp /opt/spark-2.4.0-bin-hadoop2.7/conf/:/opt/spark-2.4.0-bin-hadoop2.7/jars/* org.apache.spark.deploy.SparkSubmit — master k8s://https://c7.us-south.containers.cloud.ibm.com:31112 — deploy-mode cluster — conf spark.executor.memory=2G — conf spark.driver.memory=2G — conf spark.kubernetes.container.image=deveshk/spark:v2.4.0-alpha — conf spark.executor.cores=1 — conf spark.kubernetes.authenticate.driver.serviceAccountName=spark — conf spark.executor.instances=1 — class org.apache.spark.sql.hive.thriftserver.HiveThriftServer2 — name Thrift JDBC/ODBC Server — name spark-sql spark-internal — hiveconf hive.server2.thrift.port 10000
========================================
Exception in thread “main” org.apache.spark.SparkException: Cluster deploy mode is not applicable to Spark Thrift server.
at org.apache.spark.deploy.SparkSubmit.error(SparkSubmit.scala:857)
at org.apache.spark.deploy.SparkSubmit.prepareSubmitEnvironment(SparkSubmit.scala:296)
at org.apache.spark.deploy.SparkSubmit.submit(SparkSubmit.scala:143)
at org.apache.spark.deploy.SparkSubmit.doSubmit(SparkSubmit.scala:86)
at org.apache.spark.deploy.SparkSubmit$$anon$2.doSubmit(SparkSubmit.scala:924)
at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:933)
at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
full log in /opt/spark-2.4.0-bin-hadoop2.7/logs/spark-root-org.apache.spark.sql.hive.thriftserver.HiveThriftServer2–1-kvm-018412.novalocal.out