You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2018/06/20 17:15:00 UTC

[jira] [Created] (HADOOP-15549) Upgrade to commons-configuration 2.1 regresses task CPU consumption

Todd Lipcon created HADOOP-15549:
------------------------------------

             Summary: Upgrade to commons-configuration 2.1 regresses task CPU consumption
                 Key: HADOOP-15549
                 URL: https://issues.apache.org/jira/browse/HADOOP-15549
             Project: Hadoop Common
          Issue Type: Bug
          Components: metrics
    Affects Versions: 3.0.2
            Reporter: Todd Lipcon
            Assignee: Todd Lipcon


HADOOP-13660 upgraded from commons-configuration 1.x to 2.x. commons-configuration is used when parsing the metrics configuration properties file. The new builder API used in the new version apparently makes use of a bunch of very bloated reflection and classloading nonsense to achieve the same goal, and this results in a regression of >100ms of CPU time as measured by a program which simply initializes DefaultMetricsSystem.

This isn't a big deal for long-running daemons, but for MR tasks which might only run a few seconds on poorly-tuned jobs, this can be noticeable.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org