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.
These get and remove action can be replaced by using a consuming iterator (`Iterator<Long> keyItor = Iterators.consumingIterator(toDeleteKeys.iterator)`)