Bibin A Chundatt created YARN-5845:
--------------------------------------

             Summary: Skip aclUpdated event publish to timelineserver or 
recovery
                 Key: YARN-5845
                 URL: https://issues.apache.org/jira/browse/YARN-5845
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: Bibin A Chundatt
            Assignee: Bibin A Chundatt
            Priority: Critical


Currently ACL update event is send to timeline server even on recovery 
{{RMAppManager#createAndPopulateNewRMApp}}.
For 10K completed application when RM is restarted 10K ACL updated event is 
added to timelinesever causing unnecessary over loading of system

{code}
    String appViewACLs = submissionContext.getAMContainerSpec()
        .getApplicationACLs().get(ApplicationAccessType.VIEW_APP);
    rmContext.getSystemMetricsPublisher().appACLsUpdated(
        application, appViewACLs, System.currentTimeMillis());
{code}
*Events on each RM restart*
{noformat}
    "events": [{
            "timestamp": 1478520292543,
            "eventtype": "YARN_APPLICATION_ACLS_UPDATED",
            "eventinfo": {}
        }, {
            "timestamp": 1478519600537,
            "eventtype": "YARN_APPLICATION_ACLS_UPDATED",
            "eventinfo": {}
        }, {
            "timestamp": 1478519557101,
            "eventtype": "YARN_APPLICATION_ACLS_UPDATED",
            "eventinfo": {}
        }, 
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to