You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2009/06/09 07:20:07 UTC
[jira] Created: (HBASE-1505) hfile should change how it reads from
hdfs -- pread/seek+read -- dependent on recent history
hfile should change how it reads from hdfs -- pread/seek+read -- dependent on recent history
--------------------------------------------------------------------------------------------
Key: HBASE-1505
URL: https://issues.apache.org/jira/browse/HBASE-1505
Project: Hadoop HBase
Issue Type: Improvement
Reporter: stack
hfile preads all the time at moment. its good we do this when we want to up our random reads. but apparently pread involves open socket, seek, read, close socket whereas seek+read could leave us aligned at next block to read and make for some savings. hfile could have a short memory and change how it pulls from hdfs dependent on recent history.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HBASE-1505) [performance] hfile should change how
it reads from hdfs -- pread/seek+read -- dependent on recent history
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack resolved HBASE-1505.
--------------------------
Resolution: Duplicate
Fix Version/s: 0.20.4
Addressed over in hbase-2180
> [performance] hfile should change how it reads from hdfs -- pread/seek+read -- dependent on recent history
> ----------------------------------------------------------------------------------------------------------
>
> Key: HBASE-1505
> URL: https://issues.apache.org/jira/browse/HBASE-1505
> Project: Hadoop HBase
> Issue Type: Improvement
> Reporter: stack
> Fix For: 0.20.4, 0.21.0
>
>
> hfile preads all the time at moment. its good we do this when we want to up our random reads. but apparently pread involves open socket, seek, read, close socket whereas seek+read could leave us aligned at next block to read and make for some savings. hfile could have a short memory and change how it pulls from hdfs dependent on recent history.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HBASE-1505) [performance] hfile should change
how it reads from hdfs -- pread/seek+read -- dependent on recent history
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12762378#action_12762378 ]
stack commented on HBASE-1505:
------------------------------
Turns out, we do seek and then read rather than pread. I had it wrong way around. We should look into this.
> [performance] hfile should change how it reads from hdfs -- pread/seek+read -- dependent on recent history
> ----------------------------------------------------------------------------------------------------------
>
> Key: HBASE-1505
> URL: https://issues.apache.org/jira/browse/HBASE-1505
> Project: Hadoop HBase
> Issue Type: Improvement
> Reporter: stack
> Fix For: 0.21.0
>
>
> hfile preads all the time at moment. its good we do this when we want to up our random reads. but apparently pread involves open socket, seek, read, close socket whereas seek+read could leave us aligned at next block to read and make for some savings. hfile could have a short memory and change how it pulls from hdfs dependent on recent history.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.