Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-3161

TestFileAppend fails on Mac since HADOOP-2655 was committed

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.17.0
    • Fix Version/s: 0.17.0
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      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

        1. HADOOP-3161.patch
          1 kB
          Nigel Daley

          Issue Links

            Activity

              People

              • Assignee:
                nidaley Nigel Daley
                Reporter:
                nidaley Nigel Daley
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: