hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arun C Murthy (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-2112) TestMiniMRMapRedDebugScript fails due to a missing file
Date Sat, 27 Oct 2007 09:43:50 GMT

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

Arun C Murthy updated HADOOP-2112:
----------------------------------

    Attachment: HADOOP-2112_1_20071027.patch


Looks like the revert (http://svn.apache.org/viewvc?rev=588771&view=rev) made a minor
hash of build.xml... it removed 3 lines from a previous patch it shouldn't have:
http://svn.apache.org/viewvc/lucene/hadoop/trunk/build.xml?r1=588585&r2=588771&diff_format=h

I've checked to ensure that no other files were hurt by the revert:
http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/filecache/DistributedCache.java?r1=588585&r2=588771&diff_format=h
http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobClient.java?r1=588341&r2=588771&diff_format=h
http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobConf.java?r1=588585&r2=588771&diff_format=h
http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java?r1=588585&r2=588771&diff_format=h
http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/util/RunJar.java?r1=588341&r2=588771&diff_format=h

One option to fix this is to go back to the revision before HADOOP-1622 got in and retroactively
apply the later patches. Given that this is a minor fix (3 lines were lost from build.xml)
I prefer to just supply a new patch and be done. Here it is...


> TestMiniMRMapRedDebugScript fails due to a missing file
> -------------------------------------------------------
>
>                 Key: HADOOP-2112
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2112
>             Project: Hadoop
>          Issue Type: Bug
>    Affects Versions: 0.16.0
>            Reporter: Devaraj Das
>            Assignee: Arun C Murthy
>            Priority: Blocker
>             Fix For: 0.16.0
>
>         Attachments: build.xml.diff, HADOOP-2112_1_20071027.patch
>
>
> The testcase fails consistently with the following error:
> Waiting for the Mini HDFS Cluster to start...
> java.io.IOException: build/test/debug/testscript.txt: No such file or directory
>         at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:142)
>         at org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:826)
>         at org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:814)
>         at org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:795)
>         at org.apache.hadoop.mapred.TestMiniMRMapRedDebugScript.launchFailMapAndDebug(TestMiniMRMapRedDebugScript.java:132)
>         at org.apache.hadoop.mapred.TestMiniMRMapRedDebugScript.testMapDebugScript(TestMiniMRMapRedDebugScript.java:199)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at junit.framework.TestCase.runTest(TestCase.java:154)
>         at junit.framework.TestCase.runBare(TestCase.java:127)
>         at junit.framework.TestResult$1.protect(TestResult.java:106)
>         at junit.framework.TestResult.runProtected(TestResult.java:124)
>         at junit.framework.TestResult.run(TestResult.java:109)
>         at junit.framework.TestCase.run(TestCase.java:118)
>         at junit.framework.TestSuite.runTest(TestSuite.java:208)
>         at junit.framework.TestSuite.run(TestSuite.java:203)
>         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
>         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
>         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)

-- 
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