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

ASF GitHub Bot commented on HADOOP-19795:
-----------------------------------------

anmolanmol1234 commented on code in PR #8212:
URL: https://github.com/apache/hadoop/pull/8212#discussion_r2740979308


##########
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsInputStream.java:
##########
@@ -73,11 +84,11 @@ public abstract class AbfsInputStream extends FSInputStream 
implements CanUnbuff
   private final Statistics statistics;
   private final String path;
 
-  private final long contentLength;
+  private long contentLength;
   private final int bufferSize; // default buffer size
   private final int footerReadSize; // default buffer size to read when 
reading footer
   private final int readAheadQueueDepth;         // initialized in constructor
-  private final String eTag;                  // eTag of the path when 
InputStream are created
+  private String eTag;                  // eTag of the path when InputStream 
are created

Review Comment:
   nit: InputStream is created





> ABFS: GetPathStatus Optimization on OpenFileForRead
> ---------------------------------------------------
>
>                 Key: HADOOP-19795
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19795
>             Project: Hadoop Common
>          Issue Type: Task
>          Components: fs/azure
>    Affects Versions: 3.4.1, 3.4.2
>            Reporter: Manika Joshi
>            Assignee: Manika Joshi
>            Priority: Major
>              Labels: pull-request-available
>
> We do a getPathStatus call during file open for read. This call is primarily 
> used to fetch the file’s metadata properties before the actual read begins. 
> We are now introducing an optional, config-driven read flow that avoids the 
> getPathStatus call during open and instead derives required metadata from the 
> read response itself. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to