Repository: hbase
Updated Branches:
  refs/heads/master 842f4808d -> 767aced0f


HBASE-11855 HBase handbook chapter 18.9 out of date (Michael Tauscher)


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/767aced0
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/767aced0
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/767aced0

Branch: refs/heads/master
Commit: 767aced0f90b740dbc5a4141380b0276802c0d8b
Parents: 842f480
Author: stack <[email protected]>
Authored: Tue Sep 2 15:25:56 2014 -0700
Committer: stack <[email protected]>
Committed: Tue Sep 2 15:26:02 2014 -0700

----------------------------------------------------------------------
 src/main/docbkx/developer.xml | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/767aced0/src/main/docbkx/developer.xml
----------------------------------------------------------------------
diff --git a/src/main/docbkx/developer.xml b/src/main/docbkx/developer.xml
index 5d625cf..baf91a6 100644
--- a/src/main/docbkx/developer.xml
+++ b/src/main/docbkx/developer.xml
@@ -1044,17 +1044,22 @@ public class TestHRegionInfo {
                 <title>Running tests faster</title>
                 <para> By default, <code>$ mvn test -P runAllTests</code> runs 
5 tests in parallel.
                     It can be increased on a developer's machine. Allowing 
that you can have 2 tests
-                    in parallel per core, and you need about 2Gb of memory per 
test (at the
-                    extreme), if you have an 8 core, 24Gb box, you can have 16 
tests in parallel.
+                    in parallel per core, and you need about 2GB of memory per 
test (at the
+                    extreme), if you have an 8 core, 24GB box, you can have 16 
tests in parallel.
                     but the memory available limits it to 12 (24/2), To run 
all tests with 12 tests
                     in parallel, do this: <command>mvn test -P runAllTests
-                        -Dsurefire.secondPartThreadCount=12</command>. To 
increase the speed, you
-                    can as well use a ramdisk. You will need 2Gb of memory to 
run all tests. You
-                    will also need to delete the files between two test run. 
The typical way to
-                    configure a ramdisk on Linux is:</para>
+                        -Dsurefire.secondPartForkCount=12</command>. If using 
a version earlier than 
+                    2.0, do: <command>mvn test -P runAllTests 
-Dsurefire.secondPartThreadCount=12
+                    </command>. To increase the speed, you can as well use a 
ramdisk. You will need 2GB 
+                    of memory to run all tests. You will also need to delete 
the files between two 
+                    test run. The typical way to configure a ramdisk on Linux 
is:</para>
                 <screen language="bourne">$ sudo mkdir /ram2G
 sudo mount -t tmpfs -o size=2048M tmpfs /ram2G</screen>
-                <para>You can then use it to run all HBase tests with the 
command: </para>
+                <para>You can then use it to run all HBase tests on 2.0 with 
the command: </para>
+                <screen language="bourne">mvn test
+                        -P runAllTests -Dsurefire.secondPartForkCount=12
+                        -Dtest.build.data.basedirectory=/ram2G</screen>
+                <para>On earlier versions, use: </para>
                 <screen language="bourne">mvn test
                         -P runAllTests -Dsurefire.secondPartThreadCount=12
                         -Dtest.build.data.basedirectory=/ram2G</screen>

Reply via email to