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

TestFileAppend fails on Mac since HADOOP-2655 was committed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.17.0
    • 0.17.0
    • test
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: