Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-2997

Can't build spark-examples on MacOS

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: n/a
    • Component/s: None
    • Labels:
      None
    • Environment:

      Description

      When trying to build spark-examples on macOS Mojave it fails while it works fine on CentOS. Could be environmental as well, someone pease double check.

      [INFO] Compiling 1 source files to /Users/charger/src/kudu/examples/scala/spark-example/target/classes at 1573937163020
      [ERROR] error: scala.reflect.internal.MissingRequirementError: object java.lang.Object in compiler mirror not found.
      [ERROR]         at scala.reflect.internal.MissingRequirementError$.signal(MissingRequirementError.scala:17)
      [ERROR]         at scala.reflect.internal.MissingRequirementError$.notFound(MissingRequirementError.scala:18)
      [ERROR]         at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:53)
      [ERROR]         at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:45)
      [ERROR]         at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:45)
      [ERROR]         at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:66)
      [ERROR]         at scala.reflect.internal.Mirrors$RootsBase.getClassByName(Mirrors.scala:102)
      [ERROR]         at scala.reflect.internal.Mirrors$RootsBase.getRequiredClass(Mirrors.scala:105)
      [ERROR]         at scala.reflect.internal.Definitions$DefinitionsClass.ObjectClass$lzycompute(Definitions.scala:257)
      [ERROR]         at scala.reflect.internal.Definitions$DefinitionsClass.ObjectClass(Definitions.scala:257)
      [ERROR]         at scala.reflect.internal.Definitions$DefinitionsClass.init(Definitions.scala:1394)
      [ERROR]         at scala.tools.nsc.Global$Run.<init>(Global.scala:1215)
      [ERROR]         at scala.tools.nsc.Driver.doCompile(Driver.scala:31)
      [ERROR]         at scala.tools.nsc.MainClass.doCompile(Main.scala:23)
      [ERROR]         at scala.tools.nsc.Driver.process(Driver.scala:51)
      [ERROR]         at scala.tools.nsc.Driver.main(Driver.scala:64)
      [ERROR]         at scala.tools.nsc.Main.main(Main.scala)
      [ERROR]         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [ERROR]         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      [ERROR]         at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [ERROR]         at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      [ERROR]         at scala_maven_executions.MainHelper.runMain(MainHelper.java:164)
      [ERROR]         at scala_maven_executions.MainWithArgsInFile.main(MainWithArgsInFile.java:26)
      

        Attachments

          Activity

            People

            • Assignee:
              granthenke Grant Henke
              Reporter:
              abukor Attila Bukor
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: