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 "Ted Yu (JIRA)" <ji...@apache.org> on 2014/10/10 23:58:34 UTC

[jira] [Created] (HADOOP-11190) Potentially stale value is used in SelfRenewingLease ctor

Ted Yu created HADOOP-11190:
-------------------------------

             Summary: Potentially stale value is used in SelfRenewingLease ctor
                 Key: HADOOP-11190
                 URL: https://issues.apache.org/jira/browse/HADOOP-11190
             Project: Hadoop Common
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor


Here is w.r.t. threadNumber, shown in the code around line 102:
{code}
    renewer.setName("AzureLeaseRenewer-" + threadNumber++);
{code}
Since there is no synchronization involved, potentially stale value may be read.



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