Description
There are several problems with recent commit of HDFS-396.
- It does not work with default configuration "file:///". Throws IllegalArgumentException.
- ALL hdfs tests fail on Windows because "C:\mypath" is treated as an illegal URI. Backward compatibility is not provided.
- IllegalArgumentException should not be thrown within hdfs code because it is a RuntimException. We should throw IOException instead. This was recently discussed in another jira.
- Why do we commit patches without running unit tests and test-patch? This is the minimum requirement for a patch to qualify as committable, right?