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 "Vinayakumar B (JIRA)" <ji...@apache.org> on 2018/01/22 06:03:00 UTC

[jira] [Commented] (HADOOP-14451) Deadlock in NativeIO

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

Vinayakumar B commented on HADOOP-14451:
----------------------------------------

Uploaded the patch, as per [~martinw]'s suggestion.

1. Split into separate code blocks in NativeIo.c

{{initNative()}}, {{initNativePosix()}} and {{initNativeWindows()}}

2. Refactored the workaround for threadsafe workaround for some platforms for {{getpwduid}} calls.
 Instead of looking back from Native code for static variable 
 {{workaroundNonThreadSafePasswdCalls}}, passing itself directly via native method itself as parameter. Currently its only required for POSIX, using this variable for {{initNativePosix()}} only (same as before).

3. Tests added separate classes for Windows and POSIX to load static blocks separately in forked JVMs.

> Deadlock in NativeIO
> --------------------
>
>                 Key: HADOOP-14451
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14451
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.8.0, 3.0.0-alpha1
>            Reporter: Ajith S
>            Assignee: Vinayakumar B
>            Priority: Blocker
>         Attachments: HADOOP-14451-01.patch, HADOOP-14451-02.patch, Nodemanager.jstack
>
>




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

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