spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 龙淡 <longda...@163.com>
Subject Re:Re: intellij14 compiling spark-1.3.1 got error: assertion failed: com.google.protobuf.InvalidProtocalBufferException
Date Sun, 09 Aug 2015 16:58:21 GMT
thank you for reply,
   i use sbt to complie spark, but there are both protobuf 2.4.1 and 2.5.0 in maven repository
, and protobuf 2.5.0 in .ivy repository, 
   the stack trace is below
   Error:scalac:
     while compiling: /home/xiaoju/data/spark-1.3.1/core/src/main/scala/org/apache/spark/SparkContext.scala
        during phase: typer
     library version: version 2.10.4
    compiler version: version 2.10.4
  reconstructed args: -nobootcp -javabootclasspath : -P:genjavadoc:out=/home/xiaoju/data/spark-1.3.1/core/target/java
-deprecation -feature -classpath /usr/java/jdk1.7.0_71/jre/lib/resources.jar:/usr/java/jdk1.7.0_71/jre/lib/management-agent.jar:/usr/java/jdk1.7.0_71/jre/lib/charsets.jar:/usr/java/jdk1.7.0_71/jre/lib/rt.jar:/usr/java/jdk1.7.0_71/jre/lib/jsse.jar:/usr/java/jdk1.7.0_71/jre/lib/javaws.jar:/usr/java/jdk1.7.0_71/jre/lib/jfxrt.jar:/usr/java/jdk1.7.0_71/jre/lib/jfr.jar:/usr/java/jdk1.7.0_71/jre/lib/jce.jar:/usr/java/jdk1.7.0_71/jre/lib/deploy.jar:/usr/java/jdk1.7.0_71/jre/lib/plugin.jar:/usr/java/jdk1.7.0_71/jre/lib/ext/sunpkcs11.jar:/usr/java/jdk1.7.0_71/jre/lib/ext/dnsns.jar:/usr/java/jdk1.7.0_71/jre/lib/ext/localedata.jar:/usr/java/jdk1.7.0_71/jre/lib/ext/zipfs.jar:/usr/java/jdk1.7.0_71/jre/lib/ext/sunec.jar:/usr/java/jdk1.7.0_71/jre/lib/ext/sunjce_provider.jar:/home/xiaoju/data/spark-1.3.1/core/target/scala-2.10/classes:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/netty-all-4.0.23.Final.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/guava-14.0.1.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/bundles/guava-14.0.1.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/unused-1.0.0.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/chill_2.10-0.5.0.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/chill-java-0.5.0.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/kryo-2.21.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/bundles/kryo-2.21.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/reflectasm-1.07.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/reflectasm-1.07-shaded.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/minlog-1.2.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/objenesis-1.2.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/hadoop-client-1.0.4.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/hadoop-core-1.0.4.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/xmlenc-0.52.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/commons-codec-1.4.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/commons-math-2.1.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/commons-configuration-1.6.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/commons-collections-3.2.1.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/commons-lang-2.4.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/commons-logging-1.1.1.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/commons-digester-1.8.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/commons-beanutils-1.7.0.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/commons-beanutils-core-1.8.0.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/commons-el-1.0.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/hsqldb-1.8.0.10.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/oro-2.0.8.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/jackson-mapper-asl-1.0.1.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/jackson-core-asl-1.0.1.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/jets3t-0.7.1.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/commons-httpclient-3.1.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/curator-recipes-2.4.0.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/bundles/curator-recipes-2.4.0.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/curator-framework-2.4.0.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/bundles/curator-framework-2.4.0.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/curator-client-2.4.0.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/bundles/curator-client-2.4.0.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/zookeeper-3.4.5.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/jline-0.9.94.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/jetty-plus-8.1.14.v20131031.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/javax.transaction-1.1.1.v201105210645.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/orbits/javax.transaction-1.1.1.v201105210645.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/jetty-webapp-8.1.14.v20131031.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/jetty-xml-8.1.14.v20131031.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/jetty-util-8.1.14.v20131031.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/jetty-servlet-8.1.14.v20131031.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/jetty-security-8.1.14.v20131031.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/jetty-server-8.1.14.v20131031.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/javax.servlet-3.0.0.v201112011016.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/orbits/javax.servlet-3.0.0.v201112011016.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/jetty-continuation-8.1.14.v20131031.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/jetty-http-8.1.14.v20131031.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/jetty-io-8.1.14.v20131031.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/jetty-jndi-8.1.14.v20131031.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/javax.mail.glassfish-1.4.1.v201005082020.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/orbits/javax.mail.glassfish-1.4.1.v201005082020.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/javax.activation-1.1.0.v201105071233.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/orbits/javax.activation-1.1.0.v201105071233.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/commons-lang3-3.3.2.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/commons-math3-3.1.1.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/slf4j-api-1.7.10.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/jul-to-slf4j-1.7.10.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/jcl-over-slf4j-1.7.10.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/log4j-1.2.17.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/bundles/log4j-1.2.17.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/slf4j-log4j12-1.7.10.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/compress-lzf-1.0.0.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/bundles/compress-lzf-1.0.0.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/snappy-java-1.1.1.6.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/bundles/snappy-java-1.1.1.6.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/lz4-1.2.0.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/RoaringBitmap-0.4.5.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/bundles/RoaringBitmap-0.4.5.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/commons-net-2.2.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/akka-remote_2.10-2.3.4-spark.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/akka-actor_2.10-2.3.4-spark.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/config-1.2.1.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/bundles/config-1.2.1.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/netty-3.8.0.Final.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/bundles/netty-3.8.0.Final.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/protobuf-java-2.5.0-spark.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/bundles/protobuf-java-2.5.0-spark.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/uncommons-maths-1.2.2a.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/akka-slf4j_2.10-2.3.4-spark.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/json4s-jackson_2.10-3.2.10.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/json4s-core_2.10-3.2.10.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/json4s-ast_2.10-3.2.10.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/paranamer-2.6.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/scalap-2.10.0.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/scala-compiler-2.10.0.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/mesos-0.21.0.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/mesos-0.21.0-shaded-protobuf.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/stream-2.7.0.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/metrics-core-3.1.0.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/bundles/metrics-core-3.1.0.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/metrics-jvm-3.1.0.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/bundles/metrics-jvm-3.1.0.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/metrics-json-3.1.0.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/bundles/metrics-json-3.1.0.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/metrics-graphite-3.1.0.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/bundles/metrics-graphite-3.1.0.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/jackson-databind-2.4.4.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/bundles/jackson-databind-2.4.4.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/jackson-core-2.4.4.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/bundles/jackson-core-2.4.4.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/jackson-module-scala_2.10-2.4.4.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/bundles/jackson-module-scala_2.10-2.4.4.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/scala-reflect-2.10.4.jar:/home/xiaoju/.sbt/boot/scala-2.10.4/lib/scala-reflect.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/jackson-annotations-2.4.4.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/bundles/jackson-annotations-2.4.4.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/jsr305-2.0.1.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/ivy-2.4.0.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/tachyon-client-0.5.0.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/tachyon-0.5.0.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/commons-io-2.4.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/pyrolite-2.0.1.jar:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/py4j-0.8.2.1.jar:/home/xiaoju/data/spark-1.3.1/network/common/target/scala-2.10/classes:/home/xiaoju/data/spark-1.3.1/network/shuffle/target/scala-2.10/classes:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/scala-library-2.10.4.jar:/home/xiaoju/.sbt/boot/scala-2.10.4/lib/scala-library.jar:/home/xiaoju/.ivy2/cache/org.scala-lang/scala-reflect/jars/scala-reflect-2.10.4.jar:/home/xiaoju/.ivy2/cache/org.scala-lang/scala-library/jars/scala-library-2.10.4.jar
-unchecked -Xplugin:/home/xiaoju/data/spark-1.3.1/lib_managed/jars/genjavadoc-plugin_2.10.4-0.8.jar
  last tree to typer: Ident(scala)
              symbol: package scala (flags: final <module> <package> <java>
<triedcooking>)
   symbol definition: final package scala
                 tpe: scala.type
       symbol owners: package scala -> package <root>
      context owners: method executorLost -> class CoarseMesosSchedulerBackend -> package
mesos
== Enclosing template or block ==
DefDef( // override def executorLost: <?> in class CoarseMesosSchedulerBackend
  <method> override
  "executorLost"
  []
  // 1 parameter list
  ValDef( // d: <?>
    <param>
    "d"
    "SchedulerDriver"
    <empty>
  )
  ValDef( // e: <?>
    <param>
    "e"
    "ExecutorID"
    <empty>
  )
  ValDef( // s: <?>
    <param>
    "s"
    "SlaveID"
    <empty>
  )
  ValDef( // status: <?>
    <param>
    "status"
    "Int"
    <empty>
  )
  "scala"."Unit" // final abstract class Unit extends AnyVal in package scala, tree.tpe=Unit
  Block(
    Apply(
      "logInfo"
      Apply(
        "Executor lost: %s, marking slave %s as lost"."format"
        // 2 arguments
        "e"."getValue"
        "s"."getValue"
      )
    )
    Apply(
      "slaveLost"
      // 2 arguments
      "d"
      "s"
    )
  )
)
== Expanded type of tree ==
SingleType(pre = ThisType(package <root>), package scala)
uncaught exception during compilation: java.lang.AssertionError
java.lang.AssertionError: assertion failed: com.google.protobuf.InvalidProtocolBufferException
    at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1212)
    at scala.reflect.internal.Symbols$Symbol.initialize(Symbols.scala:1374)
    at scala.tools.nsc.symtab.classfile.ClassfileParser.parseExceptions$1(ClassfileParser.scala:1051)
    at scala.tools.nsc.symtab.classfile.ClassfileParser.scala$tools$nsc$symtab$classfile$ClassfileParser$$parseAttribute$1(ClassfileParser.scala:920)
    at scala.tools.nsc.symtab.classfile.ClassfileParser.parseAttributes(ClassfileParser.scala:1080)
    at scala.tools.nsc.symtab.classfile.ClassfileParser.parseMethod(ClassfileParser.scala:666)
    at scala.tools.nsc.symtab.classfile.ClassfileParser.scala$tools$nsc$symtab$classfile$ClassfileParser$$queueLoad$1(ClassfileParser.scala:557)
    at scala.tools.nsc.symtab.classfile.ClassfileParser$$anonfun$parseClass$1.apply$mcV$sp(ClassfileParser.scala:567)
    at scala.tools.nsc.symtab.classfile.ClassfileParser.parseClass(ClassfileParser.scala:572)
    at scala.tools.nsc.symtab.classfile.ClassfileParser.parse(ClassfileParser.scala:88)
    at scala.tools.nsc.symtab.SymbolLoaders$ClassfileLoader.doComplete(SymbolLoaders.scala:261)
    at scala.tools.nsc.symtab.SymbolLoaders$SymbolLoader.complete(SymbolLoaders.scala:194)
    at scala.tools.nsc.symtab.SymbolLoaders$SymbolLoader.load(SymbolLoaders.scala:210)
    at scala.reflect.internal.Symbols$Symbol.typeParams(Symbols.scala:1489)
    at scala.reflect.internal.Types$NoArgsTypeRef.typeParams(Types.scala:2144)
    at scala.reflect.internal.Types$NoArgsTypeRef.isHigherKinded(Types.scala:2143)
    at scala.reflect.internal.Types$NoArgsTypeRef.normalizeImpl(Types.scala:2177)
    at scala.reflect.internal.Types$TypeRef.normalize(Types.scala:2383)
    at scala.reflect.internal.Types$ContainsCollector.traverse(Types.scala:4933)
    at scala.reflect.internal.Types$TypeCollector.collect(Types.scala:4362)
    at scala.reflect.internal.Types$Type.contains(Types.scala:861)
    at scala.reflect.internal.Types$class.scala$reflect$internal$Types$$typesContain(Types.scala:7368)
    at scala.reflect.internal.Types$MethodType.areTrivialParams(Types.scala:2600)
    at scala.reflect.internal.Types$MethodType.isTrivial(Types.scala:2591)
    at scala.reflect.internal.Types$Type.asSeenFrom(Types.scala:747)
    at scala.reflect.internal.Types$Type.computeMemberType(Types.scala:788)
    at scala.reflect.internal.Symbols$MethodSymbol.typeAsMemberOf(Symbols.scala:2655)
    at scala.reflect.internal.Types$Type.memberType(Types.scala:779)
    at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$scala$tools$nsc$typechecker$Namers$Namer$$overriddenSymbol$1$1.apply(Namers.scala:1051)
    at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$scala$tools$nsc$typechecker$Namers$Namer$$overriddenSymbol$1$1.apply(Namers.scala:1050)
    at scala.reflect.internal.Symbols$Symbol.filter(Symbols.scala:1673)
    at scala.tools.nsc.typechecker.Namers$Namer.scala$tools$nsc$typechecker$Namers$Namer$$overriddenSymbol$1(Namers.scala:1050)
    at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$methodSig$3.apply(Namers.scala:1139)
    at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$methodSig$3.apply(Namers.scala:1139)
    at scala.tools.nsc.typechecker.Namers$Namer.addDefaultGetters(Namers.scala:1184)
    at scala.tools.nsc.typechecker.Namers$Namer.methodSig(Namers.scala:1139)
    at scala.tools.nsc.typechecker.Namers$Namer.getSig$1(Namers.scala:1454)
    at scala.tools.nsc.typechecker.Namers$Namer.typeSig(Namers.scala:1466)
    at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$monoTypeCompleter$1$$anonfun$apply$1.apply$mcV$sp(Namers.scala:731)
    at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$monoTypeCompleter$1$$anonfun$apply$1.apply(Namers.scala:730)
    at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$monoTypeCompleter$1$$anonfun$apply$1.apply(Namers.scala:730)
    at scala.tools.nsc.typechecker.Namers$Namer.scala$tools$nsc$typechecker$Namers$Namer$$logAndValidate(Namers.scala:1499)
    at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$monoTypeCompleter$1.apply(Namers.scala:730)
    at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$monoTypeCompleter$1.apply(Namers.scala:729)
    at scala.tools.nsc.typechecker.Namers$$anon$1.completeImpl(Namers.scala:1614)
    at scala.tools.nsc.typechecker.Namers$LockingTypeCompleter$class.complete(Namers.scala:1622)
    at scala.tools.nsc.typechecker.Namers$$anon$1.complete(Namers.scala:1612)
    at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1231)
    at scala.reflect.internal.Symbols$Symbol.tpe(Symbols.scala:1202)
    at scala.reflect.internal.Symbols$Symbol.tpeHK(Symbols.scala:1203)
    at scala.reflect.internal.Types$Type.computeMemberType(Types.scala:784)
    at scala.reflect.internal.Symbols$MethodSymbol.typeAsMemberOf(Symbols.scala:2655)
    at scala.reflect.internal.Types$Type.memberType(Types.scala:779)
    at scala.reflect.internal.Types$Type.findMember(Types.scala:1207)
    at scala.reflect.internal.Types$Type.memberBasedOnName(Types.scala:722)
    at scala.reflect.internal.Types$Type.nonPrivateMember(Types.scala:687)
    at scala.reflect.internal.Types$class.refines$1(Types.scala:6854)
    at scala.reflect.internal.Types$$anonfun$excludeFromLub$1$1.apply(Types.scala:6830)
    at scala.reflect.internal.Types$$anonfun$excludeFromLub$1$1.apply(Types.scala:6830)
    at scala.collection.LinearSeqOptimized$class.exists(LinearSeqOptimized.scala:80)
    at scala.collection.immutable.List.exists(List.scala:84)
    at scala.reflect.internal.Types$class.excludeFromLub$1(Types.scala:6830)
    at scala.reflect.internal.Types$$anonfun$67.apply(Types.scala:6862)
    at scala.reflect.internal.Types$$anonfun$67.apply(Types.scala:6862)
    at scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(TraversableLike.scala:772)
    at scala.reflect.internal.Scopes$Scope.foreach(Scopes.scala:315)
    at scala.collection.TraversableLike$WithFilter.foreach(TraversableLike.scala:771)
    at scala.reflect.internal.Types$class.lub1$1(Types.scala:6862)
    at scala.reflect.internal.Types$class.lub0$1(Types.scala:6808)
    at scala.reflect.internal.Types$class.scala$reflect$internal$Types$$lub(Types.scala:6903)
    at scala.reflect.internal.Types$class.lub(Types.scala:6777)
    at scala.reflect.internal.SymbolTable.lub(SymbolTable.scala:13)
    at scala.reflect.internal.Types$class.weakLub(Types.scala:6711)
    at scala.reflect.internal.SymbolTable.weakLub(SymbolTable.scala:13)
    at scala.tools.nsc.typechecker.Typers$Typer.ptOrLub(Typers.scala:2508)
    at scala.tools.nsc.typechecker.Typers$Typer.typedIf$1(Typers.scala:4331)
    at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5571)
    at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5642)
    at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5721)
    at scala.tools.nsc.typechecker.Typers$Typer.computeType(Typers.scala:5808)
    at scala.tools.nsc.typechecker.Namers$Namer.assignTypeToTree(Namers.scala:834)
    at scala.tools.nsc.typechecker.Namers$Namer.valDefSig(Namers.scala:1315)
    at scala.tools.nsc.typechecker.Namers$Namer.getSig$1(Namers.scala:1457)
    at scala.tools.nsc.typechecker.Namers$Namer.typeSig(Namers.scala:1466)
    at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$monoTypeCompleter$1$$anonfun$apply$1.apply$mcV$sp(Namers.scala:731)
    at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$monoTypeCompleter$1$$anonfun$apply$1.apply(Namers.scala:730)
    at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$monoTypeCompleter$1$$anonfun$apply$1.apply(Namers.scala:730)
    at scala.tools.nsc.typechecker.Namers$Namer.scala$tools$nsc$typechecker$Namers$Namer$$logAndValidate(Namers.scala:1499)
    at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$monoTypeCompleter$1.apply(Namers.scala:730)
    at scala.tools.nsc.typechecker.Namers$Namer$$anonfun$monoTypeCompleter$1.apply(Namers.scala:729)
    at scala.tools.nsc.typechecker.Namers$$anon$1.completeImpl(Namers.scala:1614)
    at scala.tools.nsc.typechecker.Namers$LockingTypeCompleter$class.complete(Namers.scala:1622)
    at scala.tools.nsc.typechecker.Namers$$anon$1.complete(Namers.scala:1612)
    at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1231)
    at scala.reflect.internal.Symbols$Symbol.initialize(Symbols.scala:1374)
    at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5295)
    at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5642)
    at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2928)
    at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$61.apply(Typers.scala:3032)
    at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$61.apply(Typers.scala:3032)
    at scala.collection.immutable.List.loop$1(List.scala:170)
    at scala.collection.immutable.List.mapConserve(List.scala:186)
    at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3032)
    at scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:2432)
    at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5570)
    at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5642)
    at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5721)
    at scala.tools.nsc.typechecker.Typers$Typer.typedCase(Typers.scala:2473)
    at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedCases$1.apply(Typers.scala:2503)
    at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedCases$1.apply(Typers.scala:2502)
    at scala.collection.immutable.List.loop$1(List.scala:170)
    at scala.collection.immutable.List.mapConserve(List.scala:186)
    at scala.tools.nsc.typechecker.Typers$Typer.typedCases(Typers.scala:2502)
    at scala.tools.nsc.typechecker.Typers$Typer.typedMatch(Typers.scala:2515)
    at scala.tools.nsc.typechecker.Typers$Typer.typedVirtualizedMatch$1(Typers.scala:4363)
    at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5576)
    at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5642)
    at scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:2433)
    at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5570)
    at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5642)
    at scala.tools.nsc.typechecker.Typers$Typer.transformedOrTyped(Typers.scala:5845)
    at scala.tools.nsc.typechecker.Typers$Typer.typedDefDef(Typers.scala:2257)
    at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5569)
    at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5642)
    at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2928)
    at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$61.apply(Typers.scala:3032)
    at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$61.apply(Typers.scala:3032)
    at scala.collection.immutable.List.loop$1(List.scala:170)
    at scala.collection.immutable.List.mapConserve(List.scala:186)
    at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3032)
    at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:1919)
    at scala.tools.nsc.typechecker.Typers$Typer.typedModuleDef(Typers.scala:1800)
    at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5584)
    at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5642)
    at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2928)
    at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$61.apply(Typers.scala:3032)
    at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$61.apply(Typers.scala:3032)
    at scala.collection.immutable.List.loop$1(List.scala:170)
    at scala.collection.immutable.List.mapConserve(List.scala:186)
    at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3032)
    at scala.tools.nsc.typechecker.Typers$Typer.typedPackageDef$1(Typers.scala:5301)
    at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5587)
    at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5642)
    at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5704)
    at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3.apply(Analyzer.scala:99)
    at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:464)
    at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3$$anonfun$run$1.apply(Analyzer.scala:91)
    at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3$$anonfun$run$1.apply(Analyzer.scala:91)
    at scala.collection.Iterator$class.foreach(Iterator.scala:727)
    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
    at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3.run(Analyzer.scala:91)
    at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1583)
    at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1557)
    at scala.tools.nsc.Global$Run.compileSources(Global.scala:1553)
    at scala.tools.nsc.Global$Run.compile(Global.scala:1662)
    at xsbt.CachedCompiler0.run(CompilerInterface.scala:126)
    at xsbt.CachedCompiler0.run(CompilerInterface.scala:102)
    at xsbt.CompilerInterface.run(CompilerInterface.scala:27)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at sbt.compiler.AnalyzingCompiler.call(AnalyzingCompiler.scala:102)
    at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:48)
    at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:41)
    at org.jetbrains.jps.incremental.scala.local.IdeaIncrementalCompiler.compile(IdeaIncrementalCompiler.scala:29)
    at org.jetbrains.jps.incremental.scala.local.LocalServer.compile(LocalServer.scala:26)
    at org.jetbrains.jps.incremental.scala.remote.Main$.make(Main.scala:62)
    at org.jetbrains.jps.incremental.scala.remote.Main$.nailMain(Main.scala:20)
    at org.jetbrains.jps.incremental.scala.remote.Main.nailMain(Main.scala)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at com.martiansoftware.nailgun.NGSession.run(NGSession.java:319)








At 2015-08-10 00:43:10, "Ted Yu" <yuzhihong@gmail.com> wrote:

Can you check if there is protobuf version other than 2.5.0 on the classpath ?


Please show the complete stack trace.


Cheers


On Sun, Aug 9, 2015 at 9:41 AM, longdanky@163.com<longdanky@163.com> wrote:
hi all,
    i compile spark-1.3.1 on linux use intellij14 and got error assertion
failed: com.google.protobuf.InvalidProtocalBufferException, how could i
solve the problem?



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/intellij14-compiling-spark-1-3-1-got-error-assertion-failed-com-google-protobuf-InvalidProtocalBuffen-tp24186.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org



Mime
View raw message