Github user tgravescs commented on a diff in the pull request:

    https://github.com/apache/spark/pull/3765#discussion_r23256094
  
    --- Diff: 
yarn/src/main/scala/org/apache/spark/deploy/yarn/YarnAllocator.scala ---
    @@ -28,14 +29,13 @@ import 
com.google.common.util.concurrent.ThreadFactoryBuilder
     
     import org.apache.hadoop.conf.Configuration
     import org.apache.hadoop.yarn.api.records._
    -import org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse
     import org.apache.hadoop.yarn.client.api.AMRMClient
     import org.apache.hadoop.yarn.client.api.AMRMClient.ContainerRequest
    -import org.apache.hadoop.yarn.util.Records
    +import org.apache.hadoop.yarn.util.RackResolver
     
    -import org.apache.spark.{Logging, SecurityManager, SparkConf, SparkEnv}
    +import org.apache.spark.{Logging, SecurityManager, SparkConf}
     import org.apache.spark.deploy.yarn.YarnSparkHadoopUtil._
    -import org.apache.spark.scheduler.{SplitInfo, TaskSchedulerImpl}
    +import org.apache.spark.scheduler.SplitInfo
     import org.apache.spark.scheduler.cluster.CoarseGrainedSchedulerBackend
     
     object AllocationType extends Enumeration {
    --- End diff --
    
    this isn't used anymore - you can remove it


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to