[jira] [Commented] (FLUME-2497) TCP and UDP syslog sources parsing the timestamp incorrectly

2014-11-10 Thread Mike Percy (JIRA)

[ 
https://issues.apache.org/jira/browse/FLUME-2497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14205834#comment-14205834
 ] 

Mike Percy commented on FLUME-2497:
---

+1 lgtm. I have a couple minor nits (add a couple comments, formatting) that 
I'll just address on commit.

 TCP and UDP syslog sources parsing the timestamp incorrectly
 

 Key: FLUME-2497
 URL: https://issues.apache.org/jira/browse/FLUME-2497
 Project: Flume
  Issue Type: Bug
Affects Versions: v1.5.0.1
Reporter: Johny Rufus
Assignee: Johny Rufus
 Fix For: v1.6.0

 Attachments: FLUME-2497.patch


 TCP and UDP syslog sources parse the timestamp incorrectly while using 
 Syslogutils extractEvent and buildEvent  methods.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FLUME-2497) TCP and UDP syslog sources parsing the timestamp incorrectly

2014-11-10 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/FLUME-2497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14205864#comment-14205864
 ] 

ASF subversion and git services commented on FLUME-2497:


Commit 534fe268d1d0ad197f6e4a867ab0ae0155d1a927 in flume's branch 
refs/heads/trunk from [~mpercy]
[ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=534fe26 ]

FLUME-2497. Support fractional seconds in Syslog timestamps

This fixes a bug in the SyslogTcpSource and SyslogUdpSource where
fractional timestamps fail to parse.

(Johny Rufus via Mike Percy)


 TCP and UDP syslog sources parsing the timestamp incorrectly
 

 Key: FLUME-2497
 URL: https://issues.apache.org/jira/browse/FLUME-2497
 Project: Flume
  Issue Type: Bug
Affects Versions: v1.5.0.1
Reporter: Johny Rufus
Assignee: Johny Rufus
 Fix For: v1.6.0

 Attachments: FLUME-2497.patch


 TCP and UDP syslog sources parse the timestamp incorrectly while using 
 Syslogutils extractEvent and buildEvent  methods.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FLUME-2497) TCP and UDP syslog sources parsing the timestamp incorrectly

2014-11-10 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/FLUME-2497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14205865#comment-14205865
 ] 

ASF subversion and git services commented on FLUME-2497:


Commit dcc1ce066853a9594508f21a6bd0d7382a4c240e in flume's branch 
refs/heads/flume-1.6 from [~mpercy]
[ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=dcc1ce0 ]

FLUME-2497. Support fractional seconds in Syslog timestamps

This fixes a bug in the SyslogTcpSource and SyslogUdpSource where
fractional timestamps fail to parse.

(Johny Rufus via Mike Percy)


 TCP and UDP syslog sources parsing the timestamp incorrectly
 

 Key: FLUME-2497
 URL: https://issues.apache.org/jira/browse/FLUME-2497
 Project: Flume
  Issue Type: Bug
Affects Versions: v1.5.0.1
Reporter: Johny Rufus
Assignee: Johny Rufus
 Fix For: v1.6.0

 Attachments: FLUME-2497.patch


 TCP and UDP syslog sources parse the timestamp incorrectly while using 
 Syslogutils extractEvent and buildEvent  methods.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FLUME-2497) TCP and UDP syslog sources parsing the timestamp incorrectly

2014-11-10 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/FLUME-2497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14205890#comment-14205890
 ] 

Hudson commented on FLUME-2497:
---

SUCCESS: Integrated in flume-trunk #691 (See 
[https://builds.apache.org/job/flume-trunk/691/])
FLUME-2497. Support fractional seconds in Syslog timestamps (mpercy: 
http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.gita=commith=534fe268d1d0ad197f6e4a867ab0ae0155d1a927)
* flume-ng-core/src/main/java/org/apache/flume/source/SyslogUtils.java
* flume-ng-core/src/test/java/org/apache/flume/source/TestSyslogUtils.java


 TCP and UDP syslog sources parsing the timestamp incorrectly
 

 Key: FLUME-2497
 URL: https://issues.apache.org/jira/browse/FLUME-2497
 Project: Flume
  Issue Type: Bug
Affects Versions: v1.5.0.1
Reporter: Johny Rufus
Assignee: Johny Rufus
 Fix For: v1.6.0

 Attachments: FLUME-2497.patch


 TCP and UDP syslog sources parse the timestamp incorrectly while using 
 Syslogutils extractEvent and buildEvent  methods.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FLUME-2497) TCP and UDP syslog sources parsing the timestamp incorrectly

2014-11-10 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/FLUME-2497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14205898#comment-14205898
 ] 

Hudson commented on FLUME-2497:
---

SUCCESS: Integrated in Flume-trunk-hbase-98 #48 (See 
[https://builds.apache.org/job/Flume-trunk-hbase-98/48/])
FLUME-2497. Support fractional seconds in Syslog timestamps (mpercy: 
http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.gita=commith=534fe268d1d0ad197f6e4a867ab0ae0155d1a927)
* flume-ng-core/src/test/java/org/apache/flume/source/TestSyslogUtils.java
* flume-ng-core/src/main/java/org/apache/flume/source/SyslogUtils.java


 TCP and UDP syslog sources parsing the timestamp incorrectly
 

 Key: FLUME-2497
 URL: https://issues.apache.org/jira/browse/FLUME-2497
 Project: Flume
  Issue Type: Bug
Affects Versions: v1.5.0.1
Reporter: Johny Rufus
Assignee: Johny Rufus
 Fix For: v1.6.0

 Attachments: FLUME-2497.patch


 TCP and UDP syslog sources parse the timestamp incorrectly while using 
 Syslogutils extractEvent and buildEvent  methods.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FLUME-2497) TCP and UDP syslog sources parsing the timestamp incorrectly

2014-10-14 Thread Johny Rufus (JIRA)

[ 
https://issues.apache.org/jira/browse/FLUME-2497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14171642#comment-14171642
 ] 

Johny Rufus commented on FLUME-2497:


Reference to the javadoc for SimpleDateFormat, 
http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html
which specifies that 'S' corresponds to milliseconds and the standard format 
that matches the above pattern for parsing is
-MM-dd'T'HH:mm:ss.S and in which case S = 222357 is taken as milliseconds

 TCP and UDP syslog sources parsing the timestamp incorrectly
 

 Key: FLUME-2497
 URL: https://issues.apache.org/jira/browse/FLUME-2497
 Project: Flume
  Issue Type: Bug
Affects Versions: v1.5.0.1
Reporter: Johny Rufus
Assignee: Johny Rufus
 Fix For: v1.6.0

 Attachments: FLUME-2497.patch


 TCP and UDP syslog sources parse the timestamp incorrectly while using 
 Syslogutils extractEvent and buildEvent  methods.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FLUME-2497) TCP and UDP syslog sources parsing the timestamp incorrectly

2014-10-14 Thread Hari Shreedharan (JIRA)

[ 
https://issues.apache.org/jira/browse/FLUME-2497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14171955#comment-14171955
 ] 

Hari Shreedharan commented on FLUME-2497:
-

[~mpercy] - Could you please take a look? I am not too familiar with this code.

 TCP and UDP syslog sources parsing the timestamp incorrectly
 

 Key: FLUME-2497
 URL: https://issues.apache.org/jira/browse/FLUME-2497
 Project: Flume
  Issue Type: Bug
Affects Versions: v1.5.0.1
Reporter: Johny Rufus
Assignee: Johny Rufus
 Fix For: v1.6.0

 Attachments: FLUME-2497.patch


 TCP and UDP syslog sources parse the timestamp incorrectly while using 
 Syslogutils extractEvent and buildEvent  methods.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)