kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From granthe...@apache.org
Subject [kudu] branch master updated: [spark] Replace bad Guava import
Date Tue, 21 Jan 2020 21:53:44 GMT
This is an automated email from the ASF dual-hosted git repository.

granthenke pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git

The following commit(s) were added to refs/heads/master by this push:
     new 45af2ad  [spark] Replace bad Guava import
45af2ad is described below

commit 45af2ad42232c8559bba47c027c6cd41fa3dd9a4
Author: Grant Henke <granthenke@apache.org>
AuthorDate: Tue Jan 21 12:55:33 2020 -0600

    [spark] Replace bad Guava import
    TestImportExportFiles uses the shaded Spark import of
    ImmutableList. Instead we should use the actual Guava import.
    Change-Id: Id75b16ad80800df554cfd129a70c03d9250e2292
    Reviewed-on: http://gerrit.cloudera.org:8080/15084
    Tested-by: Kudu Jenkins
    Reviewed-by: Andrew Wong <awong@cloudera.com>
    Reviewed-by: Bankim Bhavsar <bankim@cloudera.com>
 .../test/scala/org/apache/kudu/spark/tools/TestImportExportFiles.scala  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/kudu-spark-tools/src/test/scala/org/apache/kudu/spark/tools/TestImportExportFiles.scala
index 6034568..b6beb1b 100644
--- a/java/kudu-spark-tools/src/test/scala/org/apache/kudu/spark/tools/TestImportExportFiles.scala
+++ b/java/kudu-spark-tools/src/test/scala/org/apache/kudu/spark/tools/TestImportExportFiles.scala
@@ -21,6 +21,7 @@ import java.io.File
 import java.nio.file.Files
 import java.nio.file.Paths
+import com.google.common.collect.ImmutableList
 import org.apache.kudu.ColumnSchema.ColumnSchemaBuilder
 import org.apache.kudu.Schema
 import org.apache.kudu.Type
@@ -30,7 +31,6 @@ import org.apache.kudu.spark.kudu._
 import org.junit.Assert._
 import org.junit.Before
 import org.junit.Test
-import org.spark_project.guava.collect.ImmutableList
 import scala.collection.JavaConverters._

View raw message