houdah 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +47 -0
- data/Rakefile +27 -0
- data/docs/classes/Hadoop.html +140 -0
- data/docs/classes/Hadoop/API.html +141 -0
- data/docs/classes/Hadoop/API/HadoopServiceBase.html +122 -0
- data/docs/classes/Hadoop/API/HadoopServiceBase/Client.html +506 -0
- data/docs/classes/Hadoop/API/HadoopServiceBase/GetAllMetrics_args.html +193 -0
- data/docs/classes/Hadoop/API/HadoopServiceBase/GetAllMetrics_result.html +198 -0
- data/docs/classes/Hadoop/API/HadoopServiceBase/GetMetricsContext_args.html +198 -0
- data/docs/classes/Hadoop/API/HadoopServiceBase/GetMetricsContext_result.html +198 -0
- data/docs/classes/Hadoop/API/HadoopServiceBase/GetRuntimeInfo_args.html +193 -0
- data/docs/classes/Hadoop/API/HadoopServiceBase/GetRuntimeInfo_result.html +193 -0
- data/docs/classes/Hadoop/API/HadoopServiceBase/GetThreadDump_args.html +193 -0
- data/docs/classes/Hadoop/API/HadoopServiceBase/GetThreadDump_result.html +193 -0
- data/docs/classes/Hadoop/API/HadoopServiceBase/GetVersionInfo_args.html +199 -0
- data/docs/classes/Hadoop/API/HadoopServiceBase/GetVersionInfo_result.html +193 -0
- data/docs/classes/Hadoop/API/HadoopServiceBase/Processor.html +272 -0
- data/docs/classes/Hadoop/API/IOException.html +209 -0
- data/docs/classes/Hadoop/API/Jobtracker.html +150 -0
- data/docs/classes/Hadoop/API/Jobtracker/JobNotFoundException.html +194 -0
- data/docs/classes/Hadoop/API/Jobtracker/JobTrackerState.html +133 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker.html +160 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/Client.html +1945 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetActiveTrackers_args.html +193 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetActiveTrackers_result.html +193 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetAllJobs_args.html +193 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetAllJobs_result.html +193 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetAllTrackers_args.html +193 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetAllTrackers_result.html +193 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetBlacklistedTrackers_args.html +193 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetBlacklistedTrackers_result.html +193 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetClusterStatus_args.html +193 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetClusterStatus_result.html +193 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetCompletedJobs_args.html +193 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetCompletedJobs_result.html +193 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetCurrentTime_args.html +193 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetCurrentTime_result.html +193 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetDelegationToken_args.html +198 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetDelegationToken_result.html +198 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetFailedJobs_args.html +193 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetFailedJobs_result.html +193 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetJobConfXML_args.html +198 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetJobConfXML_result.html +198 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetJobCounterRollups_args.html +198 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetJobCounterRollups_result.html +198 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetJobCounters_args.html +198 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetJobCounters_result.html +198 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetJobTrackerName_args.html +199 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetJobTrackerName_result.html +193 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetJob_args.html +198 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetJob_result.html +198 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetKilledJobs_args.html +193 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetKilledJobs_result.html +193 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetQueues_args.html +193 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetQueues_result.html +198 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetRunningJobs_args.html +193 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetRunningJobs_result.html +193 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetTaskList_args.html +223 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetTaskList_result.html +198 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetTask_args.html +198 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetTask_result.html +203 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetTracker_args.html +198 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetTracker_result.html +198 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetUserJobCounts_args.html +198 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/GetUserJobCounts_result.html +193 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/KillJob_args.html +198 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/KillJob_result.html +198 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/KillTaskAttempt_args.html +198 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/KillTaskAttempt_result.html +203 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/Processor.html +837 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/SetJobPriority_args.html +206 -0
- data/docs/classes/Hadoop/API/Jobtracker/Jobtracker/SetJobPriority_result.html +198 -0
- data/docs/classes/Hadoop/API/Jobtracker/TaskAttemptNotFoundException.html +194 -0
- data/docs/classes/Hadoop/API/Jobtracker/TaskNotFoundException.html +194 -0
- data/docs/classes/Hadoop/API/Jobtracker/TaskTrackerNotFoundException.html +194 -0
- data/docs/classes/Hadoop/API/Jobtracker/ThriftClusterStatus.html +297 -0
- data/docs/classes/Hadoop/API/Jobtracker/ThriftCounter.html +209 -0
- data/docs/classes/Hadoop/API/Jobtracker/ThriftCounterGroup.html +209 -0
- data/docs/classes/Hadoop/API/Jobtracker/ThriftGroupList.html +199 -0
- data/docs/classes/Hadoop/API/Jobtracker/ThriftJobCounterRollups.html +209 -0
- data/docs/classes/Hadoop/API/Jobtracker/ThriftJobID.html +209 -0
- data/docs/classes/Hadoop/API/Jobtracker/ThriftJobInProgress.html +257 -0
- data/docs/classes/Hadoop/API/Jobtracker/ThriftJobList.html +199 -0
- data/docs/classes/Hadoop/API/Jobtracker/ThriftJobPriority.html +148 -0
- data/docs/classes/Hadoop/API/Jobtracker/ThriftJobProfile.html +219 -0
- data/docs/classes/Hadoop/API/Jobtracker/ThriftJobQueueInfo.html +204 -0
- data/docs/classes/Hadoop/API/Jobtracker/ThriftJobQueueList.html +193 -0
- data/docs/classes/Hadoop/API/Jobtracker/ThriftJobState.html +148 -0
- data/docs/classes/Hadoop/API/Jobtracker/ThriftJobStatus.html +250 -0
- data/docs/classes/Hadoop/API/Jobtracker/ThriftTaskAttemptID.html +209 -0
- data/docs/classes/Hadoop/API/Jobtracker/ThriftTaskID.html +217 -0
- data/docs/classes/Hadoop/API/Jobtracker/ThriftTaskInProgress.html +271 -0
- data/docs/classes/Hadoop/API/Jobtracker/ThriftTaskInProgressList.html +207 -0
- data/docs/classes/Hadoop/API/Jobtracker/ThriftTaskPhase.html +153 -0
- data/docs/classes/Hadoop/API/Jobtracker/ThriftTaskQueryState.html +148 -0
- data/docs/classes/Hadoop/API/Jobtracker/ThriftTaskState.html +163 -0
- data/docs/classes/Hadoop/API/Jobtracker/ThriftTaskStatus.html +270 -0
- data/docs/classes/Hadoop/API/Jobtracker/ThriftTaskTrackerStatus.html +259 -0
- data/docs/classes/Hadoop/API/Jobtracker/ThriftTaskTrackerStatusList.html +199 -0
- data/docs/classes/Hadoop/API/Jobtracker/ThriftTaskType.html +148 -0
- data/docs/classes/Hadoop/API/Jobtracker/ThriftUserJobCounts.html +219 -0
- data/docs/classes/Hadoop/API/MetricsContext.html +208 -0
- data/docs/classes/Hadoop/API/MetricsRecord.html +198 -0
- data/docs/classes/Hadoop/API/RequestContext.html +199 -0
- data/docs/classes/Hadoop/API/RuntimeInfo.html +209 -0
- data/docs/classes/Hadoop/API/StackTraceElement.html +224 -0
- data/docs/classes/Hadoop/API/ThreadStackTrace.html +214 -0
- data/docs/classes/Hadoop/API/ThriftDelegationToken.html +193 -0
- data/docs/classes/Hadoop/API/VersionInfo.html +224 -0
- data/docs/classes/Houdah.html +133 -0
- data/docs/classes/Houdah/Client.html +330 -0
- data/docs/classes/Houdah/Job.html +435 -0
- data/docs/created.rid +1 -0
- data/docs/files/README_rdoc.html +164 -0
- data/docs/files/lib/houdah/client_rb.html +101 -0
- data/docs/files/lib/houdah/job_rb.html +108 -0
- data/docs/files/lib/houdah/version_rb.html +101 -0
- data/docs/files/lib/houdah_rb.html +112 -0
- data/docs/files/lib/thrift/common_constants_rb.html +117 -0
- data/docs/files/lib/thrift/common_types_rb.html +110 -0
- data/docs/files/lib/thrift/hadoop_service_base_rb.html +118 -0
- data/docs/files/lib/thrift/jobtracker_constants_rb.html +117 -0
- data/docs/files/lib/thrift/jobtracker_rb.html +119 -0
- data/docs/files/lib/thrift/jobtracker_types_rb.html +117 -0
- data/docs/fr_class_index.html +136 -0
- data/docs/fr_file_index.html +37 -0
- data/docs/fr_method_index.html +343 -0
- data/docs/index.html +24 -0
- data/docs/rdoc-style.css +208 -0
- data/lib/houdah.rb +9 -0
- data/lib/houdah/client.rb +51 -0
- data/lib/houdah/job.rb +63 -0
- data/lib/houdah/version.rb +3 -0
- data/lib/thrift/common_constants.rb +12 -0
- data/lib/thrift/common_types.rb +209 -0
- data/lib/thrift/hadoop_service_base.rb +314 -0
- data/lib/thrift/jobtracker.rb +1466 -0
- data/lib/thrift/jobtracker_constants.rb +14 -0
- data/lib/thrift/jobtracker_types.rb +735 -0
- metadata +236 -0
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
+
<!DOCTYPE html
|
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
+
|
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
7
|
+
<head>
|
|
8
|
+
<title>Module: Hadoop::API::Jobtracker::ThriftTaskState</title>
|
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
|
11
|
+
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
|
12
|
+
<script type="text/javascript">
|
|
13
|
+
// <![CDATA[
|
|
14
|
+
|
|
15
|
+
function popupCode( url ) {
|
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
function toggleCode( id ) {
|
|
20
|
+
if ( document.getElementById )
|
|
21
|
+
elem = document.getElementById( id );
|
|
22
|
+
else if ( document.all )
|
|
23
|
+
elem = eval( "document.all." + id );
|
|
24
|
+
else
|
|
25
|
+
return false;
|
|
26
|
+
|
|
27
|
+
elemStyle = elem.style;
|
|
28
|
+
|
|
29
|
+
if ( elemStyle.display != "block" ) {
|
|
30
|
+
elemStyle.display = "block"
|
|
31
|
+
} else {
|
|
32
|
+
elemStyle.display = "none"
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// Make codeblocks hidden by default
|
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
|
40
|
+
|
|
41
|
+
// ]]>
|
|
42
|
+
</script>
|
|
43
|
+
|
|
44
|
+
</head>
|
|
45
|
+
<body>
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
<div id="classHeader">
|
|
50
|
+
<table class="header-table">
|
|
51
|
+
<tr class="top-aligned-row">
|
|
52
|
+
<td><strong>Module</strong></td>
|
|
53
|
+
<td class="class-name-in-header">Hadoop::API::Jobtracker::ThriftTaskState</td>
|
|
54
|
+
</tr>
|
|
55
|
+
<tr class="top-aligned-row">
|
|
56
|
+
<td><strong>In:</strong></td>
|
|
57
|
+
<td>
|
|
58
|
+
<a href="../../../../files/lib/thrift/jobtracker_types_rb.html">
|
|
59
|
+
lib/thrift/jobtracker_types.rb
|
|
60
|
+
</a>
|
|
61
|
+
<br />
|
|
62
|
+
</td>
|
|
63
|
+
</tr>
|
|
64
|
+
|
|
65
|
+
</table>
|
|
66
|
+
</div>
|
|
67
|
+
<!-- banner header -->
|
|
68
|
+
|
|
69
|
+
<div id="bodyContent">
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
<div id="contextContent">
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
</div>
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
</div>
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
<!-- if includes -->
|
|
84
|
+
|
|
85
|
+
<div id="section">
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
<div id="constants-list">
|
|
89
|
+
<h3 class="section-bar">Constants</h3>
|
|
90
|
+
|
|
91
|
+
<div class="name-list">
|
|
92
|
+
<table summary="Constants">
|
|
93
|
+
<tr class="top-aligned-row context-row">
|
|
94
|
+
<td class="context-item-name">RUNNING</td>
|
|
95
|
+
<td>=</td>
|
|
96
|
+
<td class="context-item-value">0</td>
|
|
97
|
+
</tr>
|
|
98
|
+
<tr class="top-aligned-row context-row">
|
|
99
|
+
<td class="context-item-name">SUCCEEDED</td>
|
|
100
|
+
<td>=</td>
|
|
101
|
+
<td class="context-item-value">1</td>
|
|
102
|
+
</tr>
|
|
103
|
+
<tr class="top-aligned-row context-row">
|
|
104
|
+
<td class="context-item-name">FAILED</td>
|
|
105
|
+
<td>=</td>
|
|
106
|
+
<td class="context-item-value">2</td>
|
|
107
|
+
</tr>
|
|
108
|
+
<tr class="top-aligned-row context-row">
|
|
109
|
+
<td class="context-item-name">UNASSIGNED</td>
|
|
110
|
+
<td>=</td>
|
|
111
|
+
<td class="context-item-value">3</td>
|
|
112
|
+
</tr>
|
|
113
|
+
<tr class="top-aligned-row context-row">
|
|
114
|
+
<td class="context-item-name">KILLED</td>
|
|
115
|
+
<td>=</td>
|
|
116
|
+
<td class="context-item-value">4</td>
|
|
117
|
+
</tr>
|
|
118
|
+
<tr class="top-aligned-row context-row">
|
|
119
|
+
<td class="context-item-name">COMMIT_PENDING</td>
|
|
120
|
+
<td>=</td>
|
|
121
|
+
<td class="context-item-value">5</td>
|
|
122
|
+
</tr>
|
|
123
|
+
<tr class="top-aligned-row context-row">
|
|
124
|
+
<td class="context-item-name">FAILED_UNCLEAN</td>
|
|
125
|
+
<td>=</td>
|
|
126
|
+
<td class="context-item-value">6</td>
|
|
127
|
+
</tr>
|
|
128
|
+
<tr class="top-aligned-row context-row">
|
|
129
|
+
<td class="context-item-name">KILLED_UNCLEAN</td>
|
|
130
|
+
<td>=</td>
|
|
131
|
+
<td class="context-item-value">7</td>
|
|
132
|
+
</tr>
|
|
133
|
+
<tr class="top-aligned-row context-row">
|
|
134
|
+
<td class="context-item-name">VALUE_MAP</td>
|
|
135
|
+
<td>=</td>
|
|
136
|
+
<td class="context-item-value">{0 => "RUNNING", 1 => "SUCCEEDED", 2 => "FAILED", 3 => "UNASSIGNED", 4 => "KILLED", 5 => "COMMIT_PENDING", 6 => "FAILED_UNCLEAN", 7 => "KILLED_UNCLEAN"}</td>
|
|
137
|
+
</tr>
|
|
138
|
+
<tr class="top-aligned-row context-row">
|
|
139
|
+
<td class="context-item-name">VALID_VALUES</td>
|
|
140
|
+
<td>=</td>
|
|
141
|
+
<td class="context-item-value">Set.new([RUNNING, SUCCEEDED, FAILED, UNASSIGNED, KILLED, COMMIT_PENDING, FAILED_UNCLEAN, KILLED_UNCLEAN]).freeze</td>
|
|
142
|
+
</tr>
|
|
143
|
+
</table>
|
|
144
|
+
</div>
|
|
145
|
+
</div>
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
<!-- if method_list -->
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
</div>
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
<div id="validator-badges">
|
|
159
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
|
160
|
+
</div>
|
|
161
|
+
|
|
162
|
+
</body>
|
|
163
|
+
</html>
|
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
+
<!DOCTYPE html
|
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
+
|
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
7
|
+
<head>
|
|
8
|
+
<title>Class: Hadoop::API::Jobtracker::ThriftTaskStatus</title>
|
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
|
11
|
+
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
|
12
|
+
<script type="text/javascript">
|
|
13
|
+
// <![CDATA[
|
|
14
|
+
|
|
15
|
+
function popupCode( url ) {
|
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
function toggleCode( id ) {
|
|
20
|
+
if ( document.getElementById )
|
|
21
|
+
elem = document.getElementById( id );
|
|
22
|
+
else if ( document.all )
|
|
23
|
+
elem = eval( "document.all." + id );
|
|
24
|
+
else
|
|
25
|
+
return false;
|
|
26
|
+
|
|
27
|
+
elemStyle = elem.style;
|
|
28
|
+
|
|
29
|
+
if ( elemStyle.display != "block" ) {
|
|
30
|
+
elemStyle.display = "block"
|
|
31
|
+
} else {
|
|
32
|
+
elemStyle.display = "none"
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// Make codeblocks hidden by default
|
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
|
40
|
+
|
|
41
|
+
// ]]>
|
|
42
|
+
</script>
|
|
43
|
+
|
|
44
|
+
</head>
|
|
45
|
+
<body>
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
<div id="classHeader">
|
|
50
|
+
<table class="header-table">
|
|
51
|
+
<tr class="top-aligned-row">
|
|
52
|
+
<td><strong>Class</strong></td>
|
|
53
|
+
<td class="class-name-in-header">Hadoop::API::Jobtracker::ThriftTaskStatus</td>
|
|
54
|
+
</tr>
|
|
55
|
+
<tr class="top-aligned-row">
|
|
56
|
+
<td><strong>In:</strong></td>
|
|
57
|
+
<td>
|
|
58
|
+
<a href="../../../../files/lib/thrift/jobtracker_types_rb.html">
|
|
59
|
+
lib/thrift/jobtracker_types.rb
|
|
60
|
+
</a>
|
|
61
|
+
<br />
|
|
62
|
+
</td>
|
|
63
|
+
</tr>
|
|
64
|
+
|
|
65
|
+
<tr class="top-aligned-row">
|
|
66
|
+
<td><strong>Parent:</strong></td>
|
|
67
|
+
<td>
|
|
68
|
+
Object
|
|
69
|
+
</td>
|
|
70
|
+
</tr>
|
|
71
|
+
</table>
|
|
72
|
+
</div>
|
|
73
|
+
<!-- banner header -->
|
|
74
|
+
|
|
75
|
+
<div id="bodyContent">
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
<div id="contextContent">
|
|
80
|
+
|
|
81
|
+
<div id="description">
|
|
82
|
+
<p>
|
|
83
|
+
Describes the current state of a single attempt
|
|
84
|
+
</p>
|
|
85
|
+
|
|
86
|
+
</div>
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
</div>
|
|
90
|
+
|
|
91
|
+
<div id="method-list">
|
|
92
|
+
<h3 class="section-bar">Methods</h3>
|
|
93
|
+
|
|
94
|
+
<div class="name-list">
|
|
95
|
+
<a href="#M000269">struct_fields</a>
|
|
96
|
+
<a href="#M000270">validate</a>
|
|
97
|
+
</div>
|
|
98
|
+
</div>
|
|
99
|
+
|
|
100
|
+
</div>
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
<!-- if includes -->
|
|
104
|
+
<div id="includes">
|
|
105
|
+
<h3 class="section-bar">Included Modules</h3>
|
|
106
|
+
|
|
107
|
+
<div id="includes-list">
|
|
108
|
+
<span class="include-name">::Thrift::Struct</span>
|
|
109
|
+
<span class="include-name">::Thrift::Struct_Union</span>
|
|
110
|
+
</div>
|
|
111
|
+
</div>
|
|
112
|
+
|
|
113
|
+
<div id="section">
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
<div id="constants-list">
|
|
117
|
+
<h3 class="section-bar">Constants</h3>
|
|
118
|
+
|
|
119
|
+
<div class="name-list">
|
|
120
|
+
<table summary="Constants">
|
|
121
|
+
<tr class="top-aligned-row context-row">
|
|
122
|
+
<td class="context-item-name">TASKID</td>
|
|
123
|
+
<td>=</td>
|
|
124
|
+
<td class="context-item-value">1</td>
|
|
125
|
+
</tr>
|
|
126
|
+
<tr class="top-aligned-row context-row">
|
|
127
|
+
<td class="context-item-name">PROGRESS</td>
|
|
128
|
+
<td>=</td>
|
|
129
|
+
<td class="context-item-value">2</td>
|
|
130
|
+
</tr>
|
|
131
|
+
<tr class="top-aligned-row context-row">
|
|
132
|
+
<td class="context-item-name">STATE</td>
|
|
133
|
+
<td>=</td>
|
|
134
|
+
<td class="context-item-value">3</td>
|
|
135
|
+
</tr>
|
|
136
|
+
<tr class="top-aligned-row context-row">
|
|
137
|
+
<td class="context-item-name">DIAGNOSTICINFO</td>
|
|
138
|
+
<td>=</td>
|
|
139
|
+
<td class="context-item-value">4</td>
|
|
140
|
+
</tr>
|
|
141
|
+
<tr class="top-aligned-row context-row">
|
|
142
|
+
<td class="context-item-name">STATESTRING</td>
|
|
143
|
+
<td>=</td>
|
|
144
|
+
<td class="context-item-value">5</td>
|
|
145
|
+
</tr>
|
|
146
|
+
<tr class="top-aligned-row context-row">
|
|
147
|
+
<td class="context-item-name">TASKTRACKER</td>
|
|
148
|
+
<td>=</td>
|
|
149
|
+
<td class="context-item-value">6</td>
|
|
150
|
+
</tr>
|
|
151
|
+
<tr class="top-aligned-row context-row">
|
|
152
|
+
<td class="context-item-name">STARTTIME</td>
|
|
153
|
+
<td>=</td>
|
|
154
|
+
<td class="context-item-value">7</td>
|
|
155
|
+
</tr>
|
|
156
|
+
<tr class="top-aligned-row context-row">
|
|
157
|
+
<td class="context-item-name">FINISHTIME</td>
|
|
158
|
+
<td>=</td>
|
|
159
|
+
<td class="context-item-value">8</td>
|
|
160
|
+
</tr>
|
|
161
|
+
<tr class="top-aligned-row context-row">
|
|
162
|
+
<td class="context-item-name">OUTPUTSIZE</td>
|
|
163
|
+
<td>=</td>
|
|
164
|
+
<td class="context-item-value">9</td>
|
|
165
|
+
</tr>
|
|
166
|
+
<tr class="top-aligned-row context-row">
|
|
167
|
+
<td class="context-item-name">PHASE</td>
|
|
168
|
+
<td>=</td>
|
|
169
|
+
<td class="context-item-value">10</td>
|
|
170
|
+
</tr>
|
|
171
|
+
<tr class="top-aligned-row context-row">
|
|
172
|
+
<td class="context-item-name">COUNTERS</td>
|
|
173
|
+
<td>=</td>
|
|
174
|
+
<td class="context-item-value">11</td>
|
|
175
|
+
</tr>
|
|
176
|
+
<tr class="top-aligned-row context-row">
|
|
177
|
+
<td class="context-item-name">SHUFFLEFINISHTIME</td>
|
|
178
|
+
<td>=</td>
|
|
179
|
+
<td class="context-item-value">12</td>
|
|
180
|
+
</tr>
|
|
181
|
+
<tr class="top-aligned-row context-row">
|
|
182
|
+
<td class="context-item-name">SORTFINISHTIME</td>
|
|
183
|
+
<td>=</td>
|
|
184
|
+
<td class="context-item-value">13</td>
|
|
185
|
+
</tr>
|
|
186
|
+
<tr class="top-aligned-row context-row">
|
|
187
|
+
<td class="context-item-name">MAPFINISHTIME</td>
|
|
188
|
+
<td>=</td>
|
|
189
|
+
<td class="context-item-value">14</td>
|
|
190
|
+
</tr>
|
|
191
|
+
<tr class="top-aligned-row context-row">
|
|
192
|
+
<td class="context-item-name">FIELDS</td>
|
|
193
|
+
<td>=</td>
|
|
194
|
+
<td class="context-item-value">{ TASKID => {:type => ::Thrift::Types::STRUCT, :name => 'taskID', :class => Hadoop::API::Jobtracker::ThriftTaskAttemptID}, PROGRESS => {:type => ::Thrift::Types::DOUBLE, :name => 'progress'}, STATE => {:type => ::Thrift::Types::I32, :name => 'state', :enum_class => Hadoop::API::Jobtracker::ThriftTaskState}, DIAGNOSTICINFO => {:type => ::Thrift::Types::STRING, :name => 'diagnosticInfo'}, STATESTRING => {:type => ::Thrift::Types::STRING, :name => 'stateString'}, TASKTRACKER => {:type => ::Thrift::Types::STRING, :name => 'taskTracker'}, STARTTIME => {:type => ::Thrift::Types::I64, :name => 'startTime'}, FINISHTIME => {:type => ::Thrift::Types::I64, :name => 'finishTime'}, OUTPUTSIZE => {:type => ::Thrift::Types::I64, :name => 'outputSize'}, PHASE => {:type => ::Thrift::Types::I32, :name => 'phase', :enum_class => Hadoop::API::Jobtracker::ThriftTaskPhase}, COUNTERS => {:type => ::Thrift::Types::STRUCT, :name => 'counters', :class => Hadoop::API::Jobtracker::ThriftGroupList}, SHUFFLEFINISHTIME => {:type => ::Thrift::Types::I64, :name => 'shuffleFinishTime'}, SORTFINISHTIME => {:type => ::Thrift::Types::I64, :name => 'sortFinishTime'}, MAPFINISHTIME => {:type => ::Thrift::Types::I64, :name => 'mapFinishTime'}</td>
|
|
195
|
+
</tr>
|
|
196
|
+
</table>
|
|
197
|
+
</div>
|
|
198
|
+
</div>
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
<!-- if method_list -->
|
|
206
|
+
<div id="methods">
|
|
207
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
|
208
|
+
|
|
209
|
+
<div id="method-M000269" class="method-detail">
|
|
210
|
+
<a name="M000269"></a>
|
|
211
|
+
|
|
212
|
+
<div class="method-heading">
|
|
213
|
+
<a href="#M000269" class="method-signature">
|
|
214
|
+
<span class="method-name">struct_fields</span><span class="method-args">()</span>
|
|
215
|
+
</a>
|
|
216
|
+
</div>
|
|
217
|
+
|
|
218
|
+
<div class="method-description">
|
|
219
|
+
<p><a class="source-toggle" href="#"
|
|
220
|
+
onclick="toggleCode('M000269-source');return false;">[Source]</a></p>
|
|
221
|
+
<div class="method-source-code" id="M000269-source">
|
|
222
|
+
<pre>
|
|
223
|
+
<span class="ruby-comment cmt"># File lib/thrift/jobtracker_types.rb, line 309</span>
|
|
224
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">struct_fields</span>; <span class="ruby-constant">FIELDS</span>; <span class="ruby-keyword kw">end</span>
|
|
225
|
+
</pre>
|
|
226
|
+
</div>
|
|
227
|
+
</div>
|
|
228
|
+
</div>
|
|
229
|
+
|
|
230
|
+
<div id="method-M000270" class="method-detail">
|
|
231
|
+
<a name="M000270"></a>
|
|
232
|
+
|
|
233
|
+
<div class="method-heading">
|
|
234
|
+
<a href="#M000270" class="method-signature">
|
|
235
|
+
<span class="method-name">validate</span><span class="method-args">()</span>
|
|
236
|
+
</a>
|
|
237
|
+
</div>
|
|
238
|
+
|
|
239
|
+
<div class="method-description">
|
|
240
|
+
<p><a class="source-toggle" href="#"
|
|
241
|
+
onclick="toggleCode('M000270-source');return false;">[Source]</a></p>
|
|
242
|
+
<div class="method-source-code" id="M000270-source">
|
|
243
|
+
<pre>
|
|
244
|
+
<span class="ruby-comment cmt"># File lib/thrift/jobtracker_types.rb, line 311</span>
|
|
245
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">validate</span>
|
|
246
|
+
<span class="ruby-keyword kw">unless</span> <span class="ruby-ivar">@state</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-operator">||</span> <span class="ruby-constant">Hadoop</span><span class="ruby-operator">::</span><span class="ruby-constant">API</span><span class="ruby-operator">::</span><span class="ruby-constant">Jobtracker</span><span class="ruby-operator">::</span><span class="ruby-constant">ThriftTaskState</span><span class="ruby-operator">::</span><span class="ruby-constant">VALID_VALUES</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-ivar">@state</span>)
|
|
247
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-operator">::</span><span class="ruby-constant">Thrift</span><span class="ruby-operator">::</span><span class="ruby-constant">ProtocolException</span>.<span class="ruby-identifier">new</span>(<span class="ruby-operator">::</span><span class="ruby-constant">Thrift</span><span class="ruby-operator">::</span><span class="ruby-constant">ProtocolException</span><span class="ruby-operator">::</span><span class="ruby-constant">UNKNOWN</span>, <span class="ruby-value str">'Invalid value of field state!'</span>)
|
|
248
|
+
<span class="ruby-keyword kw">end</span>
|
|
249
|
+
<span class="ruby-keyword kw">unless</span> <span class="ruby-ivar">@phase</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-operator">||</span> <span class="ruby-constant">Hadoop</span><span class="ruby-operator">::</span><span class="ruby-constant">API</span><span class="ruby-operator">::</span><span class="ruby-constant">Jobtracker</span><span class="ruby-operator">::</span><span class="ruby-constant">ThriftTaskPhase</span><span class="ruby-operator">::</span><span class="ruby-constant">VALID_VALUES</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-ivar">@phase</span>)
|
|
250
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-operator">::</span><span class="ruby-constant">Thrift</span><span class="ruby-operator">::</span><span class="ruby-constant">ProtocolException</span>.<span class="ruby-identifier">new</span>(<span class="ruby-operator">::</span><span class="ruby-constant">Thrift</span><span class="ruby-operator">::</span><span class="ruby-constant">ProtocolException</span><span class="ruby-operator">::</span><span class="ruby-constant">UNKNOWN</span>, <span class="ruby-value str">'Invalid value of field phase!'</span>)
|
|
251
|
+
<span class="ruby-keyword kw">end</span>
|
|
252
|
+
<span class="ruby-keyword kw">end</span>
|
|
253
|
+
</pre>
|
|
254
|
+
</div>
|
|
255
|
+
</div>
|
|
256
|
+
</div>
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
</div>
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
</div>
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
<div id="validator-badges">
|
|
266
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
|
267
|
+
</div>
|
|
268
|
+
|
|
269
|
+
</body>
|
|
270
|
+
</html>
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
+
<!DOCTYPE html
|
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
+
|
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
7
|
+
<head>
|
|
8
|
+
<title>Class: Hadoop::API::Jobtracker::ThriftTaskTrackerStatus</title>
|
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
|
11
|
+
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
|
12
|
+
<script type="text/javascript">
|
|
13
|
+
// <![CDATA[
|
|
14
|
+
|
|
15
|
+
function popupCode( url ) {
|
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
function toggleCode( id ) {
|
|
20
|
+
if ( document.getElementById )
|
|
21
|
+
elem = document.getElementById( id );
|
|
22
|
+
else if ( document.all )
|
|
23
|
+
elem = eval( "document.all." + id );
|
|
24
|
+
else
|
|
25
|
+
return false;
|
|
26
|
+
|
|
27
|
+
elemStyle = elem.style;
|
|
28
|
+
|
|
29
|
+
if ( elemStyle.display != "block" ) {
|
|
30
|
+
elemStyle.display = "block"
|
|
31
|
+
} else {
|
|
32
|
+
elemStyle.display = "none"
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// Make codeblocks hidden by default
|
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
|
40
|
+
|
|
41
|
+
// ]]>
|
|
42
|
+
</script>
|
|
43
|
+
|
|
44
|
+
</head>
|
|
45
|
+
<body>
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
<div id="classHeader">
|
|
50
|
+
<table class="header-table">
|
|
51
|
+
<tr class="top-aligned-row">
|
|
52
|
+
<td><strong>Class</strong></td>
|
|
53
|
+
<td class="class-name-in-header">Hadoop::API::Jobtracker::ThriftTaskTrackerStatus</td>
|
|
54
|
+
</tr>
|
|
55
|
+
<tr class="top-aligned-row">
|
|
56
|
+
<td><strong>In:</strong></td>
|
|
57
|
+
<td>
|
|
58
|
+
<a href="../../../../files/lib/thrift/jobtracker_types_rb.html">
|
|
59
|
+
lib/thrift/jobtracker_types.rb
|
|
60
|
+
</a>
|
|
61
|
+
<br />
|
|
62
|
+
</td>
|
|
63
|
+
</tr>
|
|
64
|
+
|
|
65
|
+
<tr class="top-aligned-row">
|
|
66
|
+
<td><strong>Parent:</strong></td>
|
|
67
|
+
<td>
|
|
68
|
+
Object
|
|
69
|
+
</td>
|
|
70
|
+
</tr>
|
|
71
|
+
</table>
|
|
72
|
+
</div>
|
|
73
|
+
<!-- banner header -->
|
|
74
|
+
|
|
75
|
+
<div id="bodyContent">
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
<div id="contextContent">
|
|
80
|
+
|
|
81
|
+
<div id="description">
|
|
82
|
+
<p>
|
|
83
|
+
TaskTracker status; contains details of individual tasks
|
|
84
|
+
</p>
|
|
85
|
+
|
|
86
|
+
</div>
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
</div>
|
|
90
|
+
|
|
91
|
+
<div id="method-list">
|
|
92
|
+
<h3 class="section-bar">Methods</h3>
|
|
93
|
+
|
|
94
|
+
<div class="name-list">
|
|
95
|
+
<a href="#M000243">struct_fields</a>
|
|
96
|
+
<a href="#M000244">validate</a>
|
|
97
|
+
</div>
|
|
98
|
+
</div>
|
|
99
|
+
|
|
100
|
+
</div>
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
<!-- if includes -->
|
|
104
|
+
<div id="includes">
|
|
105
|
+
<h3 class="section-bar">Included Modules</h3>
|
|
106
|
+
|
|
107
|
+
<div id="includes-list">
|
|
108
|
+
<span class="include-name">::Thrift::Struct</span>
|
|
109
|
+
<span class="include-name">::Thrift::Struct_Union</span>
|
|
110
|
+
</div>
|
|
111
|
+
</div>
|
|
112
|
+
|
|
113
|
+
<div id="section">
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
<div id="constants-list">
|
|
117
|
+
<h3 class="section-bar">Constants</h3>
|
|
118
|
+
|
|
119
|
+
<div class="name-list">
|
|
120
|
+
<table summary="Constants">
|
|
121
|
+
<tr class="top-aligned-row context-row">
|
|
122
|
+
<td class="context-item-name">TRACKERNAME</td>
|
|
123
|
+
<td>=</td>
|
|
124
|
+
<td class="context-item-value">1</td>
|
|
125
|
+
</tr>
|
|
126
|
+
<tr class="top-aligned-row context-row">
|
|
127
|
+
<td class="context-item-name">HOST</td>
|
|
128
|
+
<td>=</td>
|
|
129
|
+
<td class="context-item-value">2</td>
|
|
130
|
+
</tr>
|
|
131
|
+
<tr class="top-aligned-row context-row">
|
|
132
|
+
<td class="context-item-name">HTTPPORT</td>
|
|
133
|
+
<td>=</td>
|
|
134
|
+
<td class="context-item-value">3</td>
|
|
135
|
+
</tr>
|
|
136
|
+
<tr class="top-aligned-row context-row">
|
|
137
|
+
<td class="context-item-name">FAILURECOUNT</td>
|
|
138
|
+
<td>=</td>
|
|
139
|
+
<td class="context-item-value">4</td>
|
|
140
|
+
</tr>
|
|
141
|
+
<tr class="top-aligned-row context-row">
|
|
142
|
+
<td class="context-item-name">TASKREPORTS</td>
|
|
143
|
+
<td>=</td>
|
|
144
|
+
<td class="context-item-value">5</td>
|
|
145
|
+
</tr>
|
|
146
|
+
<tr class="top-aligned-row context-row">
|
|
147
|
+
<td class="context-item-name">LASTSEEN</td>
|
|
148
|
+
<td>=</td>
|
|
149
|
+
<td class="context-item-value">6</td>
|
|
150
|
+
</tr>
|
|
151
|
+
<tr class="top-aligned-row context-row">
|
|
152
|
+
<td class="context-item-name">MAXMAPTASKS</td>
|
|
153
|
+
<td>=</td>
|
|
154
|
+
<td class="context-item-value">7</td>
|
|
155
|
+
</tr>
|
|
156
|
+
<tr class="top-aligned-row context-row">
|
|
157
|
+
<td class="context-item-name">MAXREDUCETASKS</td>
|
|
158
|
+
<td>=</td>
|
|
159
|
+
<td class="context-item-value">8</td>
|
|
160
|
+
</tr>
|
|
161
|
+
<tr class="top-aligned-row context-row">
|
|
162
|
+
<td class="context-item-name">TOTALVIRTUALMEMORY</td>
|
|
163
|
+
<td>=</td>
|
|
164
|
+
<td class="context-item-value">9</td>
|
|
165
|
+
</tr>
|
|
166
|
+
<tr class="top-aligned-row context-row">
|
|
167
|
+
<td class="context-item-name">TOTALPHYSICALMEMORY</td>
|
|
168
|
+
<td>=</td>
|
|
169
|
+
<td class="context-item-value">11</td>
|
|
170
|
+
</tr>
|
|
171
|
+
<tr class="top-aligned-row context-row">
|
|
172
|
+
<td class="context-item-name">AVAILABLESPACE</td>
|
|
173
|
+
<td>=</td>
|
|
174
|
+
<td class="context-item-value">13</td>
|
|
175
|
+
</tr>
|
|
176
|
+
<tr class="top-aligned-row context-row">
|
|
177
|
+
<td class="context-item-name">MAPCOUNT</td>
|
|
178
|
+
<td>=</td>
|
|
179
|
+
<td class="context-item-value">14</td>
|
|
180
|
+
</tr>
|
|
181
|
+
<tr class="top-aligned-row context-row">
|
|
182
|
+
<td class="context-item-name">REDUCECOUNT</td>
|
|
183
|
+
<td>=</td>
|
|
184
|
+
<td class="context-item-value">15</td>
|
|
185
|
+
</tr>
|
|
186
|
+
<tr class="top-aligned-row context-row">
|
|
187
|
+
<td class="context-item-name">FIELDS</td>
|
|
188
|
+
<td>=</td>
|
|
189
|
+
<td class="context-item-value">{ TRACKERNAME => {:type => ::Thrift::Types::STRING, :name => 'trackerName'}, HOST => {:type => ::Thrift::Types::STRING, :name => 'host'}, HTTPPORT => {:type => ::Thrift::Types::I32, :name => 'httpPort'}, FAILURECOUNT => {:type => ::Thrift::Types::I32, :name => 'failureCount'}, # List of the state of all tasks on this tracker TASKREPORTS => {:type => ::Thrift::Types::LIST, :name => 'taskReports', :element => {:type => ::Thrift::Types::STRUCT, :class => Hadoop::API::Jobtracker::ThriftTaskStatus}}, # When did the JobTracker last hear from this TaskTracker? LASTSEEN => {:type => ::Thrift::Types::I64, :name => 'lastSeen'}, # Maximum possible number of both task types MAXMAPTASKS => {:type => ::Thrift::Types::I32, :name => 'maxMapTasks'}, MAXREDUCETASKS => {:type => ::Thrift::Types::I32, :name => 'maxReduceTasks'}, # Main memory metrics, all in bytes TOTALVIRTUALMEMORY => {:type => ::Thrift::Types::I64, :name => 'totalVirtualMemory'}, TOTALPHYSICALMEMORY => {:type => ::Thrift::Types::I64, :name => 'totalPhysicalMemory'}, AVAILABLESPACE => {:type => ::Thrift::Types::I64, :name => 'availableSpace'}, # Currently running and unassigned map and reduce tasks MAPCOUNT => {:type => ::Thrift::Types::I32, :name => 'mapCount'}, REDUCECOUNT => {:type => ::Thrift::Types::I32, :name => 'reduceCount'}</td>
|
|
190
|
+
</tr>
|
|
191
|
+
</table>
|
|
192
|
+
</div>
|
|
193
|
+
</div>
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
<!-- if method_list -->
|
|
201
|
+
<div id="methods">
|
|
202
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
|
203
|
+
|
|
204
|
+
<div id="method-M000243" class="method-detail">
|
|
205
|
+
<a name="M000243"></a>
|
|
206
|
+
|
|
207
|
+
<div class="method-heading">
|
|
208
|
+
<a href="#M000243" class="method-signature">
|
|
209
|
+
<span class="method-name">struct_fields</span><span class="method-args">()</span>
|
|
210
|
+
</a>
|
|
211
|
+
</div>
|
|
212
|
+
|
|
213
|
+
<div class="method-description">
|
|
214
|
+
<p><a class="source-toggle" href="#"
|
|
215
|
+
onclick="toggleCode('M000243-source');return false;">[Source]</a></p>
|
|
216
|
+
<div class="method-source-code" id="M000243-source">
|
|
217
|
+
<pre>
|
|
218
|
+
<span class="ruby-comment cmt"># File lib/thrift/jobtracker_types.rb, line 412</span>
|
|
219
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">struct_fields</span>; <span class="ruby-constant">FIELDS</span>; <span class="ruby-keyword kw">end</span>
|
|
220
|
+
</pre>
|
|
221
|
+
</div>
|
|
222
|
+
</div>
|
|
223
|
+
</div>
|
|
224
|
+
|
|
225
|
+
<div id="method-M000244" class="method-detail">
|
|
226
|
+
<a name="M000244"></a>
|
|
227
|
+
|
|
228
|
+
<div class="method-heading">
|
|
229
|
+
<a href="#M000244" class="method-signature">
|
|
230
|
+
<span class="method-name">validate</span><span class="method-args">()</span>
|
|
231
|
+
</a>
|
|
232
|
+
</div>
|
|
233
|
+
|
|
234
|
+
<div class="method-description">
|
|
235
|
+
<p><a class="source-toggle" href="#"
|
|
236
|
+
onclick="toggleCode('M000244-source');return false;">[Source]</a></p>
|
|
237
|
+
<div class="method-source-code" id="M000244-source">
|
|
238
|
+
<pre>
|
|
239
|
+
<span class="ruby-comment cmt"># File lib/thrift/jobtracker_types.rb, line 414</span>
|
|
240
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">validate</span>
|
|
241
|
+
<span class="ruby-keyword kw">end</span>
|
|
242
|
+
</pre>
|
|
243
|
+
</div>
|
|
244
|
+
</div>
|
|
245
|
+
</div>
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
</div>
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
</div>
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
<div id="validator-badges">
|
|
255
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
|
256
|
+
</div>
|
|
257
|
+
|
|
258
|
+
</body>
|
|
259
|
+
</html>
|