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

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

                Author: ASF GitHub Bot
            Created on: 08/Feb/21 08:15
            Start Date: 08/Feb/21 08:15
    Worklog Time Spent: 10m 
      Work Description: anoopsjohn commented on pull request #2646:
URL: https://github.com/apache/hadoop/pull/2646#issuecomment-774959132


   > Production code looks good. Added some comments in tests.
   > Also pending checkstyle
   > 
`./hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/services/ITestAbfsPread.java:43:
 int dataSize = 100;:20: '100' is a magic number. [MagicNumber] 
./hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/services/ITestAbfsPread.java:44:
 byte[] data = ContractTestUtils.dataset(dataSize, 'a', 26);:60: '26' is a 
magic number. [MagicNumber]`
   
   Corrected.  These checkstyle should be applied for test code also? In tests 
these usage looks normal. Anyways handled by making static final. 


----------------------------------------------------------------
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: 549427)
    Time Spent: 7h 10m  (was: 7h)

> 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: 7h 10m
>  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