GitHub user gatorsmile opened a pull request:

    https://github.com/apache/spark/pull/16393

    [SPARK-18993] [Build] Revert Split test-tags into test-JAR 

    ### What changes were proposed in this pull request?
    After https://github.com/apache/spark/pull/16311 is merged, I am unable to 
build it in my IntelliJ. Got the following error:
    
    ```
    Error:scalac: error while loading Object, Missing dependency 'object scala 
in compiler mirror', required by 
/Library/Java/JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home/jre/lib/rt.jar(java/lang/Object.class)
    Error:scalac: Error: object scala in compiler mirror not found.
    scala.reflect.internal.MissingRequirementError: object scala in compiler 
mirror not found.
        at 
scala.reflect.internal.MissingRequirementError$.signal(MissingRequirementError.scala:17)
        at 
scala.reflect.internal.MissingRequirementError$.notFound(MissingRequirementError.scala:18)
        at 
scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:53)
        at 
scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:66)
        at 
scala.reflect.internal.Mirrors$RootsBase.getPackage(Mirrors.scala:173)
        at 
scala.reflect.internal.Definitions$DefinitionsClass.ScalaPackage$lzycompute(Definitions.scala:161)
        at 
scala.reflect.internal.Definitions$DefinitionsClass.ScalaPackage(Definitions.scala:161)
        at 
scala.reflect.internal.Definitions$DefinitionsClass.ScalaPackageClass$lzycompute(Definitions.scala:162)
        at 
scala.reflect.internal.Definitions$DefinitionsClass.ScalaPackageClass(Definitions.scala:162)
        at 
scala.reflect.internal.Definitions$DefinitionsClass.init(Definitions.scala:1395)
        at scala.tools.nsc.Global$Run.<init>(Global.scala:1215)
        at xsbt.CachedCompiler0$$anon$2.<init>(CompilerInterface.scala:105)
        at xsbt.CachedCompiler0.run(CompilerInterface.scala:105)
        at xsbt.CachedCompiler0.run(CompilerInterface.scala:94)
        at xsbt.CompilerInterface.run(CompilerInterface.scala:22)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at sbt.compiler.AnalyzingCompiler.call(AnalyzingCompiler.scala:101)
        at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:47)
        at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:41)
        at 
org.jetbrains.jps.incremental.scala.local.IdeaIncrementalCompiler.compile(IdeaIncrementalCompiler.scala:29)
        at 
org.jetbrains.jps.incremental.scala.local.LocalServer.compile(LocalServer.scala:26)
        at org.jetbrains.jps.incremental.scala.remote.Main$.make(Main.scala:67)
        at 
org.jetbrains.jps.incremental.scala.remote.Main$.nailMain(Main.scala:24)
        at org.jetbrains.jps.incremental.scala.remote.Main.nailMain(Main.scala)
        at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.martiansoftware.nailgun.NGSession.run(NGSession.java:319)
    ```
    
    ### How was this patch tested?
    Manually

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gatorsmile/spark IntelliJError

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/16393.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #16393
    
----
commit 685f28bb7c42148144fe9b8a57c9b29af8dc0e90
Author: gatorsmile <gatorsm...@gmail.com>
Date:   2016-12-24T00:08:33Z

    Revert: [SPARK-17807][CORE] split test-tags into test-JAR

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to