Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-586

Spark connector tests compilation errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • JDG 7.1.0 GA
    • JDG 7.1.0 DR3, JDG 7.1.0 ER1
    • None
    • None

      I get these errors when I attempt to build the spark connector:

      [INFO] --- scala-maven-plugin:3.2.0:testCompile (scala-test-compile) @ infinispan-spark ---
      [WARNING]  Expected all dependencies to require Scala version: 2.11.8
      [WARNING]  org.infinispan:infinispan-spark:0.4.0.DR3-redhat-1 requires scala version: 2.11.8
      [WARNING]  org.scoverage:scalac-scoverage-runtime_2.11:1.1.1 requires scala version: 2.11.7
      [WARNING] Multiple versions of scala libraries detected!
      [INFO] /home/vdedik/Projects/JDG/jdg-packaging/bin/release/JDG-7.1.0.DR3/spark/src/test/java:-1: info: compiling
      [INFO] /home/vdedik/Projects/JDG/jdg-packaging/bin/release/JDG-7.1.0.DR3/spark/src/test/scala:-1: info: compiling
      [INFO] Compiling 42 source files to /home/vdedik/Projects/JDG/jdg-packaging/bin/release/JDG-7.1.0.DR3/spark/target/test-classes at 1479749500772
      [ERROR] /home/vdedik/Projects/JDG/jdg-packaging/bin/release/JDG-7.1.0.DR3/spark/src/test/scala/org/infinispan/spark/suites/FilterByQueryProtoAnnotationSuite.scala:32: error: value toBuilder is not a member of Nothing
      [ERROR]             .between(4000, 4500).toBuilder.build
      [ERROR]                                  ^
      [ERROR] /home/vdedik/Projects/JDG/jdg-packaging/bin/release/JDG-7.1.0.DR3/spark/src/test/scala/org/infinispan/spark/suites/FilterByQueryProtoAnnotationSuite.scala:36: error: Cannot prove that Long <:< AnyRef.
      [ERROR]       rdd.count shouldBe query.getResultSize
      [ERROR]                 ^
      [ERROR] /home/vdedik/Projects/JDG/jdg-packaging/bin/release/JDG-7.1.0.DR3/spark/src/test/scala/org/infinispan/spark/suites/FilterByQueryProtoAnnotationSuite.scala:43: error: value toBuilder is not a member of Nothing
      [ERROR] possible cause: maybe a semicolon is missing before `value toBuilder'?
      [ERROR]             .toBuilder.build()
      [ERROR]              ^
      [ERROR] /home/vdedik/Projects/JDG/jdg-packaging/bin/release/JDG-7.1.0.DR3/spark/src/test/scala/org/infinispan/spark/suites/FilterByQueryProtoAnnotationSuite.scala:51: error: Cannot prove that Long <:< AnyRef.
      [ERROR]       rdd.count shouldBe query.getResultSize
      [ERROR]                 ^
      [ERROR] /home/vdedik/Projects/JDG/jdg-packaging/bin/release/JDG-7.1.0.DR3/spark/src/test/scala/org/infinispan/spark/suites/FilterByQueryProtoSuite.scala:86: error: value toBuilder is not a member of Nothing
      [ERROR] possible cause: maybe a semicolon is missing before `value toBuilder'?
      [ERROR]               .toBuilder.build()
      [ERROR]                ^
      [ERROR] 5 errors found
      
      

              gfernand@redhat.com Gustavo Fernandes (Inactive)
              vdedik Vaclav Dedik (Inactive)
              Vojtech Juranek Vojtech Juranek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: