Uploaded image for project: 'Crunch (Retired)'
  1. Crunch (Retired)
  2. CRUNCH-652

SourceTargetHelperTest became flaky when upgrading to hadoop 3.0.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.0.0
    • None
    • None

    Description

      Problem description: org.apache.crunch.io.SourceTargetHelperTest became flaky - it failed when its testGetNonExistentPathSize_NonExistantPath() method ran first

      Root cause: due to upgrading the hadoop version to 3.0.0, the org.apache.hadoop.fs.FsTracer singleton has been pulled in, which throws an NPE when initialized with a filesystem that has null configuration. SourceTargetHelperTest.MockFileSystem.fs has null configuration.

      Attachments

        1. CRUNCH-652_v01.patch
          2 kB
          Gergo Repas

        Issue Links

          Activity

            People

              jwills Josh Wills
              grepas Gergo Repas
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: