hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Kellerman (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-1959) Use of File.separator in StatusHttpServer prevents running Junit tests inside eclipse on Windows
Date Thu, 27 Sep 2007 20:39:51 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-1959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jim Kellerman updated HADOOP-1959:
----------------------------------

    Status: Patch Available  (was: Open)

Works for me. Try Hudson.

> Use of File.separator in StatusHttpServer prevents running Junit tests inside eclipse
on Windows
> ------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-1959
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1959
>             Project: Hadoop
>          Issue Type: Bug
>    Affects Versions: 0.15.0
>            Reporter: Jim Kellerman
>            Assignee: Jim Kellerman
>            Priority: Minor
>             Fix For: 0.15.0
>
>         Attachments: patch.txt
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message