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
cc7df2b3
Commit
cc7df2b3
authored
11 years ago
by
tgravescs
Browse files
Options
Downloads
Patches
Plain Diff
Fix yarn build
parent
28e9c2ab
No related branches found
Branches containing commit
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
yarn/src/main/scala/org/apache/spark/deploy/yarn/YarnAllocationHandler.scala
+2
-2
2 additions, 2 deletions
.../org/apache/spark/deploy/yarn/YarnAllocationHandler.scala
with
2 additions
and
2 deletions
yarn/src/main/scala/org/apache/spark/deploy/yarn/YarnAllocationHandler.scala
+
2
−
2
View file @
cc7df2b3
...
@@ -22,7 +22,7 @@ import org.apache.spark.util.Utils
...
@@ -22,7 +22,7 @@ import org.apache.spark.util.Utils
import
org.apache.spark.scheduler.SplitInfo
import
org.apache.spark.scheduler.SplitInfo
import
scala.collection
import
scala.collection
import
org.apache.hadoop.yarn.api.records.
{
AMResponse
,
ApplicationAttemptId
,
ContainerId
,
Priority
,
Resource
,
ResourceRequest
,
ContainerStatus
,
Container
}
import
org.apache.hadoop.yarn.api.records.
{
AMResponse
,
ApplicationAttemptId
,
ContainerId
,
Priority
,
Resource
,
ResourceRequest
,
ContainerStatus
,
Container
}
import
org.apache.spark.scheduler.cluster.
{
ClusterScheduler
,
Standalo
neSchedulerBackend
}
import
org.apache.spark.scheduler.cluster.
{
ClusterScheduler
,
CoarseGrai
ne
d
SchedulerBackend
}
import
org.apache.hadoop.yarn.api.protocolrecords.
{
AllocateRequest
,
AllocateResponse
}
import
org.apache.hadoop.yarn.api.protocolrecords.
{
AllocateRequest
,
AllocateResponse
}
import
org.apache.hadoop.yarn.util.
{
RackResolver
,
Records
}
import
org.apache.hadoop.yarn.util.
{
RackResolver
,
Records
}
import
java.util.concurrent.
{
CopyOnWriteArrayList
,
ConcurrentHashMap
}
import
java.util.concurrent.
{
CopyOnWriteArrayList
,
ConcurrentHashMap
}
...
@@ -211,7 +211,7 @@ private[yarn] class YarnAllocationHandler(val conf: Configuration, val resourceM
...
@@ -211,7 +211,7 @@ private[yarn] class YarnAllocationHandler(val conf: Configuration, val resourceM
val
workerId
=
workerIdCounter
.
incrementAndGet
().
toString
val
workerId
=
workerIdCounter
.
incrementAndGet
().
toString
val
driverUrl
=
"akka://spark@%s:%s/user/%s"
.
format
(
val
driverUrl
=
"akka://spark@%s:%s/user/%s"
.
format
(
System
.
getProperty
(
"spark.driver.host"
),
System
.
getProperty
(
"spark.driver.port"
),
System
.
getProperty
(
"spark.driver.host"
),
System
.
getProperty
(
"spark.driver.port"
),
Standalo
neSchedulerBackend
.
ACTOR_NAME
)
CoarseGrai
ne
d
SchedulerBackend
.
ACTOR_NAME
)
logInfo
(
"launching container on "
+
containerId
+
" host "
+
workerHostname
)
logInfo
(
"launching container on "
+
containerId
+
" host "
+
workerHostname
)
// just to be safe, simply remove it from pendingReleaseContainers. Should not be there, but ..
// just to be safe, simply remove it from pendingReleaseContainers. Should not be there, but ..
...
...
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