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