瀏覽代碼

[livy] Rename package from the old "batches" name to "batch"

Erick Tryzelaar 10 年之前
父節點
當前提交
58e4379f08

+ 2 - 3
apps/spark/java/livy-server/src/test/scala/com/cloudera/hue/livy/server/batches/BatchProcessSpec.scala → apps/spark/java/livy-server/src/test/scala/com/cloudera/hue/livy/server/batch/BatchProcessSpec.scala

@@ -16,7 +16,7 @@
  * limitations under the License.
  * limitations under the License.
  */
  */
 
 
-package com.cloudera.hue.livy.server.batches
+package com.cloudera.hue.livy.server.batch
 
 
 import java.io.FileWriter
 import java.io.FileWriter
 import java.nio.file.{Files, Path}
 import java.nio.file.{Files, Path}
@@ -24,8 +24,7 @@ import java.util.concurrent.TimeUnit
 
 
 import com.cloudera.hue.livy.sessions.Success
 import com.cloudera.hue.livy.sessions.Success
 import com.cloudera.hue.livy.{LivyConf, Utils}
 import com.cloudera.hue.livy.{LivyConf, Utils}
-import com.cloudera.hue.livy.server.batch.{CreateBatchRequest, BatchSessionProcess}
-import org.scalatest.{ShouldMatchers, BeforeAndAfterAll, FunSpec}
+import org.scalatest.{BeforeAndAfterAll, FunSpec, ShouldMatchers}
 
 
 import scala.concurrent.duration.Duration
 import scala.concurrent.duration.Duration
 
 

+ 1 - 1
apps/spark/java/livy-server/src/test/scala/com/cloudera/hue/livy/server/batches/BatchServletSpec.scala → apps/spark/java/livy-server/src/test/scala/com/cloudera/hue/livy/server/batch/BatchServletSpec.scala

@@ -16,7 +16,7 @@
  * limitations under the License.
  * limitations under the License.
  */
  */
 
 
-package com.cloudera.hue.livy.server.batches
+package com.cloudera.hue.livy.server.batch
 
 
 import java.io.FileWriter
 import java.io.FileWriter
 import java.nio.file.{Files, Path}
 import java.nio.file.{Files, Path}