caskdata/cdap — pull request #842 by sagarkapare (2014-12-17 07:49:30+00:00)
Title: Updated code to make sure unique column keys are generated in the test case.

LogCleanupTest uses Random number generator to generate the metadata keys for files. With very very low probability it is possible that successive calls to the Random.nextInt(50000) return the same number causing the duplicate metadata key. Fix is added to ensure that we always generate the required number of unique metadata keys.