Return-Path: X-Original-To: apmail-crunch-dev-archive@www.apache.org Delivered-To: apmail-crunch-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3A53818053 for ; Wed, 30 Sep 2015 18:10:11 +0000 (UTC) Received: (qmail 17481 invoked by uid 500); 30 Sep 2015 18:10:04 -0000 Delivered-To: apmail-crunch-dev-archive@crunch.apache.org Received: (qmail 17445 invoked by uid 500); 30 Sep 2015 18:10:04 -0000 Mailing-List: contact dev-help@crunch.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@crunch.apache.org Delivered-To: mailing list dev@crunch.apache.org Received: (qmail 17383 invoked by uid 500); 30 Sep 2015 18:10:04 -0000 Delivered-To: apmail-incubator-crunch-dev@incubator.apache.org Received: (qmail 17343 invoked by uid 99); 30 Sep 2015 18:10:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Sep 2015 18:10:04 +0000 Date: Wed, 30 Sep 2015 18:10:04 +0000 (UTC) From: "mac champion (JIRA)" To: crunch-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CRUNCH-565) CSVInputFormat needs to be more defensive when configuring itself MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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)