Skip to content

Commit da1e35f

Browse files
committed
typos etc.
1 parent 5e78b4f commit da1e35f

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

docs/monitoring.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,9 @@ Note that the history server only displays completed Spark jobs. One way to sign
178178

179179
In addition to viewing the metrics in the UI, they are also available as JSON. This gives developers
180180
an easy way to create new visualizations and monitoring tools for Spark. The JSON is available for
181-
both running applications, an in the history server. The endpoints are mounted at `/json/v1`. Eg.,
182-
for the history server, they would typically be accessible at `http://<server-url>:18080/json/v1`.
181+
both running applications, and in the history server. The endpoints are mounted at `/json/v1`. Eg.,
182+
for the history server, they would typically be accessible at `http://<server-url>:18080/json/v1`, and
183+
for a running application, at `http://localhost:4040/json/v1`.
183184

184185
<table class="table">
185186
<tr><th>Endpoint</th><th>Meaning</th></tr>
@@ -193,27 +194,27 @@ for the history server, they would typically be accessible at `http://<server-ur
193194
</tr>
194195
<tr>
195196
<td><code>/applications/[app-id]/jobs/[job-id]</code></td>
196-
<td>Details for one job</td>
197+
<td>Details for the given job</td>
197198
</tr>
198199
<tr>
199200
<td><code>/applications/[app-id]/stages</code></td>
200201
<td>A list of all stages for a given application</td>
201202
</tr>
202203
<tr>
203204
<td><code>/applications/[app-id]/stages/[stage-id]</code></td>
204-
<td>A list of all attempts for a given stage</td>
205+
<td>A list of all attempts for the given stage</td>
205206
</tr>
206207
<tr>
207208
<td><code>/applications/[app-id]/stages/[stage-id]/[stage-attempt-id]</code></td>
208209
<td>Details for the given stage attempt</td>
209210
</tr>
210211
<tr>
211212
<td><code>/applications/[app-id]/stages/[stage-id]/[stage-attempt-id]/taskSummary</code></td>
212-
<td>Summary metrics of all tasks in a stage attempt</td>
213+
<td>Summary metrics of all tasks in the given stage attempt</td>
213214
</tr>
214215
<tr>
215216
<td><code>/applications/[app-id]/stages/[stage-id]/[stage-attempt-id]/taskList</code></td>
216-
<td>A list of all tasks for a given stage attempt</td>
217+
<td>A list of all tasks for the given stage attempt</td>
217218
</tr>
218219
<tr>
219220
<td><code>/applications/[app-id]/executors</code></td>
@@ -240,7 +241,7 @@ These endpoints have been strongly versioned to make it easier to develop applic
240241
* New endpoints may be added
241242
* New fields may be added to existing endpoints
242243
* New versions of the api may be added in the future at a separate endpoint (eg., `json/v2`). New versions are *not* required to be backwards compatible.
243-
* Api versions may be dropped, but only after at least one minor release of existing beside a new api version
244+
* Api versions may be dropped, but only after at least one minor release of co-existing with a new api version
244245

245246
Note that even when examining the UI of a running applications, the `applications/[app-id]` portion is
246247
still required, though there is only one application available. Eg. to see the list of jobs for the

0 commit comments

Comments
 (0)