Michael Bieniosek wrote:
> Has anyone tried to use GangliaContext for recording metrics?  It looks like
> I'm supposed to call emitRecord with an OutputRecord object, but I can't
> seem to find a public constructor or factory for the OutputRecord class.
>
> Thanks,
> Michael
>
>   
You're not supposed to use GangliaContext directly.  See the javadoc:

http://lucene.apache.org/hadoop/api/org/apache/hadoop/metrics/ganglia/package-summary.html#package_description

Instead you use the classes and interfaces in org.apache.hadoop.metrics,
and the selection of GangliaContext is a configuration option.

- David

Reply via email to