hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-4014) DFS upgrade fails on Windows
Date Sat, 04 Oct 2008 05:55:44 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-4014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636789#action_12636789
] 

Konstantin Shvachko commented on HADOOP-4014:
---------------------------------------------

Yes, FileNotFoundException is thrown instead of the custom IOException, which changes the
description returned. E.g.
{code}
08/10/03 22:32:17 INFO cli.TestCLI:             Expected output:   [copyFromLocal: /user/wrongdata:
No such file or directory]
08/10/03 22:32:17 INFO cli.TestCLI:               Actual output:   [copyFromLocal: File /user/wrongdata
does not exist.
{code}
It is really a bad idea to verify correctness based on an exception description.
So now the question is whether these descriptions are a part of the CLI api and it is going
to be an incompatible change if I modify the "Expected output"?

> DFS upgrade fails on Windows
> ----------------------------
>
>                 Key: HADOOP-4014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4014
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.18.0
>         Environment: Windows XP, Windows 2003 Server
>            Reporter: NOMURA Yoshihide
>            Assignee: Konstantin Shvachko
>            Priority: Blocker
>         Attachments: HADOOP-4014.patch, HardLinkWin.patch
>
>
> FileUtil.HardLink#createHardLink() didn't work on Windows, and DFS upgrade of Datanode
fails.
> The windows command 'fsutil' requires the arguments link name first as follows,
> > fsutil hardlink create <link name> <target>
> But the current FileUtil passes the target first.

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