[
https://issues.apache.org/jira/browse/YARN-7076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16142164#comment-16142164
]
Jason Lowe commented on YARN-7076:
----------------------------------
Seems like we're going to be technically incompatible no matter how we fix
this. Either we make ClientRMService#getApplications be case-insensitive which
theoretically breaks someone who was leveraging case-sensitivity via that API
call, or we change the CLI to be case-sensitive in its inputs. The latter is
probably going to be more surprising than the latter, so I propose we change
ClientRMService#getApplications to be case-insensitive. Also it appears the
equivalent API call in the web services already expects appType matching to be
case-insensitive, so changing this to be case-insensitive would make it
consistent.
> yarn application -list -appTypes <appType> is not working
> ---------------------------------------------------------
>
> Key: YARN-7076
> URL: https://issues.apache.org/jira/browse/YARN-7076
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Jian He
> Priority: Blocker
>
> yarn application -list -appTypes <appType> is not working
> Looks like it's because the ApplicationCLI pass in the appType as uppercase,
> but ClientRMService#getApplications is case sensitive, so if user submits an
> app with lowercase appType, it wont work
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]