问题
Does every jdbc connection to apache spark thrift server create a seperate spark context? If the answer is "No", how to create a seperate spark context for every JDBC connection to thrift server.
回答1:
The Spark Context in thrift server is just one. Spark Thrift server is not suitable for high concurrent application access.
来源:https://stackoverflow.com/questions/33175356/spark-context-for-the-thrift-server