You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Tarun Parimi (Jira)" <ji...@apache.org> on 2019/09/16 17:23:00 UTC

[jira] [Updated] (YARN-9837) YARN Service fails to fetch status for Stopped apps with bigger spec files

     [ https://issues.apache.org/jira/browse/YARN-9837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tarun Parimi updated YARN-9837:
-------------------------------
    Attachment: YARN-9837.001.patch

> 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org