You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Konstantin Shvachko (JIRA)" <ji...@apache.org> on 2007/07/13 00:34:04 UTC
[jira] Updated: (HADOOP-1599) TestCopyFiles with
IllegalArgumentException on Windows
[ https://issues.apache.org/jira/browse/HADOOP-1599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konstantin Shvachko updated HADOOP-1599:
----------------------------------------
Attachment: DistUpgradeStatus2.patch
I slightly changed the way how data-nodes handle missed upgrades.
There is a method in data-node upgrade object preUpgradeAction(),
which determines whether the upgrade is to be started by the data-node
itself or it should wait for the name-node to initiate the upgrade process.
The self-startup happens after the data-node registration but before sending
the first heartbeat. The upgrade object should be able to distinguish whether
the upgrade started by the data-node or by the name-node, since in the former
case the name-node is not expected to receive any upgrade commands.
A also incremented the DatanodeProtocol version, which I forgot to do in my previous patch.
> TestCopyFiles with IllegalArgumentException on Windows
> ------------------------------------------------------
>
> Key: HADOOP-1599
> URL: https://issues.apache.org/jira/browse/HADOOP-1599
> Project: Hadoop
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.14.0
> Reporter: Nigel Daley
> Assignee: Senthil Subramanian
> Priority: Blocker
> Fix For: 0.14.0
>
> Attachments: DistUpgradeStatus2.patch
>
>
> 3 of the TestCopyFiles test cases fail on Windows since
> http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/152/
> Looks like they all failed due to:
> Copy failed: java.lang.IllegalArgumentException: Wrong FS: file://C:/hudson/workspace/Hadoop-WindowsTest/trunk/build/test/data/srcdat, expected: file:///
> at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:204)
> at org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:50)
> at org.apache.hadoop.fs.RawLocalFileSystem.exists(RawLocalFileSystem.java:217)
> at org.apache.hadoop.fs.FilterFileSystem.exists(FilterFileSystem.java:156)
> at org.apache.hadoop.util.CopyFiles.run(CopyFiles.java:832)
> at org.apache.hadoop.util.ToolBase.doMain(ToolBase.java:187)
> at org.apache.hadoop.fs.TestCopyFiles.testCopyFromLocalToLocal(TestCopyFiles.java:166)
> 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.