This is an automated email from the ASF dual-hosted git repository.
domgarguilo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo-examples.git
The following commit(s) were added to refs/heads/main by this push:
new d69160c Minor changes to README and env.sh.example (#124)
d69160c is described below
commit d69160c3911bac7e21aee3a5f86ca1db2846ae5b
Author: Kevin Rathbun <[email protected]>
AuthorDate: Fri Dec 1 14:12:52 2023 -0500
Minor changes to README and env.sh.example (#124)
---
README.md | 8 +++++---
conf/env.sh.example | 2 +-
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index b7f1110..fb8cea4 100644
--- a/README.md
+++ b/README.md
@@ -41,9 +41,10 @@ Follow the steps below to run the Accumulo examples:
Accumulo has an [accumulo-client.properties] in `conf/` that must be
configured as
the examples will use this file to connect to your instance.
-3. Review [env.sh.example] in to see if you need to customize it. If
`ACCUMULO_HOME` & `HADOOP_HOME`
- are set in your shell, you may be able skip this step. Make sure
`ACCUMULO_CLIENT_PROPS` is
- set to the location of your [accumulo-client.properties].
+3. Review [env.sh.example] and [accumulo-env.sh] (within your accumulo
installation) to see if you
+ need to customize them. If `ACCUMULO_HOME` & `HADOOP_HOME` are set in your
shell, you may be
+ able skip this step. Make sure `ACCUMULO_CLIENT_PROPS` is set to the
location of your
+ [accumulo-client.properties].
cp conf/env.sh.example conf/env.sh
vim conf/env.sh
@@ -110,6 +111,7 @@ This repository can be used to test Accumulo release
candidates. See
[quickstart]: https://accumulo.apache.org/docs/2.x/getting-started/quickstart
[accumulo-client.properties]:
https://accumulo.apache.org/docs/2.x/configuration/files#accumulo-clientproperties
+[accumulo-env.sh]:
https://accumulo.apache.org/docs/2.x/configuration/files#accumulo-envsh
[env.sh.example]: conf/env.sh.example
[manual]: https://accumulo.apache.org/latest/accumulo_user_manual/
[batch]: docs/batch.md
diff --git a/conf/env.sh.example b/conf/env.sh.example
index c6aab8f..ec42633 100644
--- a/conf/env.sh.example
+++ b/conf/env.sh.example
@@ -31,7 +31,7 @@ conf_dir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
# ===============
# Versions set below will be what is included in the shaded jar
export ACCUMULO_VERSION="`$ACCUMULO_HOME/bin/accumulo version`"
-export HADOOP_VERSION="`hadoop version | head -n1 | awk '{print $2}'`"
+export HADOOP_VERSION="`$HADOOP_HOME/bin/hadoop version | head -n1 | awk
'{print $2}'`"
export ZOOKEEPER_VERSION=3.7.0
# Path to shaded test jar
ex_home=$( cd "$( dirname "$conf_dir" )" && pwd )