Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here. Want to know more about what has changed? Check out the Community News blog.

Concurent SQL query via Scala

Concurent SQL query via Scala




Spark newbie.  need to test Hadoop-Cloudera Cluster for performance under concurrent queries


so I'm looking to send multiple queries concurrently via IntelliJ/Scala...


i.e. something like this pseudo code


     for ctr in 5000:

          resultDf = sparkSession.sql(...)



just to see how the cluster would handle multiple concurrent requests



Dev IDE: intelliJ with Scala.


Not sure how to do this, looking for guidance

also, can I quickly simulate this concurrent query in the HUE browser?