[
https://issues.apache.org/jira/browse/HADOOP-14451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17827793#comment-17827793
]
ASF GitHub Bot commented on HADOOP-14451:
-----------------------------------------
vinayakumarb opened a new pull request, #6632:
URL: https://github.com/apache/hadoop/pull/6632
### Description of PR
* Scenario:
1. One thread calls a static method of NativeIO, which loads static block
of NativeIo.
2. Second thread calls a static method of NativeIo.POSIX, which loads a
static block of NativeIO.POSIX class
Both try to lock on same object inside native code gets into deadlock.
### How was this patch tested?
Reproducible Unit tests.
### For code changes:
- [* ] Does the title or this PR starts with the corresponding JIRA issue id
(e.g. 'HADOOP-17799. Your PR title ...')?
- [ ] Object storage: have the integration tests been executed and the
endpoint declared according to the connector-specific documentation?
- [ ] If adding new dependencies to the code, are these dependencies
licensed in a way that is compatible for inclusion under [ASF
2.0](http://www.apache.org/legal/resolved.html#category-a)?
- [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`,
`NOTICE-binary` files?
> 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
> Labels: pull-request-available
> Attachments: HADOOP-14451-01.patch, HADOOP-14451-02.patch,
> HADOOP-14451-03.patch, HADOOP-14451-04.patch, Nodemanager.jstack
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> * Scenario:
> 1. One thread calls a static method of NativeIO, which loads static block
> of NativeIo.
> 2. Second thread calls a static method of NativeIo.POSIX, which loads a
> static block of NativeIO.POSIX class
> Both try to lock on same object inside native code gets into deadlock.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]