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 Thu, 04 Sep 2008 02:53:44 GMT

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

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

I'd rather introduce a static member {{OSType osType;}} and use it to verify in which order
the arguments should be set in the command line.
{{osType}} should replace {{osName}} with the latter becoming a local variable of {{getOSType()}}.
You effectively do the same by comparing command name is "fsutil". Checking osType seems to
be cleaner.
"XpP" - is a good catch. 
Did you really try it on Vista?


> 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
>         Attachments: HADOOP-4014.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