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