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

TestTextInputFormat fails on some platforms due to non-determinism in format.getSplits()

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.9.0
    • Component/s: test
    • Labels:
      None

      Description

      TestTextInputFormat depends on format.getSplits() returning splits in the order they were created. On a local filesystem getSplits() depends on File.list(), the order produced by which is non-deterministic. This causes the test to fail on some platforms.

        Attachments

        1. reorder-splits.txt
          0.8 kB
          Sameer Paranjpye

          Activity

            People

            • Assignee:
              sameerp Sameer Paranjpye
              Reporter:
              sameerp Sameer Paranjpye
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: