Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change 
notification.

The "Chukwa_Quick_Start" page has been changed by klein_Huang.
http://wiki.apache.org/hadoop/Chukwa_Quick_Start?action=diff&rev1=23&rev2=24

--------------------------------------------------

  The Chukwa monitoring system has a number of components. This section gives 
guidance on starting each of them on your local machine. You should start the 
collector first, then the agent, and finally any adaptors.
  
  == Compiling and installing Chukwa ==
- 
   1. To compile Chukwa, just say ''ant'' in the project root directory.
   1. Move the compiled jars from build to the Chukwa root directory.
-  1. 
  
  == Configuring and starting the Collector ==
- 
   1. Copy conf/chukwa-collector-conf.xml.template to 
conf/chukwa-collector-conf.xml
-  1. Copy conf/chukwa-env.sh-template to conf/chukwa-env.sh.  
+  1. Copy conf/chukwa-env.sh-template to conf/chukwa-env.sh.
-  1. Edit chukwa-env.sh.  You almost certainly need to set JAVA_HOME, 
HADOOP_HOME, and HADOOP_CONF_DIR, at least. 
+  1. Edit chukwa-env.sh.  You almost certainly need to set JAVA_HOME, 
HADOOP_HOME, and HADOOP_CONF_DIR, at least.
-  1. In the chukwa root directory, say ``bash bin/jettyCollector.sh''
+  1. In the chukwa root directory, say bash bin/jettyCollector.sh'' ''
  
  == Configuring and starting the Local Agent ==
-  
-  1. Copy conf/chukwa-agent-conf.xml.template to conf/chukwa-agent-conf.xml
+  1. ''Copy conf/chukwa-agent-conf.xml.template to conf/chukwa-agent-conf.xml 
''
-  1. Copy conf/collectors.template to conf/collectors
+  1. ''Copy conf/collectors.template to conf/collectors ''
-  1. In the chukwa root directory, say ``bash bin/agent.sh''
+  1. ''In the chukwa root directory, say bash bin/agent.sh''
   1. Without other options, that will have the agent push data across to the 
collector; if you instead say bin/agent.sh local, that will cause the agent to 
just print to standard out.
  
  == Starting Adaptors ==
+ 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:
- 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:
  
   1. Telnet to localhost 9093
   1. Type [without quotation marks] "ADD filetailer.CharFileTailingAdaptorUTF8 
aDataType /path/to/file 0"
-  1. Type "list" -- you should see the adaptor you just started, listed as 
running. 
+  1. Type "list" -- you should see the adaptor you just started, listed as 
running.
   1. Type  "close" to break the connection.
-  1. If you don't have telnet, you can get the same effect using the netcat 
(''nc'') command line tool. 
+  1. If you don't have telnet, you can get the same effect using the netcat 
(''nc'') command line tool.
-     
+ 
  == Setting up data processing ==
-   See the Chukwa administration guide for instructions in setting up data 
processing.
+  . See the Chukwa administration guide for instructions in setting up data 
processing.
  

Reply via email to