[ 
https://issues.apache.org/jira/browse/HADOOP-16013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16740795#comment-16740795
 ] 

Hudson commented on HADOOP-16013:
---------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #15764 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/15764/])
HADOOP-16013. DecayRpcScheduler decay thread should run as a daemon. (cliang: 
rev 01cb958af44b2376bcf579cc65d90566530f733d)
* (edit) 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/DecayRpcScheduler.java


> DecayRpcScheduler decay thread should run as a daemon
> -----------------------------------------------------
>
>                 Key: HADOOP-16013
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16013
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 3.3.0
>            Reporter: Erik Krogen
>            Assignee: Erik Krogen
>            Priority: Major
>             Fix For: 2.10.0, 3.3.0
>
>         Attachments: HADOOP-16013.000.patch
>
>
> {{DecayRpcScheduler}} sets up a {{Timer}} to schedule a decay of the weights 
> it tracks:
> {code}
>     // Setup delay timer
>     Timer timer = new Timer();
>     DecayTask task = new DecayTask(this, timer);
>     timer.scheduleAtFixedRate(task, decayPeriodMillis, decayPeriodMillis);
> {code}
> However this Timer is not set up as a daemon thread. I have seen this cause 
> my JVM to refuse to exit when running, for example, NNThroughputBenchmark 
> with FairCallQueue enabled.



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

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

Reply via email to