Effectively a "Tee" in the writer pipeline.
Accepts incoming connections on port specified by chukwaCollector.tee.port.
Defaults to 9094
Protocol is as follows:
Client ---> TeeWriter "RAW | WRITABLE "
as per DumpChunks.
TeeWriter ---> Client "OK\n"
In RAW mode
TeeWriter ---> Client (length(int) byte[length])*
An indefinite sequence of length, followed by byte array.
In Writable mode
TeeWriter ---> Client (Chunk serialized as Writable)*
An indefinite sequence of serialized chunks
In English: clients should connect and say either "RAW " or "WRITABLE "
followed by a filter. (Note that the keyword is followed by exactly one space.)
They'll then receive either a sequence of byte arrays or of writable-serialized.
Option chukwaCollector.tee.keepalive controls using TCP keepalive. Defaults to true.
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.hadoop.chukwa.datacollection.writer.ChukwaWriter