[ https://issues.apache.org/jira/browse/YARN-9837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16930770#comment-16930770 ]
Eric Yang commented on YARN-9837: --------------------------------- [~tarunparimi] Thank you for the patch. Patch 001 looks good to me, pending Jenkins reports. > YARN Service fails to fetch status for Stopped apps with bigger spec files > -------------------------------------------------------------------------- > > Key: YARN-9837 > URL: https://issues.apache.org/jira/browse/YARN-9837 > Project: Hadoop YARN > Issue Type: Bug > Components: yarn-native-services > Affects Versions: 3.1.0 > Reporter: Tarun Parimi > Assignee: Tarun Parimi > Priority: Major > Attachments: YARN-9837.001.patch > > > Was unable to fetch status for a STOPPED app due to the below error in RM > logs. > {code:java} > ERROR webapp.ApiServer (ApiServer.java:getService(213)) - Get service failed: > {} > java.io.EOFException: Read of > hdfs://my-cluster:8020/user/appuser/.yarn/services/my-service/my-service.json > finished prematurely > at > org.apache.hadoop.yarn.service.utils.JsonSerDeser.load(JsonSerDeser.java:188) > at > org.apache.hadoop.yarn.service.utils.ServiceApiUtil.loadService(ServiceApiUtil.java:360) > at > org.apache.hadoop.yarn.service.client.ServiceClient.getAppId(ServiceClient.java:1409) > at > org.apache.hadoop.yarn.service.client.ServiceClient.getStatus(ServiceClient.java:1235) > at > org.apache.hadoop.yarn.service.webapp.ApiServer.lambda$getServiceFromClient$3(ApiServer.java:749) > {code} > This seems to happen when the json file my-service.json is larger than 128KB > in my cluster. -- This message was sent by Atlassian Jira (v8.3.2#803003) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org