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

Andrew Purtell commented on HBASE-10665:
----------------------------------------

Skipping the WAL writes is the big win. If you apply this patch, and change the 
addContent() calls in TestCompaction such that the last parameter (writeToWAL) 
becomes 'true', then the running time will increase from ~18 seconds to ~210 
seconds.

> TestCompaction and TestCompactionWithCoprocessor run too long
> -------------------------------------------------------------
>
>                 Key: HBASE-10665
>                 URL: https://issues.apache.org/jira/browse/HBASE-10665
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.98.0
>            Reporter: Andrew Purtell
>             Fix For: 0.98.1, 0.99.0
>
>         Attachments: 10665.patch
>
>
> 584 seconds each
> TestCompaction:
> {noformat}
> Forking command line: /bin/sh -c cd /data/src/hbase/hbase-server && 
> /usr/lib/jvm/java-1.7.0.45-oracle-amd64/jre/bin/java -enableassertions 
> -Xmx1900m -XX:MaxPermSize=100m -Djava.security.egd=file:/dev/./urandom 
> -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -jar 
> /data/src/hbase/hbase-server/target/surefire/surefirebooter5980733570856201818.jar
>  /data/src/hbase/hbase-server/target/surefire/surefire4520171250819563114tmp 
> /data/src/hbase/hbase-server/target/surefire/surefire_2794381603824180144412tmp
> Running org.apache.hadoop.hbase.regionserver.TestCompaction
> Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 584.609 sec
> {noformat}
> TestCompactionWithCoprocessor:
> {noformat}
> Forking command line: /bin/sh -c cd /data/src/hbase/hbase-server && 
> /usr/lib/jvm/java-1.7.0.45-oracle-amd64/jre/bin/java -enableassertions 
> -Xmx1900m -XX:MaxPermSize=100m -Djava.security.egd=file:/dev/./urandom 
> -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -jar 
> /data/src/hbase/hbase-server/target/surefire/surefirebooter7194368346045889527.jar
>  /data/src/hbase/hbase-server/target/surefire/surefire9025480282422315585tmp 
> /data/src/hbase/hbase-server/target/surefire/surefire_2815590620956840351617tmp
> Running org.apache.hadoop.hbase.regionserver.TestCompactionWithCoprocessor
> Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 584.399 sec
> {noformat}
> Slim down or split up.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to