Skip to content

Commit 1477678

Browse files
committed
HADOOP-17770 WASB : Support disabling buffered reads in positional reads
1 parent 9be6c87 commit 1477678

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

  • hadoop-tools/hadoop-azure/src/site/markdown

hadoop-tools/hadoop-azure/src/site/markdown/index.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,17 @@ The maximum number of entries that that cache can hold can be customized using t
545545
</property>
546546
```
547547

548+
### Performance optimization configurations
549+
550+
`fs.azure.block.blob.buffered.pread.disable`: By default the positional read API will do a
551+
seek and read on input stream. This read will fill the buffer cache in
552+
BlockBlobInputStream. If this configuration is true it will skip usage of buffer and do a
553+
lock free call for reading from blob. This optimization is very much helpful for HBase kind
554+
of short random read over a shared InputStream instance.
555+
Note: This is not a config which can be set at cluster level. It can be used as
556+
an option on FutureDataInputStreamBuilder.
557+
See FileSystem#openFile(Path path)
558+
548559
## Further Reading
549560

550561
* [Testing the Azure WASB client](testing_azure.html).

0 commit comments

Comments
 (0)