You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2017/12/01 16:54:44 UTC

[GitHub] keith-turner closed pull request #329: ACCUMULO-3185 Removed references to walogs directory to stop it's creation.

keith-turner closed pull request #329: ACCUMULO-3185 Removed references to walogs directory to stop it's creation.
URL: https://github.com/apache/accumulo/pull/329
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/minicluster/src/main/java/org/apache/accumulo/minicluster/impl/MiniAccumuloClusterImpl.java b/minicluster/src/main/java/org/apache/accumulo/minicluster/impl/MiniAccumuloClusterImpl.java
index 6fd25776fb..09dd7e5e7e 100644
--- a/minicluster/src/main/java/org/apache/accumulo/minicluster/impl/MiniAccumuloClusterImpl.java
+++ b/minicluster/src/main/java/org/apache/accumulo/minicluster/impl/MiniAccumuloClusterImpl.java
@@ -396,7 +396,6 @@ public MiniAccumuloClusterImpl(MiniAccumuloConfigImpl config) throws IOException
     if (!config.useExistingInstance()) {
       if (!config.useExistingZooKeepers())
         mkdirs(config.getZooKeeperDir());
-      mkdirs(config.getWalogDir());
       mkdirs(config.getAccumuloDir());
     }
 
diff --git a/minicluster/src/main/java/org/apache/accumulo/minicluster/impl/MiniAccumuloConfigImpl.java b/minicluster/src/main/java/org/apache/accumulo/minicluster/impl/MiniAccumuloConfigImpl.java
index 0f4634d55b..8064358afa 100644
--- a/minicluster/src/main/java/org/apache/accumulo/minicluster/impl/MiniAccumuloConfigImpl.java
+++ b/minicluster/src/main/java/org/apache/accumulo/minicluster/impl/MiniAccumuloConfigImpl.java
@@ -64,7 +64,6 @@
   private File zooKeeperDir;
   private File accumuloDir;
   private File logDir;
-  private File walogDir;
 
   private int zooKeeperPort = 0;
   private int configuredZooKeeperPort = 0;
@@ -125,7 +124,6 @@ MiniAccumuloConfigImpl initialize() {
       accumuloDir = new File(dir, "accumulo");
       zooKeeperDir = new File(dir, "zookeeper");
       logDir = new File(dir, "logs");
-      walogDir = new File(dir, "walogs");
 
       // Never want to override these if an existing instance, which may be using the defaults
       if (existingInstance == null || !existingInstance) {
@@ -445,10 +443,6 @@ public File getLogDir() {
     return logDir;
   }
 
-  File getWalogDir() {
-    return walogDir;
-  }
-
   /**
    * @param serverType
    *          get configuration for this server type


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services