gora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hsapu...@apache.org
Subject svn commit: r1466967 - /gora/trunk/gora-hbase/src/test/java/org/apache/gora/hbase/util/HBaseClusterSingleton.java
Date Thu, 11 Apr 2013 17:01:15 GMT
Author: hsaputra
Date: Thu Apr 11 17:01:14 2013
New Revision: 1466967

URL: http://svn.apache.org/r1466967
Log:
Comment out the HBase mini map reduce because the map reduce test is not using the mini cluster
one.

Modified:
    gora/trunk/gora-hbase/src/test/java/org/apache/gora/hbase/util/HBaseClusterSingleton.java

Modified: gora/trunk/gora-hbase/src/test/java/org/apache/gora/hbase/util/HBaseClusterSingleton.java
URL: http://svn.apache.org/viewvc/gora/trunk/gora-hbase/src/test/java/org/apache/gora/hbase/util/HBaseClusterSingleton.java?rev=1466967&r1=1466966&r2=1466967&view=diff
==============================================================================
--- gora/trunk/gora-hbase/src/test/java/org/apache/gora/hbase/util/HBaseClusterSingleton.java
(original)
+++ gora/trunk/gora-hbase/src/test/java/org/apache/gora/hbase/util/HBaseClusterSingleton.java
Thu Apr 11 17:01:14 2013
@@ -92,13 +92,15 @@ public final class HBaseClusterSingleton
       hbaseCluster.waitForActiveAndReadyMaster();
       LOG.info("After active and ready.");
       conf = hbaseCluster.getConfiguration();
+      /*
       LOG.info("Start mini mapreduce cluster.");
-      htu.startMiniMapReduceCluster();
+      htu.startMiniMapReduceCluster(numServers);
       LOG.info("After mini mapreduce cluster start-up.");
+      */
     } catch (Exception ex) {
       throw new RuntimeException("Minicluster not starting.");
     } finally {
-      // add a shutdown hook for shuting down the minicluster.
+      // add a shutdown hook for shutting down the minicluster.
       Runtime.getRuntime().addShutdownHook(new Thread(new Runnable() {
         @Override
         public void run() {
@@ -106,7 +108,7 @@ public final class HBaseClusterSingleton
             if (hbaseCluster != null) {
               hbaseCluster.shutdown();
             }
-            htu.shutdownMiniMapReduceCluster();
+            //htu.shutdownMiniMapReduceCluster();
           } catch (IOException e) {
             throw new RuntimeException("Exception shutting down cluster.");
           }



Mime
View raw message