[
https://issues.apache.org/jira/browse/CRUNCH-428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gabriel Reid resolved CRUNCH-428.
---------------------------------
Resolution: Fixed
Fix Version/s: 0.11.0
0.8.4
Pushed to master and 0.8 branch
> Disallow empty list of paths for file inputs
> --------------------------------------------
>
> Key: CRUNCH-428
> URL: https://issues.apache.org/jira/browse/CRUNCH-428
> Project: Crunch
> Issue Type: Bug
> Affects Versions: 0.10.0, 0.8.3
> Reporter: Gabriel Reid
> Assignee: Gabriel Reid
> Fix For: 0.8.4, 0.11.0
>
> Attachments: CRUNCH-428.patch
>
>
> There is currently no checking on the number of input paths supplied in a
> list to FileSourceImpl and its subclasses. This can lead to a confusing error
> when the empty list is deserialized from CrunchInputs, as an attempt is made
> to create a Path from an empty string.
> The various paths that construct FileSourceImpl subclasses should defensively
> protect against creating a file source with an empty list of paths.
--
This message was sent by Atlassian JIRA
(v6.2#6252)