[
https://issues.apache.org/jira/browse/FLUME-1277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13495082#comment-13495082
]
Hudson commented on FLUME-1277:
-------------------------------
Integrated in flume-trunk #324 (See
[https://builds.apache.org/job/flume-trunk/324/])
FLUME-1277. Error parsing Syslog rfc 3164 messages with null values.
(Revision 4c6faee565518d154672210c6418bdad0bc42e85)
Result = UNSTABLE
mpercy :
http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=4c6faee565518d154672210c6418bdad0bc42e85
Files :
* flume-ng-core/src/main/java/org/apache/flume/source/SyslogUtils.java
* flume-ng-core/src/test/java/org/apache/flume/source/TestSyslogUtils.java
> Error parsing Syslog rfc 3164 messages with null values
> -------------------------------------------------------
>
> Key: FLUME-1277
> URL: https://issues.apache.org/jira/browse/FLUME-1277
> Project: Flume
> Issue Type: Bug
> Components: Sinks+Sources
> Affects Versions: v1.1.0, v1.2.0
> Reporter: Brent Halsey
> Assignee: Brock Noland
> Priority: Minor
> Fix For: v1.3.0
>
> Attachments: FLUME-1277-1a.patch, FLUME-1277-1.patch,
> FLUME-1277-fix.patch, FLUME-1277-test.patch
>
>
> The SyslogUtils class doesn't properly parse rfc 3164 style messages
> containing a null (hyphen) value. e.g.,
> <10>Apr 1 13:14:04 ubuntu-11.cloudera.com - rest_of_message
> It tries to parse it as a 5424 style message, skips over the date
> information, and interprets the first hyphen as a null timestamp. Part of
> the problem is the use of a Scanner and regex. This skips over a properly
> formatted 3164 style message until it finds anything that matches the 5424
> regex, including a hyphen.
--
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: http://www.atlassian.com/software/jira