From commits-return-21791-archive-asf-public=cust-asf.ponee.io@accumulo.apache.org Tue May 1 21:05:32 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id A3949180675 for ; Tue, 1 May 2018 21:05:31 +0200 (CEST) Received: (qmail 62831 invoked by uid 500); 1 May 2018 19:05:30 -0000 Mailing-List: contact commits-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list commits@accumulo.apache.org Received: (qmail 62822 invoked by uid 99); 1 May 2018 19:05:30 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 May 2018 19:05:30 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 13E8D80A5E; Tue, 1 May 2018 19:05:30 +0000 (UTC) Date: Tue, 01 May 2018 19:05:30 +0000 To: "commits@accumulo.apache.org" Subject: [accumulo-website] branch master updated: Updates to Proxy documentation (#80) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <152520153003.5025.13629676608091862577@gitbox.apache.org> From: mwalch@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: accumulo-website X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 87c48123e6b620d55cef789f3b2af49dfc1894ee X-Git-Newrev: 183550550377af3b444d5e8c81e8441d9e8e6b97 X-Git-Rev: 183550550377af3b444d5e8c81e8441d9e8e6b97 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. mwalch pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/accumulo-website.git The following commit(s) were added to refs/heads/master by this push: new 1835505 Updates to Proxy documentation (#80) 1835505 is described below commit 183550550377af3b444d5e8c81e8441d9e8e6b97 Author: Mike Walch AuthorDate: Tue May 1 15:05:27 2018 -0400 Updates to Proxy documentation (#80) --- _docs-2-0/development/proxy.md | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/_docs-2-0/development/proxy.md b/_docs-2-0/development/proxy.md index 2fd7b4d..5c87fbf 100644 --- a/_docs-2-0/development/proxy.md +++ b/_docs-2-0/development/proxy.md @@ -19,31 +19,25 @@ DataNodes. A proxy client only needs the ability to communicate with the proxy s ## Running the Proxy Server The proxy server is included in the Accumulo tarball distribution and can be run using -the `accumulo` or `accumulo-service` command. A sample proxy configuration file can be found at -`conf/templates/proxy.properties`. Create a copy of this file and edit it for your environment: +the `accumulo` command. The proxy is configured using `accumulo-client.properties` and +`proxy.properties` which can be found at `conf/templates/proxy.properties`. Create a +copy of this file and edit it for your environment: cp ./conf/templates/proxy.properties ./conf/ vim ./conf/proxy.properties At the very least, you need to configure the following properties: - instance=test - zookeepers=localhost:2181 port=42424 protocolFactory=org.apache.thrift.protocol.TCompactProtocol$Factory tokenClass=org.apache.accumulo.core.client.security.tokens.PasswordToken -After `proxy.properties` is configured, the proxy server can be started using the `accumulo` -or `accumulo-service` commands: +After `proxy.properties` is configured, the proxy server can be started using the +`accumulo` command: -To start the proxy in the foreground and log to the console, use the `accumulo` command: + accumulo proxy -p /path/to/proxy.properties -c /path/to/accumulo-client.properties & - accumulo proxy -p /path/to/proxy.properties - -To background the process and redirect logs, use the `accumulo-service` command (a `proxy.properties` -file must exist in `conf/` if using this method): - - accumulo-service proxy start +Logs will be output to the directory set by `ACCUMULO_LOG_DIR` in `accumulo-env.sh`. ## Prerequisites for Proxy Clients -- To stop receiving notification emails like this one, please contact mwalch@apache.org.