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

SourceTargetHelperTest became flaky when upgrading to hadoop 3.0.0

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Component/s: None
    • Labels:
      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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: