From 483eb2f56657e8e7f419ab1a4fab8dce9ade8609 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 20:24:20 +0200 Subject: Adding upstream version 14.2.21. Signed-off-by: Daniel Baumann --- src/rocksdb/hdfs/setup.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 src/rocksdb/hdfs/setup.sh (limited to 'src/rocksdb/hdfs/setup.sh') diff --git a/src/rocksdb/hdfs/setup.sh b/src/rocksdb/hdfs/setup.sh new file mode 100755 index 00000000..ba76ec20 --- /dev/null +++ b/src/rocksdb/hdfs/setup.sh @@ -0,0 +1,8 @@ +# shellcheck disable=SC2148 +export USE_HDFS=1 +export LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/amd64/server:$JAVA_HOME/jre/lib/amd64:$HADOOP_HOME/lib/native + +export CLASSPATH=`$HADOOP_HOME/bin/hadoop classpath --glob` +for f in `find /usr/lib/hadoop-hdfs | grep jar`; do export CLASSPATH=$CLASSPATH:$f; done +for f in `find /usr/lib/hadoop | grep jar`; do export CLASSPATH=$CLASSPATH:$f; done +for f in `find /usr/lib/hadoop/client | grep jar`; do export CLASSPATH=$CLASSPATH:$f; done -- cgit v1.2.3