[
https://issues.apache.org/jira/browse/HBASE-15841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15287607#comment-15287607
]
Jerry He commented on HBASE-15841:
----------------------------------
Hi, [~appy]
opts.size will be the default in that last case, and actually it will not be
used any further. If 'size' is not specified in the input option, we will not
be capped by a 'size'
The total rows and the row size will not be capped by the 'size'.
It is already a fatal exception if both --size and --rows are specified.
{code}
if (opts.size != DEFAULT_OPTS.size &&
opts.perClientRunRows != DEFAULT_OPTS.perClientRunRows) {
throw new IllegalArgumentException(rows + " and " + size +
" are mutually exclusive options");
}
{code}
> Performance Evaluation tool total rows may not be set correctly
> ---------------------------------------------------------------
>
> Key: HBASE-15841
> URL: https://issues.apache.org/jira/browse/HBASE-15841
> Project: HBase
> Issue Type: Bug
> Reporter: Jerry He
> Assignee: Jerry He
> Priority: Minor
> Fix For: 2.0.0, 1.3.0, 1.4.0, 1.2.2
>
> Attachments: HBASE-15841-branch-1.patch, HBASE-15841-master.patch
>
>
> Carried my comment on HBASE-15403 to here:
> Recently when I ran PerformanceEvaluation, I did notice some problem with the
> number of rows.
> hbase org.apache.hadoop.hbase.PerformanceEvaluation --table=TestTable1
> randomWrite 1
> hbase org.apache.hadoop.hbase.PerformanceEvaluation --table=TestTable5
> randomWrite 5
> hbase org.apache.hadoop.hbase.PerformanceEvaluation --table=TestTable10
> randomWrite 10
> hbase org.apache.hadoop.hbase.PerformanceEvaluation --table=TestTable10
> randomWrite 20
> All produced similar number of rows, and on the file system, they look like
> in similar size as well:
> hadoop fs -du -h /apps/hbase/data/data/default
> 786.5 M /apps/hbase/data/data/default/TestTable1
> 786.0 M /apps/hbase/data/data/default/TestTable10
> 782.0 M /apps/hbase/data/data/default/TestTable20
> 713.4 M /apps/hbase/data/data/default/TestTable5
> HBase is 1.2.0. Looks like a regression somewhere.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)