Collect MapReduce Jobs Completed

Ambari.SCOM.PerformanceRule.MapReduceJobsCompleted (Rule)

This rule collects number of completed MapReduce jobs for Hadoop cluster.

Knowledge Base article:

Summary

Collects number of completed MapReduce jobs for Hadoop cluster.

Element properties:

TargetAmbari.SCOM.ClusterService.MapReduce
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Ambari.SCOM.Module.MapReduceServiceMetricsPerformanceDataSource Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Ambari.SCOM.PerformanceRule.MapReduceJobsCompleted" Target="Ambari.SCOM.ClusterService.MapReduce" Enabled="true" ConfirmDelivery="false">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Ambari.SCOM.Module.MapReduceServiceMetricsPerformanceDataSource">
<IntervalSeconds>900</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<PropertyName>jobs_completed</PropertyName>
<CounterName>Jobs Completed</CounterName>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>