Skip to content

Instantly share code, notes, and snippets.

@technmsg
Created May 7, 2014 21:37
Show Gist options
  • Save technmsg/5702159fa3ec564b4845 to your computer and use it in GitHub Desktop.
Save technmsg/5702159fa3ec564b4845 to your computer and use it in GitHub Desktop.
working accumulo 1.6.0 unit testing
$ more ~/.mavenrc
export MAVEN_OPTS="-Xmx1024m"
bash-3.2$ java -XX:+PrintFlagsFinal -version | grep -i heapsize
uintx ErgoHeapSizeLimit = 0 {product}
uintx HeapSizePerGCThread = 67108864 {product}
uintx InitialHeapSize := 53900160 {product}
uintx LargePageHeapSizeThreshold = 134217728 {product}
uintx MaxHeapSize := 864026624 {product}
java version "1.6.0_30"
OpenJDK Runtime Environment (IcedTea6 1.13.3) (rhel-5.1.13.3.el5_10-i386)
OpenJDK Server VM (build 23.25-b01, mixed mode)
bash-3.2$ env | grep JAVA
JAVA_OPTS=-XX:MaxPermSize=1024m
JAVA_HOME=/usr
bash-3.2$ mvn --version
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T17:37:52+00:00)
Maven home: /home/alexm/dev/apache-maven-3.2.1
Java version: 1.6.0_30, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.18-92.1.6.el5", arch: "i386", family: "unix"
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!--<argLine>-Xmx1024m</argLine>-->
<argLine>-Xms768m -Xmx1024m</argLine>
</configuration>
</plugin>
$ mvn clean && time mvn package
snip...
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Accumulo ................................... SUCCESS [ 9.006 s]
[INFO] Trace ............................................. SUCCESS [ 12.347 s]
[INFO] Fate .............................................. SUCCESS [ 6.174 s]
[INFO] Start ............................................. SUCCESS [01:20 min]
[INFO] Core .............................................. SUCCESS [07:10 min]
[INFO] Simple Examples ................................... SUCCESS [ 20.250 s]
[INFO] Server Base ....................................... SUCCESS [ 57.565 s]
[INFO] GC Server ......................................... SUCCESS [ 5.365 s]
[INFO] Master Server ..................................... SUCCESS [ 7.596 s]
[INFO] Tablet Server ..................................... SUCCESS [ 44.149 s]
[INFO] MiniCluster ....................................... SUCCESS [01:16 min]
[INFO] Monitor Server .................................... SUCCESS [ 7.340 s]
[INFO] Native Libraries .................................. SUCCESS [ 16.943 s]
[INFO] Tracer Server ..................................... SUCCESS [ 3.639 s]
[INFO] Testing ........................................... SUCCESS [ 59.237 s]
[INFO] Proxy ............................................. SUCCESS [ 36.219 s]
[INFO] Assemblies ........................................ SUCCESS [ 14.739 s]
[INFO] Documentation ..................................... SUCCESS [ 0.271 s]
[INFO] Accumulo Maven Plugin ............................. SUCCESS [ 30.339 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15:20 min
[INFO] Finished at: 2014-05-07T20:53:05+00:00
[INFO] Final Memory: 60M/469M
[INFO] ------------------------------------------------------------------------
real 15m23.731s
user 18m48.037s
sys 1m49.539s
$ time mvn package
snip...
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Accumulo ................................... SUCCESS [ 11.795 s]
[INFO] Trace ............................................. SUCCESS [ 6.612 s]
[INFO] Fate .............................................. SUCCESS [ 4.048 s]
[INFO] Start ............................................. SUCCESS [01:21 min]
[INFO] Core .............................................. SUCCESS [07:20 min]
[INFO] Simple Examples ................................... SUCCESS [ 17.682 s]
[INFO] Server Base ....................................... SUCCESS [ 56.495 s]
[INFO] GC Server ......................................... SUCCESS [ 5.087 s]
[INFO] Master Server ..................................... SUCCESS [ 6.618 s]
[INFO] Tablet Server ..................................... SUCCESS [ 43.224 s]
[INFO] MiniCluster ....................................... SUCCESS [01:15 min]
[INFO] Monitor Server .................................... SUCCESS [ 7.089 s]
[INFO] Native Libraries .................................. SUCCESS [ 7.295 s]
[INFO] Tracer Server ..................................... SUCCESS [ 1.367 s]
[INFO] Testing ........................................... SUCCESS [ 52.023 s]
[INFO] Proxy ............................................. SUCCESS [ 30.480 s]
[INFO] Assemblies ........................................ SUCCESS [ 13.163 s]
[INFO] Documentation ..................................... SUCCESS [ 0.166 s]
[INFO] Accumulo Maven Plugin ............................. SUCCESS [ 23.302 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14:45 min
[INFO] Finished at: 2014-05-07T21:11:33+00:00
[INFO] Final Memory: 55M/490M
[INFO] ------------------------------------------------------------------------
real 14m49.789s
user 18m39.013s
sys 1m47.794s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment