You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by "mac champion (JIRA)" <ji...@apache.org> on 2015/09/30 20:10:04 UTC

[jira] [Created] (CRUNCH-565) CSVInputFormat needs to be more defensive when configuring itself

mac champion created CRUNCH-565:
-----------------------------------

             Summary: CSVInputFormat needs to be more defensive when configuring itself
                 Key: CRUNCH-565
                 URL: https://issues.apache.org/jira/browse/CRUNCH-565
             Project: Crunch
          Issue Type: Bug
          Components: Core
    Affects Versions: 0.8.3, 0.10.0
            Reporter: mac champion
            Assignee: Josh Wills
            Priority: Minor


It seems that some behavior has changed somewhere along the line where hadoop Configuration is concerned. It is possible that a call to .get(OPTION) will return null. CSVInputFormat does not handle that case gracefully:

https://github.com/apache/crunch/blob/apache-crunch-0.10.0/crunch-core/src/main/java/org/apache/crunch/io/text/csv/CSVInputFormat.java#L178-L183





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)