incubator-chukwa-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ying Tang <ivytang0...@gmail.com>
Subject Re: collector PatternSyntaxException
Date Wed, 03 Nov 2010 13:06:25 GMT
Ingore me , i  found i mistake the port.

On Wed, Nov 3, 2010 at 8:41 PM, Ying Tang <ivytang0812@gmail.com> wrote:

> I setup agent , collector and HDFS.
>
> But the agent throws
>     I/O exception (java.net.SocketException) caught when processing
> request: Broken pipe
>     2010-11-03 20:35:17,708 INFO HTTP post thread HttpMethodDirector -
> Retrying request
>     2010-11-03 20:35:17,729 INFO HTTP post thread HttpMethodDirector - I/O
> exception (java.net.SocketException) caught when processing request:
> Connection reset
>     2010-11-03 20:35:17,729 INFO HTTP post thread HttpMethodDirector -
> Retrying request
>     2010-11-03 20:35:17,744 INFO HTTP post thread HttpMethodDirector - I/O
> exception (java.net.SocketException) caught when processing request: Broken
> pipe
>
> And the collector throws
>     got connection from   (agent's ip)
>     2010-11-03 20:35:59,757 WARN Thread-3460 SocketTeeWriter -
> java.util.regex.PatternSyntaxException: bad command 'POST' -- starts with
> neither 'RAW' nor 'WRITABLE nor HEADER'.
>
>
> And the data to HDFS is incomplete .
>
> I saw the source code of SocketTeeWriter , and it says the exception be
> thrown because the data sent by agent is missing the RAW\WRITABLE\HEADER.
>
> How this happened?
>
>
> --
> Best regards,
>
> Ivy Tang
>
>
>
>


-- 
Best regards,

Ivy Tang

Mime
View raw message