hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip Tromans (JIRA)" <>
Subject [jira] [Commented] (HIVE-3581) get_json_object and json_tuple return null in the presence of new line characters
Date Wed, 17 Oct 2012 11:56:03 GMT


Philip Tromans commented on HIVE-3581:

This patch breaks hive trunk on Hadoop, I guess because of the difference in Jackson
versions. Running hive gives:

Exception in thread "main" java.lang.NoSuchFieldError: ALLOW_UNQUOTED_CONTROL_CHARS
        at org.apache.hadoop.hive.ql.udf.generic.GenericUDTFJSONTuple.<clinit>(
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
        at java.lang.reflect.Constructor.newInstance(
        at org.apache.hadoop.util.ReflectionUtils.newInstance(
        at org.apache.hadoop.hive.ql.exec.FunctionRegistry.registerGenericUDTF(
        at org.apache.hadoop.hive.ql.exec.FunctionRegistry.registerGenericUDTF(
        at org.apache.hadoop.hive.ql.exec.FunctionRegistry.<clinit>(
        at org.apache.hadoop.hive.ql.session.SessionState.<init>(
        at org.apache.hadoop.hive.cli.CliSessionState.<init>(
        at org.apache.hadoop.hive.cli.CliDriver.main(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at org.apache.hadoop.util.RunJar.main(

Backing the patch out makes everything work again.
> get_json_object and json_tuple return null in the presence of new line characters
> ---------------------------------------------------------------------------------
>                 Key: HIVE-3581
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.10.0
>            Reporter: Kevin Wilfong
>            Assignee: Kevin Wilfong
>         Attachments: HIVE-3581.1.patch.txt
> This was introduced when these functions were updated to use Jackson.

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:

View raw message