Gabriel Reid created CRUNCH-428:
-----------------------------------
Summary: 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.8.3, 0.10.0
Reporter: Gabriel Reid
Assignee: Gabriel Reid
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)