diff options
author | CodingCat <zhunansjtu@gmail.com> | 2015-03-03 10:32:57 +0000 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2015-03-03 10:32:57 +0000 |
commit | 975643c256e548601bf9015c8840c947df5446bf (patch) | |
tree | 41fa272d41ef50ca9ef1379018832f3145963563 | |
parent | 0c9a8eaed74b2b381a1cc70e6e6a2783bac0912c (diff) | |
download | spark-975643c256e548601bf9015c8840c947df5446bf.tar.gz spark-975643c256e548601bf9015c8840c947df5446bf.tar.bz2 spark-975643c256e548601bf9015c8840c947df5446bf.zip |
[SPARK-6118] making package name of deploy.worker.CommandUtils and deploy.CommandUtilsSuite consistent
https://issues.apache.org/jira/browse/SPARK-6118
I found that the object CommandUtils is placed under deploy.worker package, while CommandUtilsSuite is under deploy
Conventionally, we put the implementation and unit test class under the same package
here, to minimize the change, I move CommandUtilsSuite to worker package,
**However, CommandUtils seems to contain some general methods (though only used by worker.* classes currently**, we may also consider to replace CommonUtils
Author: CodingCat <zhunansjtu@gmail.com>
Closes #4856 from CodingCat/SPARK-6118 and squashes the following commits:
cb93700 [CodingCat] making package name consistent
-rw-r--r-- | core/src/test/scala/org/apache/spark/deploy/worker/CommandUtilsSuite.scala (renamed from core/src/test/scala/org/apache/spark/deploy/CommandUtilsSuite.scala) | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/src/test/scala/org/apache/spark/deploy/CommandUtilsSuite.scala b/core/src/test/scala/org/apache/spark/deploy/worker/CommandUtilsSuite.scala index 7915ee75d8..1c27d83cf8 100644 --- a/core/src/test/scala/org/apache/spark/deploy/CommandUtilsSuite.scala +++ b/core/src/test/scala/org/apache/spark/deploy/worker/CommandUtilsSuite.scala @@ -15,11 +15,10 @@ * limitations under the License. */ -package org.apache.spark.deploy +package org.apache.spark.deploy.worker -import org.apache.spark.deploy.worker.CommandUtils +import org.apache.spark.deploy.Command import org.apache.spark.util.Utils - import org.scalatest.{FunSuite, Matchers} class CommandUtilsSuite extends FunSuite with Matchers { |