hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Masatake Iwasaki (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-12609) Fix intermittent failure of TestDecayRpcScheduler
Date Tue, 01 Dec 2015 15:30:11 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-12609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Masatake Iwasaki updated HADOOP-12609:
--------------------------------------
    Attachment: HADOOP-12609.001.patch

{code}
     Timer timer = new Timer();
     DecayTask task = new DecayTask(this, timer);
     timer.scheduleAtFixedRate(task, 0, this.decayPeriodMillis);
{code}
In the constructor of DecayRpcScheduler, DecayTask is scheduled without initial delay. This
makes {{testAccumulate}} and {{testPriority}} non-deterministic. Calling {{decayCurrentCounts}}
immediately after initialization should have no practical meanings.

Attached 001 sets the initial delay to {{decayPeriodMillis}}.


> Fix intermittent failure of TestDecayRpcScheduler
> -------------------------------------------------
>
>                 Key: HADOOP-12609
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12609
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc, test
>            Reporter: Masatake Iwasaki
>            Assignee: Masatake Iwasaki
>            Priority: Minor
>         Attachments: HADOOP-12609.001.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message