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

Raghu Angadi commented on HADOOP-4014:
--------------------------------------

TestDFSUpgradeFromImage fails on XP about 60-80% of the time with following 
trace. This might be because of some flakiness with Cygwin's 'ln'. This patch 
seems to fix it. Can we mark this a blocker for 0.19? Konstantin,  do you have 
an improved patch?

{noformat}
java.io.IOException:
        at 
org.apache.hadoop.fs.FileUtil$HardLink.createHardLink(FileUtil.java:585)
        at 
org.apache.hadoop.hdfs.server.datanode.DataStorage.linkBlocks(DataStorage.java:377)
        at 
org.apache.hadoop.hdfs.server.datanode.DataStorage.linkBlocks(DataStorage.java:393)
        at 
org.apache.hadoop.hdfs.server.datanode.DataStorage.doUpgrade(DataStorage.java:282)
        at 
org.apache.hadoop.hdfs.server.datanode.DataStorage.doTransition(DataStorage.java:244)
        at 
org.apache.hadoop.hdfs.server.datanode.DataStorage.recoverTransitionRead(DataStorage.java:148)
        at 
org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:287)
        at 
org.apache.hadoop.hdfs.server.datanode.DataNode.<init>(DataNode.java:205)
{noformat}


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

Reply via email to