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


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