hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mukul Kumar Singh (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-11850) Ozone: Stack Overflow in XceiverClientManager because of race condition in accessing openClient
Date Thu, 18 May 2017 14:53:04 GMT
Mukul Kumar Singh created HDFS-11850:
----------------------------------------

             Summary: Ozone: Stack Overflow in XceiverClientManager because of race condition
in accessing openClient
                 Key: HDFS-11850
                 URL: https://issues.apache.org/jira/browse/HDFS-11850
             Project: Hadoop HDFS
          Issue Type: Sub-task
          Components: ozone
            Reporter: Mukul Kumar Singh
            Assignee: Mukul Kumar Singh


There is a possible race condition in accessing the open client has, it is because of unlocked
access of the hash in acquireClient.

This can cause stack overflow and also leaking client in all probabilities
{code}
        at com.google.common.cache.LocalCache$Segment.put(LocalCache.java:3019)
        at com.google.common.cache.LocalCache.put(LocalCache.java:4365)
        at com.google.common.cache.LocalCache$LocalManualCache.put(LocalCache.java:5077)
        at org.apache.hadoop.scm.XceiverClientManager$1.onRemoval(XceiverClientManager.java:85)
        at com.google.common.cache.LocalCache.processPendingNotifications(LocalCache.java:1966)
        at com.google.common.cache.LocalCache$Segment.runUnlockedCleanup(LocalCache.java:3650)
        at com.google.common.cache.LocalCache$Segment.postWriteCleanup(LocalCache.java:3626)
        at com.google.common.cache.LocalCache$Segment.put(LocalCache.java:3019)
        at com.google.common.cache.LocalCache.put(LocalCache.java:4365)
        at com.google.common.cache.LocalCache$LocalManualCache.put(LocalCache.java:5077)
        at org.apache.hadoop.scm.XceiverClientManager$1.onRemoval(XceiverClientManager.java:85)
        at com.google.common.cache.LocalCache.processPendingNotifications(LocalCache.java:1966)
        at com.google.common.cache.LocalCache$Segment.runUnlockedCleanup(LocalCache.java:3650)
        at com.google.common.cache.LocalCache$Segment.postWriteCleanup(LocalCache.java:3626)
        at com.google.common.cache.LocalCache$Segment.put(LocalCache.java:3019)
        at com.google.common.cache.LocalCache.put(LocalCache.java:4365)
        at com.google.common.cache.LocalCache$LocalManualCache.put(LocalCache.java:5077)
        at org.apache.hadoop.scm.XceiverClientManager$1.onRemoval(XceiverClientManager.java:85)
        at com.google.common.cache.LocalCache.processPendingNotifications(LocalCache.java:1966)
        at com.google.common.cache.LocalCache$Segment.runUnlockedCleanup(LocalCache.java:3650)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message