You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Xiaoyu Yao (JIRA)" <ji...@apache.org> on 2016/05/16 19:29:12 UTC
[jira] [Updated] (HADOOP-13159) Fix potential NPE in Metrics2
source for DecayRpcScheduler
[ https://issues.apache.org/jira/browse/HADOOP-13159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiaoyu Yao updated HADOOP-13159:
--------------------------------
Summary: Fix potential NPE in Metrics2 source for DecayRpcScheduler (was: Fix potential NPE in Metrics2 source for RPC scheduler)
> Fix potential NPE in Metrics2 source for DecayRpcScheduler
> ----------------------------------------------------------
>
> Key: HADOOP-13159
> URL: https://issues.apache.org/jira/browse/HADOOP-13159
> Project: Hadoop Common
> Issue Type: Bug
> Components: ipc
> Affects Versions: 2.8.0
> Reporter: Xiaoyu Yao
> Assignee: Xiaoyu Yao
>
> HADOOP-12985 introduced a few metrics2 counters for DecayRpcScheduler. The counters should be initialized before the updater thread is created/executed. Otherwise, this is a chance of NPE if the updater thread get executed before the counters are fully initialized. I will post a patch for it shortly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org