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

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

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

            Dates

              Created:
              Updated:
              Resolved: