[ https://issues.apache.org/jira/browse/YARN-7740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16328172#comment-16328172 ]
Jian He commented on YARN-7740: ------------------------------- add one more fix to handle if retrieved ips is empty, should not set in to the ips list {code} - status.setIPs(ips == null ? null : Arrays.asList(ips.split(","))); + status.setIPs(StringUtils.isEmpty(ips) ? null : + Arrays.asList(ips.split(","))); {code} > Fix logging for destroy yarn service cli when app does not exist and some > minor bugs > ------------------------------------------------------------------------------------ > > Key: YARN-7740 > URL: https://issues.apache.org/jira/browse/YARN-7740 > Project: Hadoop YARN > Issue Type: Bug > Components: yarn-native-services > Reporter: Yesha Vora > Assignee: Jian He > Priority: Major > Attachments: YARN-7740.04.patch, YARN-7740.05.patch, > YARN-7740.1.patch, YARN-7740.2.patch, YARN-7740.3.patch > > > Scenario: > Run "yarn app -destroy" cli with a application name which does not exist. > Here, The cli should return a message " Application does not exists" instead > it is returning a message "Destroyed cluster httpd-xxx" -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org