[
https://issues.apache.org/jira/browse/YARN-865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13705477#comment-13705477
]
Hitesh Shah commented on YARN-865:
----------------------------------
[~xgong] why is the following done for each rm app ( i.e inside the for loop )?
{code}
+ if (appTypesQuery != null && !appTypesQuery.isEmpty()) {
+ String[] appTypes = appTypesQuery.split(",");
+ Set<String> applicationTypes = new HashSet<String>();
+ for (String appType : appTypes) {
+ if (!appType.trim().isEmpty()) {
+ applicationTypes.add(appType);
+ }
+ }
{code}
> RM webservices can't query on application Types
> -----------------------------------------------
>
> Key: YARN-865
> URL: https://issues.apache.org/jira/browse/YARN-865
> Project: Hadoop YARN
> Issue Type: Improvement
> Reporter: Xuan Gong
> Assignee: Xuan Gong
> Attachments: MR-5337.1.patch, YARN-865.1.patch, YARN-865.2.patch
>
>
> The resource manager web service api to get the list of apps doesn't have a
> query parameter for appTypes.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira