Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-9837

YARN Service fails to fetch status for Stopped apps with bigger spec files

    XMLWordPrintableJSON

    Details

      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.

        Attachments

        1. YARN-9837.001.patch
          2 kB
          Tarun Parimi

          Activity

            People

            • Assignee:
              tarunparimi Tarun Parimi
              Reporter:
              tarunparimi Tarun Parimi
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: