[
https://issues.apache.org/jira/browse/HADOOP-4014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636665#action_12636665
]
Tsz Wo (Nicholas), SZE commented on HADOOP-4014:
------------------------------------------------
{code}
- if (srcFS.isDirectory(src)) {
+ if (srcFS.getFileStatus(src).isDir()) {
{code}
It seems to me that isDirectory(src) cannot be replaced by
getFileStatus(src).isDir() since FileNotFoundException may be thrown.
> 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.