hi all:
i'm use flume to receive syslog that send by perl,but there are alway some 
errors.
Oct 15, 2015 11:11:13 AM org.jboss.netty.channel.SimpleChannelHandler
WARNING: EXCEPTION, please implement 
org.apache.flume.source.SyslogUDPSource$syslogHandler.exceptionCaught() for 
proper handling.
java.lang.NumberFormatException: For input string: ""
        at 
java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        at java.lang.Integer.parseInt(Integer.java:504)
        at java.lang.Integer.parseInt(Integer.java:527)
        at org.apache.flume.source.SyslogUtils.buildEvent(SyslogUtils.java:294)
        at 
org.apache.flume.source.SyslogUtils.extractEvent(SyslogUtils.java:476)
        at 
org.apache.flume.source.SyslogUDPSource$syslogHandler.messageReceived(SyslogUDPSource.java:78)
        at 
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)
        at 
org.jboss.netty.channel.socket.oio.OioDatagramWorker.process(OioDatagramWorker.java:54)
        at 
org.jboss.netty.channel.socket.oio.AbstractOioWorker.run(AbstractOioWorker.java:75)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
The following is the packet.
who can help me ,thanks.



lizhenm...@163.com

Reply via email to