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

[ATSv2] Registering timeline client before AMRMClient service init throw exception.

    Details

    • Hadoop Flags:
      Reviewed

      Description

      It is observed that registering timeline v2 client with AMRMClient before serviceInit throw exception in AppMaster. This causes AppMaster start up failure.

      Caused by: org.apache.hadoop.yarn.exceptions.YarnException: register timeline v2 client when not configured.
      	at org.apache.hadoop.yarn.client.api.AMRMClient.registerTimelineV2Client(AMRMClient.java:708)
      	at org.apache.hadoop.yarn.client.api.async.AMRMClientAsync.registerTimelineV2Client(AMRMClientAsync.java:354)
      

      AMRMClient should not assume that timeline client will be registered only after serviceInit. In composite service model, this will be a issue.

        Attachments

        1. YARN-7152.02.patch
          3 kB
          Rohith Sharma K S
        2. YARN-7152.01.patch
          2 kB
          Rohith Sharma K S

          Activity

            People

            • Assignee:
              rohithsharma Rohith Sharma K S
              Reporter:
              rohithsharma Rohith Sharma K S
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: