[jira] [Updated] (HBASE-22888) Use separate classe to deal with streaming read and pread

2019-08-27 Thread chenxu (Jira)


 [ 
https://issues.apache.org/jira/browse/HBASE-22888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

chenxu updated HBASE-22888:
---
Description: When switching pread to stream read, new HFileReaderImpl will 
be create, but the two different readers do not share informations with each 
other. maybe we can divide HFileReaderImpl into two different class, such as 
HFilePreadReader and HFileStreamReader. When constructing HFileStreamReader, it 
will copy some stuffs (fileInfo, index, etc) from an already existing Reader, 
and no need to do prefetch operations.  (was: When switching from pread to 
stream read, new HFileReaderImpl will be created,and Prefetch will be executed 
again.)

> Use separate classe to deal with streaming read and pread
> -
>
> Key: HBASE-22888
> URL: https://issues.apache.org/jira/browse/HBASE-22888
> Project: HBase
>  Issue Type: Bug
>Affects Versions: 2.0.0
>Reporter: chenxu
>Priority: Major
>
> When switching pread to stream read, new HFileReaderImpl will be create, but 
> the two different readers do not share informations with each other. maybe we 
> can divide HFileReaderImpl into two different class, such as HFilePreadReader 
> and HFileStreamReader. When constructing HFileStreamReader, it will copy some 
> stuffs (fileInfo, index, etc) from an already existing Reader, and no need to 
> do prefetch operations.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Updated] (HBASE-22888) Use separate classe to deal with streaming read and pread

2019-08-27 Thread chenxu (Jira)


 [ 
https://issues.apache.org/jira/browse/HBASE-22888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

chenxu updated HBASE-22888:
---
Issue Type: Improvement  (was: Bug)

> Use separate classe to deal with streaming read and pread
> -
>
> Key: HBASE-22888
> URL: https://issues.apache.org/jira/browse/HBASE-22888
> Project: HBase
>  Issue Type: Improvement
>Affects Versions: 2.0.0
>Reporter: chenxu
>Priority: Major
>
> When switching pread to stream read, new HFileReaderImpl will be create, but 
> the two different readers do not share informations with each other. maybe we 
> can divide HFileReaderImpl into two different class, such as HFilePreadReader 
> and HFileStreamReader. When constructing HFileStreamReader, it will copy some 
> stuffs (fileInfo, index, etc) from an already existing Reader, and no need to 
> do prefetch operations.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Updated] (HBASE-22888) Use separate classe to deal with streaming read and pread

2019-08-27 Thread chenxu (Jira)


 [ 
https://issues.apache.org/jira/browse/HBASE-22888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

chenxu updated HBASE-22888:
---
Summary: Use separate classe to deal with streaming read and pread  (was: 
Prefetch may be executed many times after HBASE-17910)

> Use separate classe to deal with streaming read and pread
> -
>
> Key: HBASE-22888
> URL: https://issues.apache.org/jira/browse/HBASE-22888
> Project: HBase
>  Issue Type: Bug
>Affects Versions: 2.0.0
>Reporter: chenxu
>Priority: Major
>
> When switching from pread to stream read, new HFileReaderImpl will be 
> created,and Prefetch will be executed again.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)