Adding the ability to get yesterday's date

Working with Hadoop is fun. The problem with hadoop is, you never know when something is going to get done today. Especially when its not from your team. Our solution? Work off of yesterday's data. Now if only we knew when yesterday was...