You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by dl...@apache.org on 2016/08/16 17:04:23 UTC
accumulo git commit: ACCUMULO-4379: Make it clear as to which native
library is missing
Repository: accumulo
Updated Branches:
refs/heads/1.6 e1cd01fac -> 02ac592cb
ACCUMULO-4379: Make it clear as to which native library is missing
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/02ac592c
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/02ac592c
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/02ac592c
Branch: refs/heads/1.6
Commit: 02ac592cbd1b838da4f472a86f35ea62c3bf0a3e
Parents: e1cd01f
Author: Dave Marion <dl...@apache.org>
Authored: Tue Aug 16 13:00:52 2016 -0400
Committer: Dave Marion <dl...@apache.org>
Committed: Tue Aug 16 13:00:52 2016 -0400
----------------------------------------------------------------------
assemble/bin/bootstrap_config.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/accumulo/blob/02ac592c/assemble/bin/bootstrap_config.sh
----------------------------------------------------------------------
diff --git a/assemble/bin/bootstrap_config.sh b/assemble/bin/bootstrap_config.sh
index 42b83ad..ba695d5 100755
--- a/assemble/bin/bootstrap_config.sh
+++ b/assemble/bin/bootstrap_config.sh
@@ -357,11 +357,11 @@ fi
if [[ "${TYPE}" = "native" ]]; then
if [[ "$(uname)" = 'Linux' ]]; then
if [[ -z $HADOOP_PREFIX ]]; then
- echo "HADOOP_PREFIX not set cannot automatically configure LD_LIBRARY_PATH"
+ echo "WARNING: HADOOP_PREFIX not set, cannot automatically configure LD_LIBRARY_PATH to include Hadoop native libraries"
else
NATIVE_LIB=$(readlink -ef $(dirname $(for x in $(find $HADOOP_PREFIX -name libhadoop.so); do ld $x 2>/dev/null && echo $x && break; done) 2>>/dev/null) 2>>/dev/null)
if [[ -z $NATIVE_LIB ]]; then
- echo -e "Native libraries could not be found for your sytem in: $HADOOP_PREFIX"
+ echo -e "WARNING: The Hadoop native libraries could not be found for your sytem in: $HADOOP_PREFIX"
else
sed "/# Should the monitor/ i export LD_LIBRARY_PATH=${NATIVE_LIB}:\${LD_LIBRARY_PATH}" ${CONF_DIR}/$ACCUMULO_ENV > temp
mv temp ${CONF_DIR}/$ACCUMULO_ENV
@@ -369,6 +369,6 @@ if [[ "${TYPE}" = "native" ]]; then
fi
fi
fi
- echo -e "Please remember to compile the native libraries using the bin/build_native_library.sh script and to set the LD_LIBRARY_PATH variable in the ${CONF_DIR}/accumulo-env.sh script if needed."
+ echo -e "Please remember to compile the Accumulo native libraries using the bin/build_native_library.sh script and to set the LD_LIBRARY_PATH variable in the ${CONF_DIR}/accumulo-env.sh script if needed."
fi
echo "Setup complete"