Collect MapReduce Jobs Killed

Ambari.SCOM.PerformanceRule.MapReduceJobsKilled (Rule)

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

Knowledge Base article:

Summary

Collects number of killed 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.MapReduceJobsKilled" 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_killed</PropertyName>
<CounterName>Jobs Killed</CounterName>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>