incubator-accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vi...@apache.org
Subject svn commit: r1208700 - in /incubator/accumulo/trunk: docs/config.html src/core/src/test/resources/org/apache/accumulo/core/conf/ src/core/src/test/resources/org/apache/accumulo/core/conf/config.html
Date Wed, 30 Nov 2011 18:54:39 GMT
Author: vines
Date: Wed Nov 30 18:54:38 2011
New Revision: 1208700

URL: http://svn.apache.org/viewvc?rev=1208700&view=rev
Log:
ACCUMULO-123 - Missed a few in chenckin

Added:
    incubator/accumulo/trunk/src/core/src/test/resources/org/apache/accumulo/core/conf/
    incubator/accumulo/trunk/src/core/src/test/resources/org/apache/accumulo/core/conf/config.html
  (contents, props changed)
      - copied, changed from r1208534, incubator/accumulo/trunk/src/server/src/main/resources/config.html
Modified:
    incubator/accumulo/trunk/docs/config.html

Modified: incubator/accumulo/trunk/docs/config.html
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/docs/config.html?rev=1208700&r1=1208699&r2=1208700&view=diff
==============================================================================
--- incubator/accumulo/trunk/docs/config.html (original)
+++ incubator/accumulo/trunk/docs/config.html Wed Nov 30 18:54:38 2011
@@ -1,3 +1,92 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<html>
+ <head>
+  <title>Configuration Properties</title>
+  <link rel='stylesheet' type='text/css' href='documentation.css' media='screen'/>
+ </head>
+ <body>
+  <h1>Configuration Management</h1>
+  <p>All accumulo properties have a default value in the source code.  Properties can
also be set
+  in accumulo-site.xml and in zookeeper on per-table or system-wide basis.  If properties
are set in more than one location,
+  accumulo will choose the property with the highest precedence.  This order of precedence
is described
+  below (from highest to lowest):</p>
+  <table>
+   <tr><th>Location</th><th>Description</th></tr>
+   <tr class='highlight'><td><b>Zookeeper<br/>table properties</td>
+       <td>Table properties are applied to the entire cluster when set in zookeeper
using the accumulo API or shell.  While table properties take precedent over system properties,
both will override properties set in accumulo-site.xml<br/><br/>
+           Table properties consist of all properties with the table.* prefix.  Table properties
are configured on a per-table basis using the following shell commmand:
+		    <pre>config -t TABLE -s PROPERTY=VALUE</pre></td>
+   </tr>
+   <tr><td><b>Zookeeper<br/>system properties</td>
+	    <td>System properties are applied to the entire cluster when set in zookeeper
using the accumulo API or shell.  System properties consist of all properties with a 'yes'
in the 'Zookeeper Mutable' column in the table below.  They are set with the following shell
command:
+		    <pre>config -s PROPERTY=VALUE</pre>
+			If a table.* property is set using this method, the value will apply to all tables except
those configured on per-table basis (which have higher precedence).<br/><br/>
+			While most system properties take effect immediately, some require a restart of the process
which is indicated in 'Zookeeper Mutable'.</td>
+   </tr>
+   <tr class='highlight'><td><b>accumulo-site.xml</td>
+       <td>Accumulo processes (master, tserver, etc) read their local accumulo-site.xml
on start up.  Therefore, changes made to accumulo-site.xml must rsynced across the cluster
and processes must be restarted to apply changes.<br/><br/>
+           Certain properties (indicated by a 'no' in 'Zookeeper Mutable') cannot be set
in zookeeper and only set in this file.  The accumulo-site.xml also allows you to configure
tablet servers with different settings.</td>
+   </tr>
+   <tr><td><b>Default</td>
+   	   <td>All properties have a default value in the source code.  This value has
the lowest precedence and is overriden if set in accumulo-site.xml or zookeeper.<br/><br/>While
the default value is usually optimal, there are cases where a change can increase query and
ingest performance.</td>
+   </tr>
+  </table>
+  
+  <p>The 'config' command in the shell allows you to view the current system configuration.
 You can also use the '-t' option to view a table's configuration as below:
+  
+  <pre>
+    $ ./bin/accumulo shell -u root
+    Enter current password for 'root'@'ac14': ******
+
+    Shell - Accumulo Interactive Shell
+    - 
+    - version: 1.5.0-incubating-SNAPSHOT
+    - instance name: ac14
+    - instance id: 4f48fa03-f692-43ce-ae03-94c9ea8b7181
+    - 
+    - type 'help' for a list of available commands
+    - 
+    root@ac13> config -t foo
+    ---------+---------------------------------------------+------------------------------------------------------
+    SCOPE    | NAME                                        | VALUE
+    ---------+---------------------------------------------+------------------------------------------------------
+    default  | table.balancer ............................ | org.apache.accumulo.server.master.balancer.DefaultLoadBalancer
+    default  | table.bloom.enabled ....................... | false
+    default  | table.bloom.error.rate .................... | 0.5%
+    default  | table.bloom.hash.type ..................... | murmur
+    default  | table.bloom.key.functor ................... | org.apache.accumulo.core.file.keyfunctor.RowFunctor
+    default  | table.bloom.load.threshold ................ | 1
+    default  | table.bloom.size .......................... | 1048576
+    default  | table.cache.block.enable .................. | false
+    default  | table.cache.index.enable .................. | false
+    default  | table.compaction.major.everything.at ...... | 19700101000000GMT
+    default  | table.compaction.major.everything.idle .... | 1h
+    default  | table.compaction.major.ratio .............. | 1.3
+    site     |    @override .............................. | 1.4
+    system   |    @override .............................. | 1.5
+    table    |    @override .............................. | 1.6
+    default  | table.compaction.minor.idle ............... | 5m
+    default  | table.compaction.minor.logs.threshold ..... | 3
+    default  | table.failures.ignore ..................... | false
+  </pre>
+  
+  <h1>Configuration Properties</h1>
+  
 
   <p>Jump to: 
 <a href='#INSTANCE_PREFIX'>instance.*</a>&nbsp;|&nbsp;<a href='#GENERAL_PREFIX'>general.*</a>&nbsp;|&nbsp;<a
href='#MASTER_PREFIX'>master.*</a>&nbsp;|&nbsp;<a href='#TSERV_PREFIX'>tserver.*</a>&nbsp;|&nbsp;<a
href='#LOGGER_PREFIX'>logger.*</a>&nbsp;|&nbsp;<a href='#GC_PREFIX'>gc.*</a>&nbsp;|&nbsp;<a
href='#MONITOR_PREFIX'>monitor.*</a>&nbsp;|&nbsp;<a href='#TRACE_PREFIX'>trace.*</a>&nbsp;|&nbsp;<a
href='#TABLE_PREFIX'>table.*</a>&nbsp;|&nbsp;<a href='#TABLE_CONSTRAINT_PREFIX'>table.constraint.*</a>&nbsp;|&nbsp;<a
href='#TABLE_ITERATOR_PREFIX'>table.iterator.*</a>&nbsp;|&nbsp;<a href='#TABLE_LOCALITY_GROUP_PREFIX'>table.group.*</a>
 </p>

Copied: incubator/accumulo/trunk/src/core/src/test/resources/org/apache/accumulo/core/conf/config.html
(from r1208534, incubator/accumulo/trunk/src/server/src/main/resources/config.html)
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/src/core/src/test/resources/org/apache/accumulo/core/conf/config.html?p2=incubator/accumulo/trunk/src/core/src/test/resources/org/apache/accumulo/core/conf/config.html&p1=incubator/accumulo/trunk/src/server/src/main/resources/config.html&r1=1208534&r2=1208700&rev=1208700&view=diff
==============================================================================
    (empty)

Propchange: incubator/accumulo/trunk/src/core/src/test/resources/org/apache/accumulo/core/conf/config.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/accumulo/trunk/src/core/src/test/resources/org/apache/accumulo/core/conf/config.html
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message