Laszlo Gaal has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/21585


Change subject: IMPALA-13222: Clean up .Trash and temp files at the end of S3 
test runs
......................................................................

IMPALA-13222: Clean up .Trash and temp files at the end of S3 test runs

Remove the .Trash directory for HDFS, and temporary files left in
/tmp and in /other from the S3 bucket used for an S3 test run.
Deletion happens using AWSCLI after the minicluster is shut down.

Files are deleted only from selected refixes (subdirectories) so that
the cleanup logic is safe to use for private buckets, or the regular
bucket for private-s3-parameterized runs, impala-test-uswest2-3 too,
where other files may exist besides the ones generated for a test run.

Tested by running an S3 build then checking the contents of the test
bucket.

Change-Id: I60a23394de8a67768a0b5b4c9c9576ee6a24348e
---
M bin/jenkins/release_cloud_resources.sh
1 file changed, 8 insertions(+), 4 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/85/21585/1
--
To view, visit http://gerrit.cloudera.org:8080/21585
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I60a23394de8a67768a0b5b4c9c9576ee6a24348e
Gerrit-Change-Number: 21585
Gerrit-PatchSet: 1
Gerrit-Owner: Laszlo Gaal <[email protected]>

Reply via email to