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 "qinyuren (Jira)" <ji...@apache.org> on 2023/09/12 11:47:00 UTC
[jira] [Commented] (HDFS-17187) add the tool that getting the hdfs file path through block id
[ https://issues.apache.org/jira/browse/HDFS-17187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17764141#comment-17764141 ]
qinyuren commented on HDFS-17187:
---------------------------------
*hdfs fsck -blockId <blk_ID>* canĀ get the hdfs file path.
> add the tool that getting the hdfs file path through block id
> -------------------------------------------------------------
>
> Key: HDFS-17187
> URL: https://issues.apache.org/jira/browse/HDFS-17187
> Project: Hadoop HDFS
> Issue Type: New Feature
> Components: hdfs
> Affects Versions: 3.3.6
> Reporter: liying
> Assignee: liying
> Priority: Minor
>
> In some cases, we need to use the block id to get the hdfs file path. However, the retention time of hdfs namenode log is limited. Maybe we can't get the block information. If you run fsck / -flies -blocks | grep '$blockId', you will find that it is very heavy and the hdfs service performance is affected. So it is need to add the tool that getting the hdfs file path through block id.
--
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