Use hadoop-minicluster JAR.
YARN changes in Hadoop 2.
Make globbing check independent of order.