Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Bug: spark submit upload error log type error #397

Merged
merged 1 commit into from
Feb 13, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion node_scripts/submit.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def upload_error_log(error, application_file_path):
try:
return_code = recieve_submit_request(os.path.join(os.environ['AZ_BATCH_TASK_WORKING_DIR'], 'application.yaml'))
except Exception as e:
upload_error_log(e, os.path.join(os.environ['AZ_BATCH_TASK_WORKING_DIR'], 'application.yaml'))
upload_error_log(str(e), os.path.join(os.environ['AZ_BATCH_TASK_WORKING_DIR'], 'application.yaml'))

# force batch task exit code to match spark exit code
sys.exit(return_code)