Skip to content

Commit

Permalink
EmrEtlRunner: unlink downloaded RDB logs (closes #3363)
Browse files Browse the repository at this point in the history
  • Loading branch information
BenFradet committed Aug 21, 2017
1 parent 20005e8 commit 10ce3cd
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,9 @@ def output_rdb_loader_logs(region, aws_access_key_id, aws_secret_key)
rescue Exception => e
logger.error "Error while downloading RDB log #{l[1]}"
logger.error e.message
ensure
tmp.close
tmp.unlink
end
end
end
Expand Down

0 comments on commit 10ce3cd

Please sign in to comment.