In the documentation for the chukwa agent for version 0.4.0, at this url:

http://incubator.apache.org/chukwa/docs/r0.4.0/agent.html

There is a section titled Adaptors which begins:

> This section lists the standard adaptors, and the arguments they take.
>    FileAdaptor: Pushes a whole file, as one Chunk, then exits. Takes one 
> mandatory parameter; the file to push.
>    add FileTailer FooData /tmp/foo 0

However, I believe this last line should read:

>    add FileAdaptor FooData /tmp/foo 0

$ telnet localhost 9093
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
add FileTailer FooData /tmp/foo 0
org.apache.hadoop.chukwa.datacollection.adaptor.AdaptorException: Can't load 
class FileTailer
add FileAdaptor FooData /tmp/foo 0
OK add completed; new ID is adaptor_7f93516f352c4aaa08140e7b5a1d52f4


Reply via email to