Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.1.0
-
None
Description
Was unable to fetch status for a STOPPED app due to the below error in RM logs.
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)
This seems to happen when the json file my-service.json is larger than 128KB in my cluster.