hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Krogen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-16013) DecayRpcScheduler decay thread should run as a daemon
Date Tue, 18 Dec 2018 17:56:06 GMT
Erik Krogen created HADOOP-16013:

             Summary: 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

{{DecayRpcScheduler}} sets up a {{Timer}} to schedule a decay of the weights it tracks:
    // Setup delay timer
    Timer timer = new Timer();
    DecayTask task = new DecayTask(this, timer);
    timer.scheduleAtFixedRate(task, decayPeriodMillis, decayPeriodMillis);
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

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

View raw message