You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/10/19 06:55:00 UTC

[jira] [Updated] (HIVE-24284) NPE when parsing druid logs using Hive

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

ASF GitHub Bot updated HIVE-24284:
----------------------------------
    Labels: pull-request-available  (was: )

> NPE when parsing druid logs using Hive
> --------------------------------------
>
>                 Key: HIVE-24284
>                 URL: https://issues.apache.org/jira/browse/HIVE-24284
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>            Reporter: mahesh kumar behera
>            Assignee: mahesh kumar behera
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> As per current Sys-logger parser, its always expecting a valid proc id. But as per RFC3164 and RFC5424, the proc id can be skipped.So hive should handled it by using NILVALUE/empty string in case the proc id is null.
>  
> {code:java}
> Caused by: java.lang.NullPointerException: null
> at java.lang.String.<init>(String.java:566)
> at org.apache.hadoop.hive.ql.log.syslog.SyslogParser.createEvent(SyslogParser.java:361)
> at org.apache.hadoop.hive.ql.log.syslog.SyslogParser.readEvent(SyslogParser.java:326)
> at org.apache.hadoop.hive.ql.log.syslog.SyslogSerDe.deserialize(SyslogSerDe.java:95) {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)