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

Virajith Jalaparti commented on HDFS-14263:
-------------------------------------------

Hi [~surendrasingh], thanks for posting this. Re  [^HDFS-14263.001.patch] , we 
can skip the check for {{ProvidedReplica}}. it can just be the null check. 
Ideally, there shouldn't be anything special we do for {{ProvidedReplica}}.

> Remove unnecessary block file exists check from 
> FsDatasetImpl#getBlockInputStream()
> -----------------------------------------------------------------------------------
>
>                 Key: HDFS-14263
>                 URL: https://issues.apache.org/jira/browse/HDFS-14263
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: datanode
>    Affects Versions: 3.1.1
>            Reporter: Surendra Singh Lilhore
>            Assignee: Surendra Singh Lilhore
>            Priority: Major
>         Attachments: HDFS-14263.001.patch
>
>
> As discussed in HDFS-10636, {{FsDatasetImpl#getBlockInputStream()}} doing 
> unnecessary block replica exist check.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to