Home > other >  An error occurred when consulted a great god: spark1.6.2 compiled into the core
An error occurred when consulted a great god: spark1.6.2 compiled into the core

Time:09-26

Downloaded spark1.6.2 version, install hadoop2.6, according to the build/MVN Pyarn - Phadoop - 2.6 - Pspark - ganglia - the LGPL - Pkinesis - asl - Phive - DskipTests clean package compiled, during the compilation of to spark - core, suggests the following error:
[the INFO]
[the INFO] maven - remote - resources - the plugin: 1.5: the process (the default) @ spark - core_2. 10 -
[WARNING] Invalid POM for com. Typesafe. Akka: akka - remote_2. 10: jar: 2.3.11, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] Invalid POM for com. Typesafe. Akka: akka - slf4j_2. 10: jar: 2.3.11, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] Invalid POM for com. Typesafe. Akka: akka - testkit_2. 10: jar: 2.3.11, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] Invalid POM for org. Json4s: json4s - jackson_2. 10: jar: 3.2.10, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] Invalid project model for an artifact [akka - slf4j_2. 10: com. Typesafe. Akka: 2.3.11]. It will be ignored by the remote resources Mojo.
[WARNING] Invalid project model for an artifact [json4s - jackson_2. 10: org. Json4s: 3.2.10]. It will be ignored by the remote resources Mojo.
[WARNING] Invalid project model for an artifact [akka - remote_2. 10: com. Typesafe. Akka: 2.3.11]. It will be ignored by the remote resources Mojo.
[the INFO]
[the INFO] maven - resources - the plugin: 2.6: resources (default - resources) @ spark - core_2. 10 -
[the INFO] Using 'utf-8 encoding to copy filtered resources.
[INFO] Copying 21 resources
[the INFO] Copying 3 resources
[the INFO]
[the INFO] scala - maven plugin: 3.2.2: compile (scala - compile - first) @ spark - core_2. 10 -
[the INFO] Using any zinc server for incremental compilation
[the info] the Compiling 486 Scala sources and 76 Java sources to/code/spark - 1.6.2/core/target/Scala 2.10/classes...
[error]/code/spark - 1.6.2/core/SRC/main/scala/org/apache/spark/SSLOptions scala: 26: object typesafe is not a member of package com
[error] import com. Typesafe. Config. {config, ConfigFactory ConfigValueFactory}
[error] ^
[error]/code/spark - 1.6.2/core/SRC/main/scala/org/apache/spark/SSLOptions scala: 83: not found: the type Config
[error] def createAkkaConfig: Option (Config)={
[error] ^
[error]/code/spark - 1.6.2/core/SRC/main/scala/org/apache/spark/SSLOptions scala: 85: not found: the value ConfigFactory
[error] Some (ConfigFactory. Empty ()
[error]/code/spark - 1.6.2/core/SRC/main/scala/org/apache/spark/SparkEnv scala: 255: not found: the type ActorSystem
[error]/code/spark - 1.6.2/core/SRC/main/scala/org/apache/spark/RPC/akka/AkkaRpcEnv scala: 320: object error is not a case cla
[error]/code/spark - 1.6.2/core/SRC/main/scala/org/apache/spark/util/AkkaUtils scala: 210: not found: the type ActorSystem
[error] actorSystem: actorSystem) : ActorRef={
[error] ^
[error]/code/spark - 1.6.2/core/SRC/main/scala/org/apache/spark/util/JsonProtocol scala: 27: object DefaultFormats is not a member of package org. Json4s
[error] import org. Json4s. DefaultFormats
[error] ^
[error]/code/spark - 1.6.2/core/SRC/main/scala/org/apache/spark/util/JsonProtocol scala: 55: not found: the value DefaultFormats
[error] private implicit val format=DefaultFormats
[error] ^
[warn] two warnings found
[error] 248 errors found
[error] the Compile failed at the end of the 2016-6-29 11:42:42 [1:07. 227 s]
[the INFO] -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
[the INFO] Reactor Summary:
[the INFO]
[the INFO] Spark Project Parent POM... SUCCESS [s] 10.842
[the INFO] Spark Project Test Tags... SUCCESS [s] 6.612
[the INFO] Spark Project the Launcher... SUCCESS [01:03 min]
[the INFO] Spark Project Networking... SUCCESS [s] 20.415
[the INFO] Spark Project Shuffle Streaming Service... SUCCESS [s] 11.025
[the INFO] Spark Project Unsafe... SUCCESS [s] 29.591
[the INFO] Spark Project Core... FAILURE [01:53 min]
[the INFO] Spark Project Bagel... SKIPPED
[the INFO] Spark Project GraphX... SKIPPED
[the INFO] Spark Project Streaming... SKIPPED
[the INFO] Spark Project Catalyst... SKIPPED
[the INFO] Spark Project SQL... SKIPPED
[the INFO] Spark Project ML Library... SKIPPED
[the INFO] Spark Project Tools... SKIPPED
[the INFO] Spark Project Hive... SKIPPED
[the INFO] Spark Project Docker Integration Tests... SKIPPED
[the INFO] Spark Project REPL... SKIPPED
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related