Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 4074 invoked from network); 28 Sep 2007 19:44:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Sep 2007 19:44:14 -0000 Received: (qmail 92979 invoked by uid 500); 28 Sep 2007 19:44:03 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 92940 invoked by uid 500); 28 Sep 2007 19:44:02 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 92915 invoked by uid 99); 28 Sep 2007 19:44:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2007 12:44:02 -0700 X-ASF-Spam-Status: No, hits=-98.8 required=10.0 tests=ALL_TRUSTED,DNS_FROM_DOB,RCVD_IN_DOB X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2007 19:44:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 01BDB714219 for ; Fri, 28 Sep 2007 12:43:51 -0700 (PDT) Message-ID: <539544.1191008631004.JavaMail.jira@brutus> Date: Fri, 28 Sep 2007 12:43:51 -0700 (PDT) From: "Hadoop QA (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-1959) Use of File.separator in StatusHttpServer prevents running Junit tests inside eclipse on Windows In-Reply-To: <18292733.1190925230717.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-1959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12531128 ] Hadoop QA commented on HADOOP-1959: ----------------------------------- -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12366694/patch.txt against trunk revision r580399. @author +1. The patch does not contain any @author tags. javadoc +1. The javadoc tool did not generate any warning messages. javac +1. The applied patch does not generate any new compiler warnings. findbugs +1. The patch does not introduce any new Findbugs warnings. core tests +1. The patch passed core unit tests. contrib tests -1. The patch failed contrib unit tests. Test results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/843/testReport/ Findbugs warnings: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/843/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Checkstyle results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/843/artifact/trunk/build/test/checkstyle-errors.html Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/843/console This message is automatically generated. > 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 > Components: mapred > 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.