java.lang.NoSuchMethodError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • NoSuchMethodError with SparkContext
    via Stack Overflow by Corey Wu
    ,
  • Running Spark on Yarn
    via Stack Overflow by chanda
    ,
    • java.lang.NoSuchMethodError: org.apache.spark.network.util.JavaUtils.timeStringAsSec(Ljava/lang/String;)J at org.apache.spark.util.Utils$.timeStringAsSeconds(Utils.scala:993) at org.apache.spark.rpc.RpcTimeout$.apply(RpcTimeout.scala:128) at org.apache.spark.util.RpcUtils$.lookupRpcTimeout(RpcUtils.scala:61) at org.apache.spark.rpc.RpcEnv.<init>(RpcEnv.scala:69) at org.apache.spark.rpc.netty.NettyRpcEnv.<init>(NettyRpcEnv.scala:43) at org.apache.spark.rpc.netty.NettyRpcEnvFactory.create(NettyRpcEnv.scala:447) at org.apache.spark.rpc.RpcEnv$.create(RpcEnv.scala:53) at org.apache.spark.SparkEnv$.create(SparkEnv.scala:253) at org.apache.spark.SparkEnv$.createDriverEnv(SparkEnv.scala:193) at org.apache.spark.SparkContext.createSparkEnv(SparkContext.scala:288) at org.apache.spark.SparkContext.<init>(SparkContext.scala:457) at org.apache.spark.api.java.JavaSparkContext.<init>(JavaSparkContext.scala:59) at SparkMain.main(SparkMain.java:14)
    No Bugmate found.