the conf/chukwa-collector-conf.xml should have something like this:

 <property>
   <name>chukwaCollector.writerClass</name>
   
<value>org.apache.hadoop.chukwa.datacollection.writer.PipelineStageWriter</value>
 </property>

 <property>
   <name>chukwaCollector.pipeline</name>
   <value>org.apache.hadoop.chukwa.datacollection.writer.SocketTeeWriter</value>
 </property>

SocketTeeWriter writes the data to a socket. You'd be writing a
different program to listen to the socket and read this data in real
time.

thx,
thushara

On Sun, Dec 13, 2009 at 1:13 PM, Eric Yang <[email protected]> wrote:
> Hi all,
>
> I plan to write some widgets for real time monitoring for small cluster.  As
> I recall, there were some writers that have been implemented to mirror data
> and send to different writers.  I don't have full knowledge of how to
> configure writers. Could someone show me how to use the existing
> SocketTeeWriter and PipelineStageWriter?
>
> Regards,
> Eric
>
>

Reply via email to