Description
IllegalArgumentException is seen while using distributed cache to cache some files and custom jars in classpath.
A simple way to reproduce this error is by using a streaming job:
hadoop jar hadoop-streaming.jar -libjars file://<path to custom jar> -input <path to input file> -output out -mapper "cat" -reducer NONE -cacheFile hdfs://<path to some file>#linkname
This is a regression introduced and the same command works fine on 0.20.x