Commit a07d5edb authored by Domenico Giordano's avatar Domenico Giordano
Browse files

removed

parent 355443df
WORK_DIR=$(readlink -f $(dirname $0))
echo WORK_DIR $WORK_DIR
[[ -z "$KRB5CCNAME" ]] && KRB5CCNAME=/tmp/krb5cc_docker
export KRB5CCNAME
echo -e "\nKRB5CCNAME file $KRB5CCNAME"
[[ -z "$KRBUSER" ]] && KBUSER=$USER
echo "Kerberos user $KRBUSER"
if [[ -z "$KRBPASSWD" ]];
then
echo "Enter password: (it won't be displayed)"
read -s KRBPASSWD
fi
echo -e "\nRunning kinit...\n"
(echo $KRBPASSWD | kinit -c $KRB5CCNAME $KRBUSER@CERN.CH) || fail 'kinit'
klist -c $KRB5CCNAME
#echo -e "\nInstalling data-analytics\n"
#pip install --user /work/data-analytics || fail 'installation'
echo -e "\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@"
echo -e "\nSetting hadoop libs\n"
echo -e "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\n"
export LCG_VIEW=/cvmfs/sft.cern.ch/lcg/views/LCG_96python3/x86_64-centos7-gcc8-opt
source $LCG_VIEW/setup.sh || fail 'Setting hadoop'
source /cvmfs/sft.cern.ch/lcg/etc/hadoop-confext/hadoop-swan-setconf.sh analytix
export PYTHONPATH=/usr/local/lib/python3.6/site-packages/:$PYTHONPATH
echo PYTHONPATH $PYTHONPATH
echo LD_LIBRARY_PATH $LD_LIBRARY_PATH
echo JAVA_HOME $JAVA_HOME
echo SPARK_HOME $SPARK_HOME
echo SPARK_DIST_CLASSPATH $SPARK_DIST_CLASSPATH
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment