Month: August 2011

HBase JMX metrics

HBase exposes several metrics via JMX beans, some of which are similar to the Oracle performance counters recorded by AWR. Actually, they aren’t even *close* to what Oracle provides, but one can hope 🙂 Below is a simple example of…

Printing hadoop properties

The hadoop Configuration class implements the Iterable interface, so you can simply create a default configuration and list all properties, or pass a custom XML configuration file and print the properties from that. Below is a simple example. import java.util.*;…