mikewalch closed pull request #80: Updates to Proxy documentation URL: https://github.com/apache/accumulo-website/pull/80
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/_docs-2-0/development/proxy.md b/_docs-2-0/development/proxy.md index 2fd7b4d4..5c87fbf6 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 ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services