Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
zoe
main
Commits
81da98fb
Commit
81da98fb
authored
Feb 11, 2016
by
Daniele Venzano
Browse files
Pass also the namenode host
parent
bf660966
Changes
1
Hide whitespace changes
Inline
Side-by-side
zoe_lib/predefined_apps/lab_spark.py
View file @
81da98fb
...
...
@@ -91,7 +91,8 @@ def spark_jupyter_notebook_proc(mem_limit: int, worker_mem_limit: int, image: st
'environment'
:
[
[
"SPARK_MASTER"
,
"spark://spark-master-{execution_id}.zoe-usernet-{user_id}:7077"
],
[
"SPARK_EXECUTOR_RAM"
,
str
(
executor_ram
)],
[
"NB_USER"
,
"{user_name}"
]
[
"NB_USER"
,
"{user_name}"
],
[
"NAMENODE_HOST"
,
"hdfs-namenode.hdfs"
]
]
}
return
proc
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment