2018-01-29 21:43:56 +01:00
|
|
|
# shellcheck disable=SC2148
|
2019-04-18 19:51:19 +02:00
|
|
|
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
|
2014-05-20 23:22:12 +02:00
|
|
|
export USE_HDFS=1
|
2019-03-29 03:16:58 +01:00
|
|
|
export LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/amd64/server:$JAVA_HOME/jre/lib/amd64:$HADOOP_HOME/lib/native
|
2014-05-20 23:22:12 +02:00
|
|
|
|
2019-03-29 03:16:58 +01:00
|
|
|
export CLASSPATH=`$HADOOP_HOME/bin/hadoop classpath --glob`
|
2014-05-20 23:22:12 +02:00
|
|
|
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
|