Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-24284

NPE when parsing druid logs using Hive

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • Hive

    Description

      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.

       

      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) 

      Attachments

        Issue Links

          Activity

            People

              maheshk114 mahesh kumar behera
              maheshk114 mahesh kumar behera
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m