Apache Spark SQL Connection¶
The Apache Spark SQL connection type enables connection to Apache Spark via the spark-sql
command.
Default Connection IDs¶
SparkSqlHook uses spark_sql_default
by default.
Configuring the Connection¶
- Host (required)
The host to connect to, it can be
local
,yarn
or an URL.- Port (optional)
Specify the port in case of host be an URL.
- YARN Queue
The name of the YARN queue to which the application is submitted.
Warning
Make sure you trust your users with the ability to configure the host settings as it may enable the connection to establish communication with external servers. It’s crucial to understand that directing the connection towards a malicious server can lead to significant security vulnerabilities, including the risk of encountering Remote Code Execution (RCE) attacks.