This is because spark-2.4 don't support scala-2.10. Thanks Andrew, I
believe we need to update the doc.

Andrew Musselman <a...@apache.org> 于2019年4月20日周六 上午4:25写道:

> Worked with `vn clean package -DskipTests -Pspark-2.0 -Pscala-2.11`;
> thanks.
>
> On Fri, Apr 19, 2019 at 12:18 PM Andrew Musselman <a...@apache.org> wrote:
>
> > The command I was using was `mvn clean install -DskipTests`.
> >
> > Here's the error with package:
> >
> > [ERROR] Failed to execute goal on project spark-interpreter: Could not
> > resolve dependencies for project
> > org.apache.zeppelin:spark-interpreter:jar:0.8.2-SNAPSHOT: The following
> > artifacts could not be resolved:
> > org.apache.spark:spark-repl_2.10:jar:2.4.0,
> > org.apache.spark:spark-core_2.10:jar:2.4.0,
> > org.apache.spark:spark-hive_2.10:jar:2.4.0: Failure to find
> > org.apache.spark:spark-repl_2.10:jar:2.4.0 in
> > https://repo.maven.apache.org/maven2 was cached in the local repository,
> > resolution will not be reattempted until the update interval of central
> has
> > elapsed or updates are forced -> [Help 1]
> >
> >
> > On Fri, Apr 19, 2019 at 12:08 PM Andrew Musselman <a...@apache.org>
> wrote:
> >
> >> I'm trying to build off branch-08 and am getting this error:
> >>
> >> [ERROR] Failed to execute goal on project spark-interpreter: Could not
> >> resolve dependencies for project
> >> org.apache.zeppelin:spark-interpreter:jar:0.8.2-SNAPSHOT: The following
> >> artifacts could not be resolved:
> >> org.apache.zeppelin:zeppelin-display:jar:0.8.2-SNAPSHOT,
> >> org.apache.zeppelin:spark-scala-2.10:jar:0.8.2-SNAPSHOT,
> >> org.apache.zeppelin:spark-scala-2.11:jar:0.8.2-SNAPSHOT,
> >> org.apache.zeppelin:zeppelin-interpreter:jar:0.8.2-SNAPSHOT,
> >> org.apache.zeppelin:spark1-shims:jar:0.8.2-SNAPSHOT,
> >> org.apache.zeppelin:spark-shims:jar:0.8.2-SNAPSHOT,
> >> org.apache.zeppelin:spark2-shims:jar:0.8.2-SNAPSHOT,
> >> org.apache.zeppelin:zeppelin-python:jar:0.8.2-SNAPSHOT,
> >> org.apache.spark:spark-repl_2.10:jar:2.4.0,
> >> org.apache.spark:spark-core_2.10:jar:2.4.0,
> >> org.apache.spark:spark-hive_2.10:jar:2.4.0: Could not find artifact
> >> org.apache.zeppelin:zeppelin-display:jar:0.8.2-SNAPSHOT in
> apache.snapshots
> >> (http://repository.apache.org/snapshots) -> [Help 1]
> >>
> >> I've cleared out my .m2 repos and am still getting the same error. Any
> >> advice?
> >>
> >> Thanks!
> >>
> >
>


-- 
Best Regards

Jeff Zhang

Reply via email to