Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.
The following page has been changed by andykonwinski: http://wiki.apache.org/hadoop/Chukwa_Quick_Start The comment on the change is: make headings ------------------------------------------------------------------------------ You should start the collector first, then the agent, and finally any adaptors. - * Compiling and installing Chukwa + ==Compiling and installing Chukwa== - If Chukwa is in the hadoop contrib directory, you should be able to just say ``ant'' in the project root directory. - * Configuring and starting the Collector + ==Configuring and starting the Collector== - Copy conf/chukwa-collector-conf.xml.template to conf/chukwa-collector-conf.xml @@ -32, +32 @@ - In the chukwa root directory, say ``bash bin/jettyCollector.sh'' - * Configuring and starting the Local Agent + ==Configuring and starting the Local Agent== - Copy conf/chukwa-agent-conf.xml.template to conf/chukwa-agent-conf.xml @@ -40, +40 @@ - In the chukwa root directory, say ``bash bin/agent.sh'' - * Starting Adaptors + ==Starting Adaptors== - The local agent speaks a simple text-based protocol, by default over port 9093. + The local agent speaks a simple text-based protocol, by default over port 9093. Suppose you want Chukwa to start tailing a file /path/to/file of type MyFileType on localhost: @@ -59, +59 @@ If you don't have telnet, you can get the same effect with netcat (``nc''). - * Configuring and starting the demux job + ==Configuring and starting the demux job== - Edit bin/chukwa-config.sh to match your system configuration @@ -69, +69 @@ - (Document TODO: This script has a hard-coded 54310 port. Can you confirm that you must be running hdfs from 54310?) - * Configuring and starting HICC + ==Configuring and starting HICC== - Download Apache Tomcat from http://tomcat.apache.org/download-60.cgi @@ -81, +81 @@ - Startup Tomcat. - RUNNING CHUKWA -- NETWORKED + ==RUNNING CHUKWA -- NETWORKED== Running Chukwa in a networked context is essentially similar to the single-machine deployment discussed above. However, in a network context, you would also need to tell the local agent where the collector[s] live, by listing them in conf/collectors.
