Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
spark
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cs525-sp18-g07
spark
Commits
ecfbaf24
Commit
ecfbaf24
authored
11 years ago
by
BlackNiuza
Committed by
shiyun.wxm
11 years ago
Browse files
Options
Downloads
Patches
Plain Diff
rename "a" to "statusId"
parent
b60839e5
No related branches found
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/src/main/scala/org/apache/spark/ui/exec/ExecutorsUI.scala
+3
-3
3 additions, 3 deletions
...src/main/scala/org/apache/spark/ui/exec/ExecutorsUI.scala
with
3 additions
and
3 deletions
core/src/main/scala/org/apache/spark/ui/exec/ExecutorsUI.scala
+
3
−
3
View file @
ecfbaf24
...
...
@@ -76,7 +76,7 @@ private[spark] class ExecutorsUI(val sc: SparkContext) {
</
tr
>
}
val
execInfo
=
for
(
b
<-
0
until
storageStatusList
.
size
)
yield
getExecInfo
(
b
)
val
execInfo
=
for
(
statusId
<-
0
until
storageStatusList
.
size
)
yield
getExecInfo
(
statusId
)
val
execTable
=
UIUtils
.
listingTable
(
execHead
,
execRow
,
execInfo
)
val
content
=
...
...
@@ -99,8 +99,8 @@ private[spark] class ExecutorsUI(val sc: SparkContext) {
UIUtils
.
headerSparkPage
(
content
,
sc
,
"Executors ("
+
execInfo
.
size
+
")"
,
Executors
)
}
def
getExecInfo
(
a
:
Int
)
:
Seq
[
String
]
=
{
val
status
=
sc
.
getExecutorStorageStatus
(
a
)
def
getExecInfo
(
statusId
:
Int
)
:
Seq
[
String
]
=
{
val
status
=
sc
.
getExecutorStorageStatus
(
statusId
)
val
execId
=
status
.
blockManagerId
.
executorId
val
hostPort
=
status
.
blockManagerId
.
hostPort
val
rddBlocks
=
status
.
blocks
.
size
.
toString
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment