[ 
https://issues.apache.org/jira/browse/HADOOP-3161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nigel Daley updated HADOOP-3161:
--------------------------------

    Attachment: HADOOP-3161.patch

Adds OS_TYPE_MAC to FileUtil so file system commands can be properly specified 
for the Mac.

Without this patch, TestFileAppend fails (since Feb 26).  With this patch that 
test passes.

> TestFileAppend fails on Mac since HADOOP-2655 was committed
> -----------------------------------------------------------
>
>                 Key: HADOOP-3161
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3161
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.17.0
>            Reporter: Nigel Daley
>            Priority: Minor
>         Attachments: HADOOP-3161.patch
>
>
> org.apache.hadoop.dfs.TestFileAppend.testCopyOnWrite fails with this 
> exception:
> java.io.IOException: stat: illegal option -- c
>       at 
> org.apache.hadoop.fs.FileUtil$HardLink.getLinkCount(FileUtil.java:557)
>       at 
> org.apache.hadoop.dfs.DatanodeBlockInfo.detachBlock(DatanodeBlockInfo.java:117)
>       at org.apache.hadoop.dfs.FSDataset.detachBlock(FSDataset.java:652)
>       at 
> org.apache.hadoop.dfs.TestFileAppend.testCopyOnWrite(TestFileAppend.java:188)
> Mac command should be
> stat -f$l

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