hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12912) StoreScanner calls Configuration for Boolean Check on each initialization
Date Tue, 03 Mar 2015 01:22:07 GMT

    [ https://issues.apache.org/jira/browse/HBASE-12912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14344241#comment-14344241
] 

Lars Hofhansl commented on HBASE-12912:
---------------------------------------

I'm happy to remove that latter one ({{conf.getBoolean("hbase.storescanner.use.pread", scan.isSmall());}}.
Just put that in, so that one can play with forcing p-reads. If that's a perf issue, let's
get rid of it.

> StoreScanner calls Configuration for Boolean Check on each initialization
> -------------------------------------------------------------------------
>
>                 Key: HBASE-12912
>                 URL: https://issues.apache.org/jira/browse/HBASE-12912
>             Project: HBase
>          Issue Type: Bug
>            Reporter: John Leach
>            Assignee: John Leach
>             Fix For: 2.0.0, 1.0.1, 1.1.0, 0.98.12
>
>         Attachments: StoreScannerStall.tiff
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> There is a clear CPU drain and iterator creation when creating store scanners under high
load.  Splice was running a TPCC test of our database and we are seeing object creation and
CPU waste on the boolean check....
> Code Snippet...
> if (store != null && ((HStore)store).getHRegion() != null
>         && store.getStorefilesCount() > 1) {
>       RegionServerServices rsService = ((HStore)store).getHRegion().getRegionServerServices();
>       if (rsService == null || !rsService.getConfiguration().getBoolean(
>             STORESCANNER_PARALLEL_SEEK_ENABLE, false)) return;
>       isParallelSeekEnabled = true;
>       executor = rsService.getExecutorService();
>     }
> Will attach profile...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message