[ https://issues.apache.org/jira/browse/MAPREDUCE-7441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17736532#comment-17736532 ]
ASF GitHub Bot commented on MAPREDUCE-7441: ------------------------------------------- brumi1024 opened a new pull request, #5772: URL: https://github.com/apache/hadoop/pull/5772 <!-- Thanks for sending a pull request! 1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute 2. Make sure your PR title starts with JIRA issue id, e.g., 'HADOOP-17799. Your PR title ...'. --> ### Description of PR Fix the race condition in FadvisedFileRegion, similar to the fix in [MAPREDUCE-7095](https://issues.apache.org/jira/browse/MAPREDUCE-7095). ### 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? > Race condition in closing FadvisedFileRegion > -------------------------------------------- > > Key: MAPREDUCE-7441 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-7441 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: yarn > Affects Versions: 3.4.0 > Reporter: Benjamin Teke > Priority: Major > > This issue is similar to the one described in MAPREDUCE-7095, just for > FadvisedFileRegion.transferSuccessful. There are warning messages when > multiple threads are calling the transferSuccessful method: > {code:java} > 2023-05-25 08:41:57,288 WARN org.apache.hadoop.mapred.FadvisedFileRegion: > Failed to manage OS cache for > /hadoop/data04/yarn/nm/usercache/hive/appcache/application_1684916804740_8245/output/attempt_1684916804740_8245_1_00_001154_0_10003/file.out > EBADF: Bad file descriptor > at org.apache.hadoop.io.nativeio.NativeIO$POSIX.posix_fadvise(Native Method) > at > org.apache.hadoop.io.nativeio.NativeIO$POSIX.posixFadviseIfPossible(NativeIO.java:271) > at > org.apache.hadoop.io.nativeio.NativeIO$POSIX$CacheManipulator.posixFadviseIfPossible(NativeIO.java:148) > at > org.apache.hadoop.mapred.FadvisedFileRegion.transferSuccessful(FadvisedFileRegion.java:163) > at > org.apache.hadoop.mapred.ShuffleChannelHandler.lambda$sendMapOutput$0(ShuffleChannelHandler.java:516) > at > io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:590) > at > io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:557) > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: mapreduce-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org