[
https://issues.apache.org/jira/browse/CRUNCH-652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gergo Repas updated CRUNCH-652:
-------------------------------
Attachment: CRUNCH-652_v01.patch
Attaching a patch for fixing this issue. Fix summary:
SourceTargetHelperTest.MockFileSystem construction to use an underlying
filesystem which has non-null Configuration
> SourceTargetHelperTest became flaky when upgrading to hadoop 3.0.0
> ------------------------------------------------------------------
>
> Key: CRUNCH-652
> URL: https://issues.apache.org/jira/browse/CRUNCH-652
> Project: Crunch
> Issue Type: Bug
> Reporter: Gergo Repas
> Priority: Minor
> Attachments: CRUNCH-652_v01.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)