Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
data-analytics
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cloud-infrastructure
data-analytics
Commits
a07d5edb
Commit
a07d5edb
authored
4 years ago
by
Domenico Giordano
Browse files
Options
Downloads
Patches
Plain Diff
removed
parent
355443df
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/spark_etl/set_spark.sh
+0
-39
0 additions, 39 deletions
tests/spark_etl/set_spark.sh
with
0 additions
and
39 deletions
tests/spark_etl/set_spark.sh
deleted
100755 → 0
+
0
−
39
View file @
355443df
WORK_DIR
=
$(
readlink
-f
$(
dirname
$0
))
echo
WORK_DIR
$WORK_DIR
[[
-z
"
$KRB5CCNAME
"
]]
&&
KRB5CCNAME
=
/tmp/krb5cc_docker
export
KRB5CCNAME
echo
-e
"
\n
KRB5CCNAME 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
"
\n
Running 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
"
\n
Setting 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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment