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 49F7CD811 for ; Sun, 23 Sep 2012 12:58:13 +0000 (UTC) Received: (qmail 79407 invoked by uid 500); 23 Sep 2012 12:58:13 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 79352 invoked by uid 500); 23 Sep 2012 12:58:12 -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 79247 invoked by uid 99); 23 Sep 2012 12:58:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Sep 2012 12:58:12 +0000 Date: Sun, 23 Sep 2012 23:58:12 +1100 (NCT) From: "Hudson (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <90892417.113622.1348405092322.JavaMail.jiratomcat@arcas> In-Reply-To: <1220435107.35584.1342016916063.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (HADOOP-8588) SerializationFactory shouldn't throw a NullPointerException if the serializations list is empty MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-8588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13461412#comment-13461412 ] Hudson commented on HADOOP-8588: -------------------------------- Integrated in Hadoop-Hdfs-trunk #1174 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1174/]) HADOOP-8588. SerializationFactory shouldn't throw a NullPointerException if the serializations list is empty. Contributed by Sho Shimauchi. (harsh) (Revision 1389002) Result = SUCCESS harsh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1389002 Files : * /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/serializer/SerializationFactory.java * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/serializer/TestSerializationFactory.java > SerializationFactory shouldn't throw a NullPointerException if the serializations list is empty > ----------------------------------------------------------------------------------------------- > > Key: HADOOP-8588 > URL: https://issues.apache.org/jira/browse/HADOOP-8588 > Project: Hadoop Common > Issue Type: Improvement > Components: io > Affects Versions: 2.0.0-alpha > Reporter: Harsh J > Assignee: Sho Shimauchi > Priority: Minor > Fix For: 3.0.0 > > Attachments: HADOOP-8588.txt, HADOOP-8588.txt, HADOOP-8588.txt > > > The SerializationFactory throws an NPE if CommonConfigurationKeys.IO_SERIALIZATIONS_KEY is set to an empty list in the config. > It should rather print a WARN log indicating the serializations list is empty, and start up without any valid serialization classes. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira