Re: Package org.apache.spark.annotation no longer exist in Spark 2.0?
It's still there on master. It is in the "spark-tags" module however (under common/tags), maybe something changed in the build environment and it isn't made available as a dependency to your project? What happens if you include the module as a direct dependency? --Jakob On Tue, Oct 4, 2016 at 10:33 AM, Liren Ding wrote: > I just upgrade from Spark 1.6.1 to 2.0, and got an java compile error: > error: cannot access DeveloperApi > class file for org.apache.spark.annotation.DeveloperApi not found > > From the Spark 2.0 document > (https://spark.apache.org/docs/2.0.0/api/java/overview-summary.html), the > package org.apache.spark.annotation is removed. Does anyone know if it's > moved to another package? Or how to call developerAPI with absence of the > annotation? Thanks. > > Cheers, > Liren > > - To unsubscribe e-mail: user-unsubscr...@spark.apache.org
Re: Package org.apache.spark.annotation no longer exist in Spark 2.0?
No, they're just in a separate module now, called spark-tags On Tue, Oct 4, 2016 at 6:34 PM Liren Ding wrote: > I just upgrade from Spark 1.6.1 to 2.0, and got an java compile error: > *error: cannot access DeveloperApi* > * class file for org.apache.spark.annotation.DeveloperApi not found* > > From the Spark 2.0 document ( > https://spark.apache.org/docs/2.0.0/api/java/overview-summary.html), the > package org.apache.spark.annotation is removed. Does anyone know if it's > moved to another package? Or how to call developerAPI with absence of the > annotation? Thanks. > > Cheers, > Liren > > >
Package org.apache.spark.annotation no longer exist in Spark 2.0?
I just upgrade from Spark 1.6.1 to 2.0, and got an java compile error: *error: cannot access DeveloperApi* * class file for org.apache.spark.annotation.DeveloperApi not found* >From the Spark 2.0 document ( https://spark.apache.org/docs/2.0.0/api/java/overview-summary.html), the package org.apache.spark.annotation is removed. Does anyone know if it's moved to another package? Or how to call developerAPI with absence of the annotation? Thanks. Cheers, Liren