Sfoglia il codice sorgente

HADOOP-391. Fix a bug in the streamin contrib unit tests when run on Windows.

git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk@427236 13f79535-47bb-0310-9956-ffa450edef68
Doug Cutting 19 anni fa
parent
commit
8dd4f70767

+ 1 - 1
src/contrib/streaming/src/test/org/apache/hadoop/streaming/TestStreaming.java

@@ -80,7 +80,7 @@ public class TestStreaming extends TestCase
     vargs.add(jvm.toString());
     // copy parent classpath
     vargs.add("-classpath");
-    vargs.add(System.getProperty("java.class.path"));
+    vargs.add("\"" + System.getProperty("java.class.path") + "\"");
 
     // Add main class and its arguments
     vargs.add(main.getName());