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