[ 
https://issues.apache.org/jira/browse/SPARK-36804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jianmeng Li updated SPARK-36804:
--------------------------------
    Description: 
If we submit the spark application with the --verbose parameter in yarn mode, 
we will get the following exception:
{code:java}
Exception in thread "main" java.lang.IllegalArgumentException: 
Unknown/unsupported param List(--verbose)Exception in thread "main" 
{code}
I check the code, found SparkSubmit invoke YarnClusterApplication with 
--verbose arguments, however ClientArguments used by YarnClusterApplication 
don't support that argument by now, as a result, IllegalArgumentException is 
thrown in ClientArguments. I think we can support --verbose in YARN mode to 
keep consistency with other module
 

  was:
If we submit the spark application with the --verbose parameter in yarn mode, 
we will get the following exception:
{code:java}
Exception in thread "main" java.lang.IllegalArgumentException: 
Unknown/unsupported param List(--verbose)Exception in thread "main" 
{code}
I check the code, found SparkSubmit invoke YarnClusterApplication with 
--verbose arguments and ClientArguments used by YarnClusterApplication don't 
support that argument by now, as a result, IllegalArgumentException is thrown 
in ClientArguments. I think we can support --verbose in YARN mode to keep 
consistency with other module


> Using the verbose parameter in yarn mode would cause application submission 
> failure
> -----------------------------------------------------------------------------------
>
>                 Key: SPARK-36804
>                 URL: https://issues.apache.org/jira/browse/SPARK-36804
>             Project: Spark
>          Issue Type: Bug
>          Components: YARN
>    Affects Versions: 3.1.2
>            Reporter: Jianmeng Li
>            Priority: Minor
>
> If we submit the spark application with the --verbose parameter in yarn mode, 
> we will get the following exception:
> {code:java}
> Exception in thread "main" java.lang.IllegalArgumentException: 
> Unknown/unsupported param List(--verbose)Exception in thread "main" 
> {code}
> I check the code, found SparkSubmit invoke YarnClusterApplication with 
> --verbose arguments, however ClientArguments used by YarnClusterApplication 
> don't support that argument by now, as a result, IllegalArgumentException is 
> thrown in ClientArguments. I think we can support --verbose in YARN mode to 
> keep consistency with other module
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to