Can anyone help me with starting spark thrift server? I am running my script in standalone mode and I want to fetch data in my business intelligence tool.
In order to do that I need to start thrift server. I tried running shell script:
$SPARK_HOME/sbin/start-thriftserver.sh
but I get an error:
error "ps unknown option --0"
In Spark 2.2.1
cd %SPARK_HOME%\bin
spark-class org.apache.spark.deploy.SparkSubmit --class org.apache.spark.sql.hive.thriftserver.HiveThriftServer2 spark-internal
this started the spark thrift server in windows. In another terminal run the below beeline command to open a jdbc connection
cd %SPARK_HOME%\bin
beeline -u jdbc:hive2://localhost:10000
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With