MiniYARNCluster. Contributed by Vinod Kumar Vavilapalli (cherry picked from commit 27414dac66f278b61fc23762204b01a1c508178a) (cherry picked from commit 9ce5069d16edefb0b2a24d6b7988347039624942) (cherry picked from commit 336be63dad59c58d7a72d2ea2c4a9f811a075eae)