hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Templeton (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HDFS-14015) Improve error handling in hdfsThreadDestructor in native thread local storage
Date Tue, 23 Oct 2018 17:55:00 GMT

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

Daniel Templeton edited comment on HDFS-14015 at 10/23/18 5:54 PM:
-------------------------------------------------------------------

I don't see why the tests are failing, but they're failing consistently.  I just posted a
new patch that doesn't actually change anything important; it fixes a typo in a string.  I
want to see what happens with a provably innocuous patch.


was (Author: templedf):
I don't see why the tests are failing, but they're failing consistently.  I just posted a
new patch that doesn't actually change anything important; it fixes a typo in a string.  I
want to see what happens when with a provably innocuous patch.

> Improve error handling in hdfsThreadDestructor in native thread local storage
> -----------------------------------------------------------------------------
>
>                 Key: HDFS-14015
>                 URL: https://issues.apache.org/jira/browse/HDFS-14015
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: native
>    Affects Versions: 3.0.0
>            Reporter: Daniel Templeton
>            Assignee: Daniel Templeton
>            Priority: Major
>         Attachments: HDFS-14015.001.patch, HDFS-14015.002.patch, HDFS-14015.003.patch,
HDFS-14015.004.patch, HDFS-14015.005.patch
>
>
> In the hdfsThreadDestructor() function, we ignore the return value from the DetachCurrentThread()
call.  We are seeing cases where a native thread dies while holding a JVM monitor, and it
doesn't release the monitor.  We're hoping that logging this error instead of ignoring it
will shed some light on the issue.  In any case, it's good programming practice.



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

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