diff options
author | Sean Owen <sowen@cloudera.com> | 2016-05-29 16:48:14 -0500 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-05-29 16:48:14 -0500 |
commit | ce1572d16f03d383071bcc1f30ede551e8ded49f (patch) | |
tree | 3d04d27d440489891add463f17ca37175ba2334a /yarn/src/test/scala/org | |
parent | 472f16181d199684996a156b0e429bc525d65a57 (diff) | |
download | spark-ce1572d16f03d383071bcc1f30ede551e8ded49f.tar.gz spark-ce1572d16f03d383071bcc1f30ede551e8ded49f.tar.bz2 spark-ce1572d16f03d383071bcc1f30ede551e8ded49f.zip |
[MINOR] Resolve a number of miscellaneous build warnings
## What changes were proposed in this pull request?
This change resolves a number of build warnings that have accumulated, before 2.x. It does not address a large number of deprecation warnings, especially related to the Accumulator API. That will happen separately.
## How was this patch tested?
Jenkins
Author: Sean Owen <sowen@cloudera.com>
Closes #13377 from srowen/BuildWarnings.
Diffstat (limited to 'yarn/src/test/scala/org')
-rw-r--r-- | yarn/src/test/scala/org/apache/spark/network/yarn/YarnShuffleServiceSuite.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yarn/src/test/scala/org/apache/spark/network/yarn/YarnShuffleServiceSuite.scala b/yarn/src/test/scala/org/apache/spark/network/yarn/YarnShuffleServiceSuite.scala index 749e656e6d..5458fb9d2e 100644 --- a/yarn/src/test/scala/org/apache/spark/network/yarn/YarnShuffleServiceSuite.scala +++ b/yarn/src/test/scala/org/apache/spark/network/yarn/YarnShuffleServiceSuite.scala @@ -20,6 +20,7 @@ import java.io.{DataOutputStream, File, FileOutputStream} import scala.annotation.tailrec import scala.concurrent.duration._ +import scala.language.postfixOps import org.apache.hadoop.fs.Path import org.apache.hadoop.yarn.api.records.ApplicationId @@ -27,7 +28,6 @@ import org.apache.hadoop.yarn.conf.YarnConfiguration import org.apache.hadoop.yarn.server.api.{ApplicationInitializationContext, ApplicationTerminationContext} import org.scalatest.{BeforeAndAfterEach, Matchers} import org.scalatest.concurrent.Eventually._ -import org.scalatest.concurrent.Timeouts import org.apache.spark.SparkFunSuite import org.apache.spark.network.shuffle.ShuffleTestAccessor |