java - Spark Streaming StreamingContext error -
java - Spark Streaming StreamingContext error -
i'm java veteran who's trying larn scala + spark streaming. downloaded eclipse-based scala ide + spark core jar + spark streaming jar both 2.10 , seek out illustration - i'm getting error:
val ssc = new streamingcontext(conf, seconds(1));
description resource path location type bad symbolic reference. signature in streamingcontext.class refers term conf in bundle org.apache.hadoop not available. may missing current classpath, or version on classpath might incompatible version used when compiling streamingcontext.class. lab.scala /airstream/src line 10 scala problem
is there missed here? sparkcontext has no error streamingcontext getting error al time.
make sure version of hadoop on classpath matches 1 spark streaming jar built against. there might dependencies spark streaming expects provided cluster environment; if need add together them manually classpath when running in eclipse.
java eclipse scala streaming apache-spark
Comments
Post a Comment