code: private void abortMultiPartUpload() {
      AmazonClientException lastException;
      do {
        try {
          mClient.abortMultipartUpload(new AbortMultipartUploadRequest(mBucketName,
              mKey, mUploadId));
          LOG.warn("Aborted multipart upload for key {} and id '{}' to bucket {}",
              mKey, mUploadId, mBucketName);
          return;
        } catch (AmazonClientException e) {
          lastException = e;
        }
      } while (mRetryPolicy.attempt());
      // This point is only reached if the operation failed more
      // than the allowed retry count
      LOG.warn("Unable to abort multipart upload for key '{}' and id '{}' to bucket {}. "
          + "You may need to enable the periodical cleanup by setting property {}"
          + "to be true.", mKey, mUploadId, mBucketName,
          PropertyKey.UNDERFS_CLEANUP_ENABLED.getName(),
          lastException);
    }
docs: Aborts multipart upload.