[ https://issues.apache.org/jira/browse/YARN-6082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15834054#comment-15834054 ]
Rohith Sharma K S commented on YARN-6082: ----------------------------------------- overall logically patch looks good to me .. nit : could queueCapacityPerc calculation bring inside if check? {code} if (!calc.isInvalidDivisor(cluster)) { float queueCapacityPerc = queue.getQueueInfo(false, false).getCapacity(); } {code} > Invalid REST api response for getApps since queueUsagePercentage is coming as > INF > --------------------------------------------------------------------------------- > > Key: YARN-6082 > URL: https://issues.apache.org/jira/browse/YARN-6082 > Project: Hadoop YARN > Issue Type: Bug > Affects Versions: 2.7.3 > Reporter: Sunil G > Assignee: Sunil G > Priority: Critical > Attachments: YARN-6082.0001.patch > > > {noformat} > 2017-01-11 07:17:11,475 WARN ipc.Server (Server.java:run(2202)) - Large > response size 4476919 for call > org.apache.hadoop.yarn.api.ApplicationClientProtocolPB.getApplications from > 172.27.0.101:39950 Call#951474 Retry#0 > {noformat} > Above server log is coming and JSON o/p was coming invalid > For eg: > {noformat} > Unexpected token I in JSON at position 851 > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org