[ 
https://issues.apache.org/jira/browse/HADOOP-17038?focusedWorklogId=547673&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-547673
 ]

ASF GitHub Bot logged work on HADOOP-17038:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 04/Feb/21 14:59
            Start Date: 04/Feb/21 14:59
    Worklog Time Spent: 10m 
      Work Description: mukund-thakur commented on a change in pull request 
#2646:
URL: https://github.com/apache/hadoop/pull/2646#discussion_r570284036



##########
File path: 
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AzureBlobFileSystemStore.java
##########
@@ -605,7 +607,9 @@ public void createDirectory(final Path path, final 
FsPermission permission, fina
     }
   }
 
-  public AbfsInputStream openFileForRead(final Path path, final 
FileSystem.Statistics statistics)
+  public AbfsInputStream openFileForRead(final Path path,

Review comment:
       Can we method overloading like 
   
   >  public AbfsInputStream openFileForRead(final Path path,
                                            final FileSystem.Statistics 
statistics)
             throws AzureBlobFileSystemException {
      return openFileForRead(path,Optional.empty(), statistics);
     }
   
    so as to avoid changing everywhere in the tests especially.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 547673)
    Time Spent: 3h 50m  (was: 3h 40m)

> Support disabling buffered reads in ABFS positional reads
> ---------------------------------------------------------
>
>                 Key: HADOOP-17038
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17038
>             Project: Hadoop Common
>          Issue Type: Sub-task
>            Reporter: Anoop Sam John
>            Assignee: Anoop Sam John
>            Priority: Major
>              Labels: HBase, abfsactive, pull-request-available
>         Attachments: HBase Perf Test Report.xlsx, screenshot-1.png
>
>          Time Spent: 3h 50m
>  Remaining Estimate: 0h
>
> Right now it will do a seek to the position , read and then seek back to the 
> old position.  (As per the impl in the super class)
> In HBase kind of workloads we rely mostly on short preads. (like 64 KB size 
> by default).  So would be ideal to support a pure pos read API which will not 
> even keep the data in a buffer but will only read the required data as what 
> is asked for by the caller. (Not reading ahead more data as per the read size 
> config)
> Allow an optional boolean config to be specified while opening file for read 
> using which buffered pread can be disabled. 
> FutureDataInputStreamBuilder openFile(Path path)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to