accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject [30/50] [abbrv] git commit: ACCUMULO-1537 put IT output into files, make java programs identifiable using "ps"
Date Wed, 17 Jul 2013 02:33:32 GMT
ACCUMULO-1537 put IT output into files, make java programs identifiable using "ps"

git-svn-id: https://svn.apache.org/repos/asf/accumulo/trunk@1502278 13f79535-47bb-0310-9956-ffa450edef68


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

Branch: refs/heads/ACCUMULO-1496
Commit: fb839df66d3834957b1338e751be1e92f89b3eb0
Parents: c72a194
Author: Eric C. Newton <ecn@apache.org>
Authored: Thu Jul 11 16:36:22 2013 +0000
Committer: Eric C. Newton <ecn@apache.org>
Committed: Thu Jul 11 16:36:22 2013 +0000

----------------------------------------------------------------------
 .../java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java | 2 +-
 pom.xml                                                           | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/fb839df6/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java
----------------------------------------------------------------------
diff --git a/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java
b/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java
index ea29b92..16b1381 100644
--- a/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java
+++ b/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java
@@ -143,7 +143,7 @@ public class MiniAccumuloCluster {
     String className = clazz.getCanonicalName();
 
     ArrayList<String> argList = new ArrayList<String>();
-    argList.addAll(Arrays.asList(javaBin, "-cp", classpath));
+    argList.addAll(Arrays.asList(javaBin, "-Dproc=" + clazz.getSimpleName(), "-cp", classpath));
     argList.add("-Djava.library.path=" + config.getLibDir());
     argList.addAll(extraJvmOpts);
     argList.addAll(Arrays.asList("-XX:+UseConcMarkSweepGC", "-XX:CMSInitiatingOccupancyFraction=75",
Main.class.getName(), className));

http://git-wip-us.apache.org/repos/asf/accumulo/blob/fb839df6/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 04ca5d7..37791e4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -632,6 +632,9 @@
               <goal>integration-test</goal>
             </goals>
             <phase>integration-test</phase>
+          	<configuration>
+              <redirectTestOutputToFile>true</redirectTestOutputToFile>
+          	</configuration>
           </execution>
           <execution>
             <id>verify-integration-tests</id>


Mime
View raw message