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 2008/09/04 04:53:44 UTC
[jira] Commented: (HADOOP-4014) DFS upgrade fails on Windows
[ 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.