Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-20096

Expose the real queue name not null while using --verbose

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.2.0
    • 2.2.0
    • Spark Submit
    • None

    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.

      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
        ....
      

      Attachments

        Activity

          People

            Qin Yao Kent Yao 2
            Qin Yao Kent Yao 2
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: