phoenix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sama...@apache.org
Subject phoenix git commit: PHOENIX-4016 Comment out handler count overrides and reduce number of forked JVMs in tests
Date Wed, 12 Jul 2017 18:48:57 GMT
Repository: phoenix
Updated Branches:
  refs/heads/master e05b7cdd3 -> 06c10dc39


PHOENIX-4016 Comment out handler count overrides and reduce number of forked JVMs in tests


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/06c10dc3
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/06c10dc3
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/06c10dc3

Branch: refs/heads/master
Commit: 06c10dc391220da8e54f0191bef1c9b8b702f651
Parents: e05b7cd
Author: Samarth Jain <samarth@apache.org>
Authored: Wed Jul 12 11:48:52 2017 -0700
Committer: Samarth Jain <samarth@apache.org>
Committed: Wed Jul 12 11:48:52 2017 -0700

----------------------------------------------------------------------
 .../java/org/apache/phoenix/query/BaseTest.java | 26 ++++++++++----------
 pom.xml                                         | 10 ++++----
 2 files changed, 18 insertions(+), 18 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/06c10dc3/phoenix-core/src/test/java/org/apache/phoenix/query/BaseTest.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/test/java/org/apache/phoenix/query/BaseTest.java b/phoenix-core/src/test/java/org/apache/phoenix/query/BaseTest.java
index 1806a1f..3d1a7fd 100644
--- a/phoenix-core/src/test/java/org/apache/phoenix/query/BaseTest.java
+++ b/phoenix-core/src/test/java/org/apache/phoenix/query/BaseTest.java
@@ -595,19 +595,19 @@ public abstract class BaseTest {
          * helps us in running several mini clusters at the same time without hitting 
          * the threads limit imposed by the OS. 
          */
-        conf.setInt(HConstants.REGION_SERVER_HANDLER_COUNT, 5);
-        conf.setInt("hbase.regionserver.metahandler.count", 2);
-        conf.setInt(HConstants.MASTER_HANDLER_COUNT, 2);
-        conf.setInt("dfs.namenode.handler.count", 2);
-        conf.setInt("dfs.namenode.service.handler.count", 2);
-        conf.setInt("dfs.datanode.handler.count", 2);
-        conf.setInt("ipc.server.read.threadpool.size", 2);
-        conf.setInt("ipc.server.handler.threadpool.size", 2);
-        conf.setInt("hbase.regionserver.hlog.syncer.count", 2);
-        conf.setInt("hbase.hlog.asyncer.number", 2);
-        conf.setInt("hbase.assignment.zkevent.workers", 5);
-        conf.setInt("hbase.assignment.threads.max", 5);
-        conf.setInt("hbase.catalogjanitor.interval", 5000);
+//        conf.setInt(HConstants.REGION_SERVER_HANDLER_COUNT, 5);
+//        conf.setInt("hbase.regionserver.metahandler.count", 2);
+//        conf.setInt(HConstants.MASTER_HANDLER_COUNT, 2);
+//        conf.setInt("dfs.namenode.handler.count", 2);
+//        conf.setInt("dfs.namenode.service.handler.count", 2);
+//        conf.setInt("dfs.datanode.handler.count", 2);
+//        conf.setInt("ipc.server.read.threadpool.size", 2);
+//        conf.setInt("ipc.server.handler.threadpool.size", 2);
+//        conf.setInt("hbase.regionserver.hlog.syncer.count", 2);
+//        conf.setInt("hbase.hlog.asyncer.number", 2);
+//        conf.setInt("hbase.assignment.zkevent.workers", 5);
+//        conf.setInt("hbase.assignment.threads.max", 5);
+//        conf.setInt("hbase.catalogjanitor.interval", 5000);
         return conf;
     }
 

http://git-wip-us.apache.org/repos/asf/phoenix/blob/06c10dc3/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index a46c50c..84e7f3a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -120,7 +120,7 @@
 
     <!-- Plugin options -->
     <numForkedUT>8</numForkedUT>
-    <numForkedIT>8</numForkedIT>
+    <numForkedIT>4</numForkedIT>
     <it.failIfNoSpecifiedTests>false</it.failIfNoSpecifiedTests>
     <surefire.failIfNoSpecifiedTests>false</surefire.failIfNoSpecifiedTests>
 
@@ -240,7 +240,7 @@
                 <runOrder>alphabetical</runOrder>
                 <!--parallel>methods</parallel>
                 <threadCount>20</threadCount-->
-                <argLine>-Xmx2000m -XX:MaxPermSize=256m -Djava.security.egd=file:/dev/./urandom
"-Djava.library.path=${hadoop.library.path}${path.separator}${java.library.path}" -XX:NewRatio=4
-XX:SurvivorRatio=8 -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+DisableExplicitGC
-XX:+UseCMSInitiatingOccupancyOnly -XX:+CMSClassUnloadingEnabled -XX:+CMSScavengeBeforeRemark
-XX:CMSInitiatingOccupancyFraction=68 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=./target/</argLine>
+                <argLine>-Xmx4000m -XX:MaxPermSize=256m -Djava.security.egd=file:/dev/./urandom
"-Djava.library.path=${hadoop.library.path}${path.separator}${java.library.path}" -XX:NewRatio=4
-XX:SurvivorRatio=8 -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+DisableExplicitGC
-XX:+UseCMSInitiatingOccupancyOnly -XX:+CMSClassUnloadingEnabled -XX:+CMSScavengeBeforeRemark
-XX:CMSInitiatingOccupancyFraction=68 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=./target/</argLine>
                 <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>
                 <shutdown>kill</shutdown>
                 <testSourceDirectory>${basedir}/src/it/java</testSourceDirectory>
@@ -275,7 +275,7 @@
 	                 at org.apache.phoenix.coprocessor.MetaDataEndpointImpl.doGetTable(MetaDataEndpointImpl.java:2835)
 	                 at org.apache.phoenix.coprocessor.MetaDataEndpointImpl.getTable(MetaDataEndpointImpl.java:490)
-->
 		<!--enableAssertions>false</enableAssertions-->
-                <argLine>-Xmx3000m -XX:MaxPermSize=256m -Djava.security.egd=file:/dev/./urandom
"-Djava.library.path=${hadoop.library.path}${path.separator}${java.library.path}" -XX:NewRatio=4
-XX:SurvivorRatio=8 -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+DisableExplicitGC
-XX:+UseCMSInitiatingOccupancyOnly -XX:+CMSClassUnloadingEnabled -XX:+CMSScavengeBeforeRemark
-XX:CMSInitiatingOccupancyFraction=68 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=./target/</argLine>
+                <argLine>-Xmx5000m -XX:MaxPermSize=256m -Djava.security.egd=file:/dev/./urandom
"-Djava.library.path=${hadoop.library.path}${path.separator}${java.library.path}" -XX:NewRatio=4
-XX:SurvivorRatio=8 -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+DisableExplicitGC
-XX:+UseCMSInitiatingOccupancyOnly -XX:+CMSClassUnloadingEnabled -XX:+CMSScavengeBeforeRemark
-XX:CMSInitiatingOccupancyFraction=68 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=./target/</argLine>
                 <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>
                 <shutdown>kill</shutdown>
                 <testSourceDirectory>${basedir}/src/it/java</testSourceDirectory>
@@ -299,7 +299,7 @@
                 <forkCount>${numForkedIT}</forkCount>
                 <runOrder>alphabetical</runOrder>
                 <reuseForks>true</reuseForks>
-                <argLine>-enableassertions -Xmx2500m -XX:MaxPermSize=128m -Djava.security.egd=file:/dev/./urandom
"-Djava.library.path=${hadoop.library.path}${path.separator}${java.library.path}" -XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=./target/</argLine>
+                <argLine>-enableassertions -Xmx4000m -XX:MaxPermSize=128m -Djava.security.egd=file:/dev/./urandom
"-Djava.library.path=${hadoop.library.path}${path.separator}${java.library.path}" -XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=./target/</argLine>
                 <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>
                 <testSourceDirectory>${basedir}/src/it/java</testSourceDirectory>
                 <groups>org.apache.phoenix.end2end.ClientManagedTimeTest</groups>
@@ -323,7 +323,7 @@
                 <forkCount>${numForkedIT}</forkCount>
                 <runOrder>alphabetical</runOrder>
                 <reuseForks>true</reuseForks>
-                <argLine>-enableassertions -Xmx2000m -XX:MaxPermSize=128m -Djava.security.egd=file:/dev/./urandom
"-Djava.library.path=${hadoop.library.path}${path.separator}${java.library.path}" -XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=./target/</argLine>
+                <argLine>-enableassertions -Xmx3000m -XX:MaxPermSize=128m -Djava.security.egd=file:/dev/./urandom
"-Djava.library.path=${hadoop.library.path}${path.separator}${java.library.path}" -XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=./target/</argLine>
                 <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>
                 <testSourceDirectory>${basedir}/src/it/java</testSourceDirectory>
                 <groups>org.apache.phoenix.end2end.HBaseManagedTimeTest</groups>


Mime
View raw message