Description
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
Attachments
Attachments
Issue Links
- blocks
-
HADOOP-1700 Append to files in HDFS
- Closed