[ https://issues.apache.org/jira/browse/HADOOP-16641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gopal Vijayaraghavan updated HADOOP-16641: ------------------------------------------ Component/s: conf > RPC: Heavy contention on Configuration.getClassByNameOrNull > ------------------------------------------------------------ > > Key: HADOOP-16641 > URL: https://issues.apache.org/jira/browse/HADOOP-16641 > Project: Hadoop Common > Issue Type: Bug > Components: conf > Reporter: Gopal Vijayaraghavan > Priority: Major > Attachments: config-get-class-by-name.png > > > https://github.com/apache/hadoop/blob/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java#L2589 > {code} > map = Collections.synchronizedMap( > new WeakHashMap<String, WeakReference<Class<?>>>()); > {code} > This synchronizes all lookups across the same class-loader across all threads > & yields rpc threads. > !config-get-class-by-name.png! -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org