hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "Chukwa_Quick_Start" by EricYang
Date Wed, 24 Nov 2010 21:48:53 GMT
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 EricYang.
http://wiki.apache.org/hadoop/Chukwa_Quick_Start?action=diff&rev1=32&rev2=33

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

  
  === Configure Log4j syslog appender ===
  
- Edit HADOOP_CONF_DIR/log4j.properties, and replace DRFA appender with SyslogAppender:
+ Edit HADOOP_CONF_DIR/log4j.properties, and replace DRFA appender with SocketAppender:
  
  {{{
      log4j.appender.DRFA=org.apache.log4j.net.SocketAppender
@@ -44, +44 @@

      log4j.appender.DRFA.Facility=LOCAL1
  }}}
  
- Save the file, and restart Hadoop Cluster.
+ Save the file.
+ 
+ Copy CHUKWA_HOME/hadoop-metrics.properties to HADOOP_CONF_DIR.
+ Copy CHUKWA_HOME/chukwa-hadoop-0.5.0-client.jar to HADOOP_HOME/lib.
+ 
+ Restart Hadoop Cluster.
  
  General HBASE configuration is available at:  [[http://hbase.apache.org/docs/current/api/overview-summary.html#overview_description|HBase
Configuration]]
  
@@ -64, +69 @@

   1. ''In the chukwa root directory, say bash bin/chukwa agent''
  
  == Starting Adaptors ==
- The local agent speaks a simple text-based protocol, by default over port 9093. Suppose
you want Chukwa to monitor system metrics on the localhost:
+ The local agent speaks a simple text-based protocol, by default over port 9093. Suppose
you want Chukwa to monitor system metrics, hadoop metrics, and hadoop logs on the localhost:
  
   1. Telnet to localhost 9093
   1. Type [without quotation marks] "add org.apache.hadoop.chukwa.datacollection.adaptor.sigar.SystemMetrics
SystemMetrics 60 0"
+  1. Type [without quotation marks] "add SocketAdaptor HadoopMetrics 9095 0"
+  1. Type [without quotation marks] "add SocketAdaptor Hadoop 9096 0"
   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.

Mime
View raw message