You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2014/04/28 23:25:20 UTC

[jira] [Updated] (HIVE-6296) Unhandled IllegalFormatException in serializer

     [ https://issues.apache.org/jira/browse/HIVE-6296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashutosh Chauhan updated HIVE-6296:
-----------------------------------

    Status: Open  (was: Patch Available)

RegexSerde has moved to serde package in org.apache.hadoop.hive.serde2.RegexSerDe. Can you try that class? o.a.h.h.contrib.serde2.RegexSerDe is there only for backward compatibility and is no longer actively maintained.

> 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.2#6252)