Skip to content

Instantly share code, notes, and snippets.

View harishreddyv's full-sized avatar
😀

harishreddyv

😀
  • Dell
  • Bangalore
View GitHub Profile
#!/bin/bash -e
# 2010-09-19 Marc Limotte
# Run continuously (every 30 minutes) as a cron.
#
# Looks for directories in HDFS matching a certain pattern and moves them to S3, using Amazon's new
# distcp replacement, S3DistCp.
#
# It creates marker files (_directory_.done and _directory_.processing) at the S3 destination, so