Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8EAB56163 for ; Sat, 11 Jun 2011 22:20:21 +0000 (UTC) Received: (qmail 46572 invoked by uid 500); 11 Jun 2011 22:20:21 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 46535 invoked by uid 500); 11 Jun 2011 22:20:21 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 46524 invoked by uid 99); 11 Jun 2011 22:20:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Jun 2011 22:20:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Jun 2011 22:20:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7553E414350 for ; Sat, 11 Jun 2011 22:19:58 +0000 (UTC) Date: Sat, 11 Jun 2011 22:19:58 +0000 (UTC) From: "Harsh J (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1978328307.86.1307830798477.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <860231771.38800.1306232087463.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HADOOP-7328) Give more information about a missing Serializer class MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-7328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Harsh J updated HADOOP-7328: ---------------------------- Release Note: (was: Improve SerializationFactory's handling of cases where a serializer isn't found given a class.) Status: Patch Available (was: Open) Please review patch at https://reviews.apache.org/r/884/ > Give more information about a missing Serializer class > ------------------------------------------------------ > > Key: HADOOP-7328 > URL: https://issues.apache.org/jira/browse/HADOOP-7328 > Project: Hadoop Common > Issue Type: Improvement > Components: io > Affects Versions: 0.20.2 > Reporter: Harsh J > Assignee: Harsh J > Labels: io, serialization > Fix For: 0.23.0 > > Attachments: HADOOP-7328.r1.diff > > > When you have a key/value class that's non Writable and you forget to attach io.serializers for the same, an NPE is thrown by the tasks with no information on why or what's missing and what led to it. I think a better exception can be thrown by SerializationFactory instead of an NPE when a class is not found accepted by any of the loaded ones. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira