source: proiecte/HadoopJUnit/hadoop-0.20.1/contrib/vaidya/conf/postex_diagnosis_tests.xml @ 120

Last change on this file since 120 was 120, checked in by (none), 14 years ago

Added the mail files for the Hadoop JUNit Project

  • Property svn:executable set to *
File size: 5.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!--
3**
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements.  See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership.  The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the
9 * "License"); you may not use this file except in compliance
10 * with the License.  You may obtain a copy of the License at
11 *
12 *     http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19** 
20 -->
21<!-- This is a diagnostic test configuration file. Diagnostic test driver
22     reads this file to get the list of tests and their configuration information
23     
24   Title            : Provides brief description of the test
25   ClassName        : Provides the fully qualified java class name that implements the test condition
26   Description      : Provides detailed information about the test describing how it checks for a specific
27                        performance problem.
28   SuccessThreshold : (value between [0..1])       
29                    : Evaluation of a diagnostic test returns its level of impact on the job
30                      performance. If impact value [between 0..1] is equal or greater than the
31                      success threshold, means rule has detected the problem (TEST POSITIVE) else
32                      rule has passed the test (TEST NEGATIVE). The impact level is calculated and
33                      returned by each test's evaluate method. For tests that are boolean in nature
34                      the impact level is either 0 or 1 and success threshold should be 1.
35   Importance       : Indicates relative importance of this diagnostic test among the set of
36                      diagnostic rules defined in this file. Three declarative values that
37                      can be assigned are High, Medium or Low
38   Prescription     : This is an optional element to store the advice to be included in the report upon test failure
39                      This is overwritten in the report by any advice/prescription text returned by getPrescription method of
40                      DiagnosticTest. 
41   InputElement     : Input element is made available to the diagnostic test for it to interpret and accept
42                      any parameters specific to the test. These test specific parameters are used to configure
43                      the tests without changing the java code.
44-->
45<PostExPerformanceDiagnosisTests>
46
47<DiagnosticTest>
48  <Title><![CDATA[Balanaced Reduce Partitioning]]></Title>
49  <ClassName><![CDATA[org.apache.hadoop.vaidya.postexdiagnosis.tests.BalancedReducePartitioning]]></ClassName>
50  <Description><![CDATA[This rule tests as to how well the input to reduce tasks is balanced]]></Description>
51  <Importance><![CDATA[High]]></Importance> 
52  <SuccessThreshold><![CDATA[0.20]]></SuccessThreshold>
53  <Prescription><![CDATA[advice]]></Prescription>
54  <InputElement>
55    <PercentReduceRecords><![CDATA[0.85]]></PercentReduceRecords>
56  </InputElement>
57</DiagnosticTest>
58
59<DiagnosticTest>
60  <Title><![CDATA[Impact of Map tasks Re-Execution]]></Title>
61  <ClassName><![CDATA[org.apache.hadoop.vaidya.postexdiagnosis.tests.MapsReExecutionImpact]]></ClassName>
62  <Description><![CDATA[This test rule checks percentage of map task re-execution impacting the job performance]]></Description>
63  <Importance><![CDATA[High]]></Importance> 
64  <SuccessThreshold><![CDATA[0.40]]></SuccessThreshold>
65  <Prescription><![CDATA[default advice]]></Prescription>
66  <InputElement>
67  </InputElement>
68</DiagnosticTest>
69
70<DiagnosticTest>
71  <Title><![CDATA[Impact of Reduce tasks Re-Execution]]></Title>
72  <ClassName><![CDATA[org.apache.hadoop.vaidya.postexdiagnosis.tests.ReducesReExecutionImpact]]></ClassName>
73  <Description><![CDATA[This test rule checks percentage of reduce task re-execution impacting the job performance]]></Description>
74  <Importance><![CDATA[High]]></Importance> 
75  <SuccessThreshold><![CDATA[0.40]]></SuccessThreshold>
76  <Prescription><![CDATA[default advice]]></Prescription>
77  <InputElement>
78  </InputElement>
79</DiagnosticTest>
80
81<DiagnosticTest>
82  <Title><![CDATA[Map and/or Reduce tasks reading HDFS data as a side effect]]></Title>
83  <ClassName><![CDATA[org.apache.hadoop.vaidya.postexdiagnosis.tests.ReadingHDFSFilesAsSideEffect]]></ClassName>
84  <Description><![CDATA[This test rule checks if map/reduce tasks are reading data from HDFS as a side effect. More the data read as a side effect can potentially be a bottleneck across parallel execution of map/reduce tasks.]]></Description>
85  <Importance><![CDATA[High]]></Importance> 
86  <SuccessThreshold><![CDATA[0.05]]></SuccessThreshold>
87  <Prescription><![CDATA[default advice]]></Prescription>
88  <InputElement>
89  </InputElement>
90</DiagnosticTest>
91
92<DiagnosticTest>
93  <Title><![CDATA[Map side disk spill]]></Title>
94  <ClassName><![CDATA[org.apache.hadoop.vaidya.postexdiagnosis.tests.MapSideDiskSpill]]></ClassName>
95  <Description><![CDATA[This test rule checks if Map tasks are spilling the data on to the local disk during the map side sorting due to insufficient sort buffer size. The impact is calculated as ratio between local bytes written to map output bytes. Impact is normalized using NormalizationFactor given below and any value greater than or equal to normalization factor is treated as maximum (i.e. 1). ]]></Description>
96  <Importance><![CDATA[Low]]></Importance> 
97  <SuccessThreshold><![CDATA[0.3]]></SuccessThreshold>
98  <Prescription><![CDATA[default advice]]></Prescription>
99  <InputElement>
100    <NormalizationFactor>3.0</NormalizationFactor>
101  </InputElement>
102</DiagnosticTest>
103
104</PostExPerformanceDiagnosisTests>
Note: See TracBrowser for help on using the repository browser.