spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tathagata Das <t...@databricks.com>
Subject Re: StreamingContextSuite fails with NoSuchMethodError
Date Sat, 30 May 2015 07:42:14 GMT
Did was it a clean compilation?

TD

On Fri, May 29, 2015 at 10:48 PM, Ted Yu <yuzhihong@gmail.com> wrote:

> Hi,
> I ran the following command on 1.4.0 RC3:
>
> mvn -Phadoop-2.4 -Dhadoop.version=2.7.0 -Pyarn -Phive package
>
> I saw the following failure:
>
> ^[[32mStreamingContextSuite:^[[0m
> ^[[32m- from no conf constructor^[[0m
> ^[[32m- from no conf + spark home^[[0m
> ^[[32m- from no conf + spark home + env^[[0m
> ^[[32m- from conf with settings^[[0m
> ^[[32m- from existing SparkContext^[[0m
> ^[[32m- from existing SparkContext with settings^[[0m
> ^[[31m*** RUN ABORTED ***^[[0m
> ^[[31m  java.lang.NoSuchMethodError:
> org.apache.spark.ui.JettyUtils$.createStaticHandler(Ljava/lang/String;Ljava/lang/String;)Lorg/eclipse/jetty/servlet/ServletContextHandler;^[[0m
> ^[[31m  at
> org.apache.spark.streaming.ui.StreamingTab.attach(StreamingTab.scala:49)^[[0m
> ^[[31m  at
> org.apache.spark.streaming.StreamingContext$$anonfun$start$2.apply(StreamingContext.scala:585)^[[0m
> ^[[31m  at
> org.apache.spark.streaming.StreamingContext$$anonfun$start$2.apply(StreamingContext.scala:585)^[[0m
> ^[[31m  at scala.Option.foreach(Option.scala:236)^[[0m
> ^[[31m  at
> org.apache.spark.streaming.StreamingContext.start(StreamingContext.scala:585)^[[0m
> ^[[31m  at
> org.apache.spark.streaming.StreamingContextSuite$$anonfun$8.apply$mcV$sp(StreamingContextSuite.scala:101)^[[0m
> ^[[31m  at
> org.apache.spark.streaming.StreamingContextSuite$$anonfun$8.apply(StreamingContextSuite.scala:96)^[[0m
> ^[[31m  at
> org.apache.spark.streaming.StreamingContextSuite$$anonfun$8.apply(StreamingContextSuite.scala:96)^[[0m
> ^[[31m  at
> org.scalatest.Transformer$$anonfun$apply$1.apply$mcV$sp(Transformer.scala:22)^[[0m
> ^[[31m  at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)^[[0m
>
> Did anyone else encounter similar error ?
>
> Cheers
>

Mime
View raw message