[ 
https://issues.apache.org/jira/browse/HIVE-24284?focusedWorklogId=503122&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-503122
 ]

ASF GitHub Bot logged work on HIVE-24284:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 21/Oct/20 10:12
            Start Date: 21/Oct/20 10:12
    Worklog Time Spent: 10m 
      Work Description: maheshk114 merged pull request #1586:
URL: https://github.com/apache/hive/pull/1586


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 503122)
    Time Spent: 20m  (was: 10m)

> 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: 20m
>  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)

Reply via email to