You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/04/11 19:35:25 UTC
[jira] [Commented] (TRAFODION-1421) Implement parallel Scanner
primitive
[ https://issues.apache.org/jira/browse/TRAFODION-1421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15235563#comment-15235563 ]
ASF GitHub Bot commented on TRAFODION-1421:
-------------------------------------------
GitHub user eowhadi opened a pull request:
https://github.com/apache/incubator-trafodion/pull/422
[TRAFODION-1421] Implement parallel scanner primitive
new CQD: hbase_dop_parallel_scanner
- default 0.0 = disabled
- from 0.x to 1.0 -> the DOP will be dynamically assessed as a percentage of region to scan. If 10 region, and cqd is .3 (30%), then 3 threads will be used...
- from 2.0 and above, will take ceiling, and use it as fixed number of threads.
Advantage of parallel scanner parallelism over ESP is on resource consumption. Parallel scanner is just creating threads, while ESP are full proceses wth high memory consumption.
For now, this feature is just a primitive that can be manually exercised. The next obvious step is to make the compiler aware of it and pick it over ESP DOP when appropriate...
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/eowhadi/incubator-trafodion parallelScan
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafodion/pull/422.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #422
----
commit a7f9a628179fcd4077a566f558e653b1380eabc6
Author: Eric Owhadi <er...@esgyn.com>
Date: 2016-04-11T16:59:23Z
[TRAFODION-1421] Implement parallel scanner primitive
new CQD: hbase_dop_parallel_scanner
- default 0.0 = disabled
- from 0.x to 1.0 -> the DOP will be dynamically assessed as a percentage of region to scan. If 10 region, and cqd is .3 (30%), then 3 threads will be used...
- from 2.0 and above, will take ceiling, and use it as fixed number of threads.
Advantage of parallel scanner parallelism over ESP is on resource consumption. Parallel scanner is just creating threads, while ESP are full proceses wth high memory consumption.
For now, this feature is just a primitive that can be manually exercised. The next obvious step is to make the compiler aware of it and pick it over ESP DOP when appropriate...
----
> Implement parallel Scanner primitive
> ------------------------------------
>
> Key: TRAFODION-1421
> URL: https://issues.apache.org/jira/browse/TRAFODION-1421
> Project: Apache Trafodion
> Issue Type: Improvement
> Components: sql-cmp, sql-exe
> Reporter: Eric Owhadi
> Assignee: Eric Owhadi
> Labels: performance
> Fix For: 2.0-incubating
>
>
> ClientScanner API is serial, to conserve key ordering. However, many operators don't care about ordering and would rather get the scan result fast, regardless of order. This JIRA is about providing a parallel scanner, that would take care of splitting the work between all region servers evenly if possible. HBase had a parallel scanner in the pipe for quite some time HBAse-9272, but the work is stalled since october 2013. However, looking at the available code, look like a big part can be leveraged without requiring an HBase custom build.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)