Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-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 BDD26101D8 for ; Thu, 23 Jan 2014 23:14:43 +0000 (UTC) Received: (qmail 92327 invoked by uid 500); 23 Jan 2014 23:14:41 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 92171 invoked by uid 500); 23 Jan 2014 23:14:40 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 92079 invoked by uid 500); 23 Jan 2014 23:14:39 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 91978 invoked by uid 99); 23 Jan 2014 23:14:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jan 2014 23:14:38 +0000 Date: Thu, 23 Jan 2014 23:14:38 +0000 (UTC) From: "Gene Kim (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-6296) Unhandled IllegalFormatException in serializer 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/HIVE-6296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gene Kim updated HIVE-6296: --------------------------- Attachment: Added_patch_for_format_bug.patch > Unhandled IllegalFormatException in serializer > ----------------------------------------------- > > Key: HIVE-6296 > URL: https://issues.apache.org/jira/browse/HIVE-6296 > Project: Hive > Issue Type: Bug > Components: Contrib > Reporter: Gene Kim > Priority: Minor > Attachments: Added_patch_for_format_bug.patch > > > In RegexSerDe's serialize method, a MissingFormatArgumentException is caught when formatting the output string, and a there are not enough arguments. However, it does not handle the case where the format string contains invalid format string syntax (e.g. %y) or has mismatching types. The attached patch provides a clean error message for this exception. -- This message was sent by Atlassian JIRA (v6.1.5#6160)