The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Cloud Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Cloud.
SOLVED

How can I enforce a specific queue when I execute a Hive job ?

I am running Trifacta 4.1.1 on Cloudera CDH 5.12

For resource management purposes, I would like to assign all Trifacta jobs to a specific queue. Is this possible ?

2 REPLIES 2
Trifacta_Alumni
Alteryx Alumni (Retired)

This is based on the existing solution. Type in "Enforce Yarn queue through Hive connection in Cloudera" in the search button to see the detailed solution with example.

 

1. Log into your Trifacta Server as an administrator

2. Go to URL http://<server>:3005/v2/connections and save the content under original_connection.txt

3. Create a params file, make sure that the params section of #2 is retained and the entry connectStrOpts is appended with “;sess_var_list?mapred.job.queue.name=<your_queue_name>”

Replace <your_queue_name> with the actual Yarn queue name you want the job executed in

Trifacta_Alumni
Alteryx Alumni (Retired)

The first answer is to route any Hadoop jobs sourced from Hive to a specific YARN job queue.

But if you need to route any Trifacta jobs to a specific Yarn queue, you need to specify the queue name in Trifacta config file (/opt/trifacta/conf/trifacta-conf.json) under "spark.props.spark.yarn.queue": "default" (replace default by your queue name).