You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Bibin A Chundatt (JIRA)" <ji...@apache.org> on 2016/11/07 12:16:58 UTC

[jira] [Created] (YARN-5845) Skip aclUpdated event publish to timelineserver or recovery

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