Skip to content

Commit

Permalink
Fix broken batch job submit on creo (#126 / 6827cff related)
Browse files Browse the repository at this point in the history
  • Loading branch information
soxofaan committed Mar 10, 2022
1 parent e59cde9 commit 4fea6ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions openeogeotrellis/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -1000,6 +1000,8 @@ def as_arg_element(dependency: dict) -> dict:
python_max_memory = python_max,
max_executors=max_executors,
api_version=api_version,
dependencies=serialize_dependencies(),
user_id=user_id,
current_time=int(time.time()),
aws_access_key_id=os.environ.get("AWS_ACCESS_KEY_ID"),
aws_secret_access_key=os.environ.get("AWS_SECRET_ACCESS_KEY"),
Expand Down
2 changes: 2 additions & 0 deletions openeogeotrellis/deploy/sparkapplication.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ spec:
- "{{ log_file }}"
- "{{ metadata_file }}"
- "{{ api_version }}"
- "{{ dependencies }}"
- "{{ user_id }}"
sparkConf:
"spark.rpc.message.maxSize": "200"
"spark.rdd.compress": "true"
Expand Down

0 comments on commit 4fea6ab

Please sign in to comment.