[
https://issues.apache.org/jira/browse/HBASE-9808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13813086#comment-13813086
]
Nick Dimiduk commented on HBASE-9808:
-------------------------------------
{noformat}
+ TableMapReduceUtil.addDependencyJars(job);
+ // Add a Class from the hbase.jar so it gets registered too.
+ TableMapReduceUtil.addDependencyJars(job.getConfiguration(),
+ org.apache.hadoop.hbase.util.Bytes.class);
+ TableMapReduceUtil.initCredentials(job);
{noformat}
the call to {{addDependencyJars(Configuration, Class)}} is not necessary
because you've already called {{addDependencyJars(Job)}}.
{noformat}
void testRow(final int i) throws IOException {
if (this.testScanner == null) {
Scan scan = new Scan(format(this.startRow));
+ scan.setCaching(30);
scan.addColumn(FAMILY_NAME, QUALIFIER_NAME);
this.testScanner = table.getScanner(scan);
}
{noformat}
Our value in hbase-default.xml is now 100. What's the reason for lowering this
value?
{noformat}
+ * This method takes some time and is done inline uploading data. For
+ * example, doing the mapfile test, generation of the key and value
+ * consumes about 30% of CPU time.
+ * @return Generated random value to insert into a table cell.
{noformat}
Yikes! This is throwing off the performance number then?
There's still trailing whitespace in places.
> org.apache.hadoop.hbase.rest.PerformanceEvaluation is out of sync with
> org.apache.hadoop.hbase.PerformanceEvaluation
> --------------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-9808
> URL: https://issues.apache.org/jira/browse/HBASE-9808
> Project: HBase
> Issue Type: Bug
> Reporter: Ted Yu
> Assignee: Gustavo Anatoly
> Attachments: HBASE-9808-v1.patch, HBASE-9808.patch
>
>
> Here is list of JIRAs whose fixes might have gone into
> rest.PerformanceEvaluation :
> {code}
> ------------------------------------------------------------------------
> r1527817 | mbertozzi | 2013-09-30 15:57:44 -0700 (Mon, 30 Sep 2013) | 1 line
> HBASE-9663 PerformanceEvaluation does not properly honor specified table name
> parameter
> ------------------------------------------------------------------------
> r1526452 | mbertozzi | 2013-09-26 04:58:50 -0700 (Thu, 26 Sep 2013) | 1 line
> HBASE-9662 PerformanceEvaluation input do not handle tags properties
> ------------------------------------------------------------------------
> r1525269 | ramkrishna | 2013-09-21 11:01:32 -0700 (Sat, 21 Sep 2013) | 3 lines
> HBASE-8496 - Implement tags and the internals of how a tag should look like
> (Ram)
> ------------------------------------------------------------------------
> r1524985 | nkeywal | 2013-09-20 06:02:54 -0700 (Fri, 20 Sep 2013) | 1 line
> HBASE-9558 PerformanceEvaluation is in hbase-server, and creates a
> dependency to MiniDFSCluster
> ------------------------------------------------------------------------
> r1523782 | nkeywal | 2013-09-16 13:07:13 -0700 (Mon, 16 Sep 2013) | 1 line
> HBASE-9521 clean clearBufferOnFail behavior and deprecate it
> ------------------------------------------------------------------------
> r1518341 | jdcryans | 2013-08-28 12:46:55 -0700 (Wed, 28 Aug 2013) | 2 lines
> HBASE-9330 Refactor PE to create HTable the correct way
> {code}
> Long term, we may consider consolidating the two PerformanceEvaluation
> classes so that such maintenance work can be reduced.
--
This message was sent by Atlassian JIRA
(v6.1#6144)