accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [1/3] accumulo git commit: ACCUMULO-3851 Example client.conf template
Date Thu, 02 Jul 2015 03:29:13 GMT
Repository: accumulo
Updated Branches:
  refs/heads/1.7 d9e81aa93 -> a3722ca7a
  refs/heads/master c088a8505 -> 560b3a5d1

ACCUMULO-3851 Example client.conf template


Branch: refs/heads/1.7
Commit: a3722ca7a366f65a91bdee33feedcf735e55f9f8
Parents: d9e81aa
Author: Josh Elser <>
Authored: Wed Jul 1 22:55:01 2015 -0400
Committer: Josh Elser <>
Committed: Wed Jul 1 23:21:28 2015 -0400

 assemble/conf/templates/client.conf             | 20 ++++++++++++++++
 .../main/asciidoc/chapters/administration.txt   | 25 +++++++++++++++++++-
 2 files changed, 44 insertions(+), 1 deletion(-)
diff --git a/assemble/conf/templates/client.conf b/assemble/conf/templates/client.conf
new file mode 100644
index 0000000..5256b13
--- /dev/null
+++ b/assemble/conf/templates/client.conf
@@ -0,0 +1,20 @@
+# 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
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# instance.rpc.ssl.enabled=false
+# instance.rcp.sasl.enabled=false
+# rpc.sasl.qop=auth
diff --git a/docs/src/main/asciidoc/chapters/administration.txt b/docs/src/main/asciidoc/chapters/administration.txt
index e7f280a..f5f16bb 100644
--- a/docs/src/main/asciidoc/chapters/administration.txt
+++ b/docs/src/main/asciidoc/chapters/administration.txt
@@ -157,7 +157,7 @@ target directory, the tablet server may not be able to find it. The system
 also locate the native maps shared library by setting +LD_LIBRARY_PATH+
 (or +DYLD_LIBRARY_PATH+ on Mac OS X) in +$ACCUMULO_HOME/conf/
-===== Configuration
+===== Native Maps Configuration
 As mentioned, Accumulo will use the native libraries if they are found in the expected
 location and if it is not configured to ignore them. Using the native maps over JVM
@@ -306,6 +306,29 @@ A KeyStore can also be stored in HDFS, which will make the KeyStore readily
 all Accumulo servers. If the local filesystem is used, be aware that each Accumulo server
 will expect the KeyStore in the same location.
+==== Client Configuration
+In version 1.6.0, Accumulo includes a new type of configuration file known as a client
+configuration file. One problem with the traditional "site.xml" file that is prevalent
+through Hadoop is that it is a single file used by both clients and servers. This makes
+is very difficult to protect secrets that are only meant for the server processes while
+allowing the clients to connect to the servers.
+The client configuration file is a subset of the information stored in accumulo-site.xml
+meant only for consumption by clients of Accumulo. By default, Accumulo checks a number
+of locations for a client configuration by default:
+* +${ACCUMULO_CONF_DIR}/client.conf+
+* +/etc/accumulo/client.conf+
+* +/etc/accumulo/conf/client.conf+
+* +~/.accumulo/config+
+These files are[Java Properties files]. These files
+can currently contain information about ZooKeeper servers, RPC properties (such as SSL or
+connectors), distributed tracing properties. Valid properties are defined by the
+enum contained in the client API.
 ==== Custom Table Tags
 Accumulo has the ability for users to add custom tags to tables.  This allows

View raw message