[
https://issues.apache.org/jira/browse/SPARK-20096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kent Yao updated SPARK-20096:
-----------------------------
Description:
while submit apps with -v or --verbose, we can print the right queue name, but
if we set a queue name with `spark.yarn.queue` by --conf or in the
spark-default.conf, we just got `null` for the queue in Parsed arguments.
{code}
bin/spark-shell -v --conf spark.yarn.queue=thequeue
Using properties file:
/home/hadoop/spark-2.1.0-bin-apache-hdp2.7.3/conf/spark-defaults.conf
....
Adding default property: spark.yarn.queue=default
Parsed arguments:
master yarn
deployMode client
...
queue null
....
verbose true
Spark properties used, including those specified through
--conf and those from the properties file
/home/hadoop/spark-2.1.0-bin-apache-hdp2.7.3/conf/spark-defaults.conf:
spark.yarn.queue -> thequeue
....
{code}
was:while submit apps with -v or --verbose, we can print the right queue
name, but if we set a queue name with `spark.yarn.queue` by --conf or in the
spark-default.conf, we just got `null`
> Expose the real queue name not null while using --verbose
> ---------------------------------------------------------
>
> Key: SPARK-20096
> URL: https://issues.apache.org/jira/browse/SPARK-20096
> Project: Spark
> Issue Type: Bug
> Components: Spark Submit
> Affects Versions: 2.2.0
> Reporter: Kent Yao
> Priority: Minor
>
> while submit apps with -v or --verbose, we can print the right queue name,
> but if we set a queue name with `spark.yarn.queue` by --conf or in the
> spark-default.conf, we just got `null` for the queue in Parsed arguments.
> {code}
> bin/spark-shell -v --conf spark.yarn.queue=thequeue
> Using properties file:
> /home/hadoop/spark-2.1.0-bin-apache-hdp2.7.3/conf/spark-defaults.conf
> ....
> Adding default property: spark.yarn.queue=default
> Parsed arguments:
> master yarn
> deployMode client
> ...
> queue null
> ....
> verbose true
> Spark properties used, including those specified through
> --conf and those from the properties file
> /home/hadoop/spark-2.1.0-bin-apache-hdp2.7.3/conf/spark-defaults.conf:
> spark.yarn.queue -> thequeue
> ....
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]