Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.15.0
-
None
-
None
Description
There is exactly one use of File.separator in StatusHttpServer. In every other instance, a literal "/" is used.
When running a Junit test inside eclipse on Windows, the the jetty web server fails to start due to the following exception:
java.io.FileNotFoundException: jar:file:/C:/workspace/hadoop-commit/build/hadoop-0.15.0-dev-core.jar!/webapps\dfs
Changing File.separator to "/" enables the test to be run, and unit tests run from ant on the command line still work.