I have some python code that I need to be converted into Java Hadoop code.
The python code is taken in MD5 hashes and randomly generates strings from a character library and matches that random generated strings' md5 to the md5 submitted.
Once a match is found the code moves on to a next hash in the list.
For the conversion to Hadoop, what I need is a program that distributes the different hashes to each of the nodes during the reduce phase.
Once a hash is found, the reducer notify the mapper, and it is given another hash if there are no more hashes in the queue, the free reducers are given one of the hashes that are still being cracked by another reducer.
The Python code is attached.
The code should be submitted by 11:59 pm Tuesday 9th EST. [This is crucial to the overall project]
This is be built to Hadoop 0.20.2
Please coment the fininshed code