Description
Time to fix a broken window. Of the 293 occurences of "new MiniDFSCluster("... most look something like:
cluster = new MiniDFSCluster(0, config, numDatanodes, true, false, true, null, null, null, null);
The largest constructor takes 10 parameters, and even the overloaded constructors can be difficult to read as their mainaly nulls or booleans.
We should provide a Builder for constructing MiniDFSClusters to improve readability.