Skip to content

Commit

Permalink
Flink queue mapping modified
Browse files Browse the repository at this point in the history
Queue will be added only when "flink run" has been called
PNDA-4796
  • Loading branch information
dharaneeshvrd committed Aug 2, 2018
1 parent 92c89e2 commit f687486
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/resource-manager/templates/yarn-common-wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ CLI=`basename "$0"`
if [ $CLI == "hive" ] || [ $CLI == "beeline" ]; then
#--hiveconf tez.queue.name=dev
PROP=('--hiveconf' 'tez.queue.name')
elif [ $CLI == "flink" ] || [ $CLI == "pyflink.sh" ]; then
elif [ $CLI == "flink" ] && [ "$1" == "run" ] || [ $CLI == "pyflink.sh" ]; then
PROP=('-yqu' '')
else
PROP=('--queue' '')
Expand Down

0 comments on commit f687486

Please sign in to comment.