You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by bi...@apache.org on 2011/12/01 17:09:53 UTC

svn commit: r1209135 - in /incubator/accumulo/trunk: ./ README conf/accumulo-site.xml.example src/core/src/main/java/org/apache/accumulo/core/conf/Property.java

Author: billie
Date: Thu Dec  1 16:09:52 2011
New Revision: 1209135

URL: http://svn.apache.org/viewvc?rev=1209135&view=rev
Log:
ACCUMULO-182 merged to trunk

Modified:
    incubator/accumulo/trunk/   (props changed)
    incubator/accumulo/trunk/README
    incubator/accumulo/trunk/conf/accumulo-site.xml.example
    incubator/accumulo/trunk/src/core/src/main/java/org/apache/accumulo/core/conf/Property.java

Propchange: incubator/accumulo/trunk/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Thu Dec  1 16:09:52 2011
@@ -1,2 +1,2 @@
-/incubator/accumulo/branches/1.3:1190280,1190413,1190420,1190427,1190500,1195622,1195625,1195629,1195635,1196044,1196054,1196057,1196071-1196072,1196106,1197066,1198935,1199383,1203683,1204625,1205547,1205880,1206169,1208031
-/incubator/accumulo/branches/1.4:1201902-1208733
+/incubator/accumulo/branches/1.3:1190280,1190413,1190420,1190427,1190500,1195622,1195625,1195629,1195635,1196044,1196054,1196057,1196071-1196072,1196106,1197066,1198935,1199383,1203683,1204625,1205547,1205880,1206169,1208031,1209124
+/incubator/accumulo/branches/1.4:1201902-1209129

Modified: incubator/accumulo/trunk/README
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/README?rev=1209135&r1=1209134&r2=1209135&view=diff
==============================================================================
--- incubator/accumulo/trunk/README (original)
+++ incubator/accumulo/trunk/README Thu Dec  1 16:09:52 2011
@@ -76,11 +76,13 @@ Create conf/accumulo-site.xml.  You must
 file (instance.zookeeper.host).  Look at docs/config.html to see what
 additional variables you can modify and what the defaults are.
 
-* Some recommended modifications for the accumulo site are:
-
-logger.dir.walog
-	- a local directory that will be used to log updates which 
-          will be used in the event of tablet server failure
+Create the write-ahead log directory on all slaves.  The directory is set in 
+the accumulo-site.xml as the "logger.dir.walog" parameter.  It is a local 
+directory that will be used to log updates which will be used in the event of
+tablet server failure, so it is important that it have sufficient space and
+reliability.  It is possible to specify a comma-separated list of directories 
+to use for write-ahead logs, in which case each directory in the list must be
+created on all slaves.
 
 Synchronize your accumulo conf directory across the cluster.  As a precaution
 against mis-configured systems, servers using different configuration files

Modified: incubator/accumulo/trunk/conf/accumulo-site.xml.example
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/conf/accumulo-site.xml.example?rev=1209135&r1=1209134&r2=1209135&view=diff
==============================================================================
--- incubator/accumulo/trunk/conf/accumulo-site.xml.example (original)
+++ incubator/accumulo/trunk/conf/accumulo-site.xml.example Thu Dec  1 16:09:52 2011
@@ -37,7 +37,7 @@
     <property>
       <name>logger.dir.walog</name>
       <value>walogs</value>
-      <description>A local file system to store recovery logs</description>
+      <description>The directory used to store write-ahead logs on the local filesystem. It is possible to specify a comma-separated list of directories.</description>
     </property>
     
     <property>

Modified: incubator/accumulo/trunk/src/core/src/main/java/org/apache/accumulo/core/conf/Property.java
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/src/core/src/main/java/org/apache/accumulo/core/conf/Property.java?rev=1209135&r1=1209134&r2=1209135&view=diff
==============================================================================
--- incubator/accumulo/trunk/src/core/src/main/java/org/apache/accumulo/core/conf/Property.java (original)
+++ incubator/accumulo/trunk/src/core/src/main/java/org/apache/accumulo/core/conf/Property.java Thu Dec  1 16:09:52 2011
@@ -153,7 +153,8 @@ public enum Property {
   LOGGER_PORT("logger.port.client", "11224", PropertyType.PORT, "The port used for write-ahead logger services"),
   LOGGER_COPY_THREADPOOL_SIZE("logger.copy.threadpool.size", "2", PropertyType.COUNT,
       "size of the thread pool used to copy files from the local log area to HDFS"),
-  LOGGER_DIR("logger.dir.walog", "walogs", PropertyType.PATH, "The directory used to store write-ahead logs on the local filesystem"),
+  LOGGER_DIR("logger.dir.walog", "walogs", PropertyType.PATH,
+      "The directory used to store write-ahead logs on the local filesystem. It is possible to specify a comma-separated list of directories."),
   LOGGER_PORTSEARCH("logger.port.search", "false", PropertyType.BOOLEAN, "if the port above is in use, search higher ports until one is available"),
   LOGGER_ARCHIVE("logger.archive", "false", PropertyType.BOOLEAN, "determines if logs are archived in hdfs"),
   LOGGER_MONITOR_FS(
@@ -239,7 +240,10 @@ public enum Property {
           + "map files bloom filter is loaded. Set this to zero to initiate loading of bloom " + "filters when a map file opened."),
   TABLE_BLOOM_SIZE("table.bloom.size", "1048576", PropertyType.COUNT, "Bloom filter size, as number of keys."),
   TABLE_BLOOM_ERRORRATE("table.bloom.error.rate", "0.5%", PropertyType.FRACTION, "Bloom filter error rate."),
-  TABLE_BLOOM_KEY_FUNCTOR("table.bloom.key.functor", "org.apache.accumulo.core.file.keyfunctor.RowFunctor", PropertyType.CLASSNAME,
+  TABLE_BLOOM_KEY_FUNCTOR(
+      "table.bloom.key.functor",
+      "org.apache.accumulo.core.file.keyfunctor.RowFunctor",
+      PropertyType.CLASSNAME,
       "A function that can transform the key prior to insertion and check of bloom filter.  org.apache.accumulo.core.file.keyfunctor.RowFunctor,"
           + ",org.apache.accumulo.core.file.keyfunctor.ColumnFamilyFunctor, and org.apache.accumulo.core.file.keyfunctor.ColumnQualifierFunctor are allowable values."
           + " One can extend any of the above mentioned classes to perform specialized parsing of the key. "),