You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/06/06 22:31:00 UTC
[jira] [Commented] (HDFS-17546) Implementing Timeout for HostFileReader when FS hangs
[ https://issues.apache.org/jira/browse/HDFS-17546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17852960#comment-17852960 ]
ASF GitHub Bot commented on HDFS-17546:
---------------------------------------
NyteKnight opened a new pull request, #6873:
URL: https://github.com/apache/hadoop/pull/6873
### Description of PR
In hadoop environments that rely on NAS to house dfs.hosts file, during FS hangs (for any reason) the refreshNodes call would infinitely hang (causing a blocked thread) until the FS returns.
### How was this patch tested?
### For code changes:
- [x] 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?
> Implementing Timeout for HostFileReader when FS hangs
> -----------------------------------------------------
>
> Key: HDFS-17546
> URL: https://issues.apache.org/jira/browse/HDFS-17546
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: namenode
> Reporter: Simbarashe Dzinamarira
> Assignee: Simbarashe Dzinamarira
> Priority: Minor
>
> Certain implementations of Hadoop have the dfs.hosts file residing on NAS/NFS and potentially with symlinks. If the FS hangs for any reason, the refreshNodes call would infinitely hang on the HostsFileReader until the FS returns.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org