spark scala警告:他们需要解决吗?

时间:2016-03-16 15:18:37

标签: scala apache-spark

当我运行Scala(使用Scala版本2.10.5)时,我会进入屏幕下方。我正在使用它与Spark版本1.6.1。我正在学习的book有一个屏幕截图,它并没有显示太多警告。为什么我会收到这些警告。我需要解决它们才能顺利执行吗?

c:\spark-1.6.1-bin-hadoop2.6\spark-1.6.1-bin-hadoop2.6>bin\spark-shell
Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
16/03/16 08:12:59 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Welcome to
      ____              __
     / __/__  ___ _____/ /__
    _\ \/ _ \/ _ `/ __/  '_/
   /___/ .__/\_,_/_/ /_/\_\   version 1.6.1
      /_/

Using Scala version 2.10.5 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_65)
Type in expressions to have them evaluated.
Type :help for more information.
Spark context available as sc.
16/03/16 08:13:09 WARN General: Plugin (Bundle) "org.datanucleus.store.rdbms" is already registered. Ensure you dont have multiple JAR versions of the same plugin in the classpath. The URL "file:/c:/spark-1.6.1-bin-hado
p2.6/spark-1.6.1-bin-hadoop2.6/bin/../lib/datanucleus-rdbms-3.2.9.jar" is already registered, and you are trying to register an identical plugin located at URL "file:/C:/spark-1.6.1-bin-hadoop2.6/spark-1.6.1-bin-hadoop2
6/lib/datanucleus-rdbms-3.2.9.jar."
16/03/16 08:13:09 WARN General: Plugin (Bundle) "org.datanucleus.api.jdo" is already registered. Ensure you dont have multiple JAR versions of the same plugin in the classpath. The URL "file:/C:/spark-1.6.1-bin-hadoop2.
/spark-1.6.1-bin-hadoop2.6/lib/datanucleus-api-jdo-3.2.6.jar" is already registered, and you are trying to register an identical plugin located at URL "file:/c:/spark-1.6.1-bin-hadoop2.6/spark-1.6.1-bin-hadoop2.6/bin/..
lib/datanucleus-api-jdo-3.2.6.jar."
16/03/16 08:13:09 WARN General: Plugin (Bundle) "org.datanucleus" is already registered. Ensure you dont have multiple JAR versions of the same plugin in the classpath. The URL "file:/C:/spark-1.6.1-bin-hadoop2.6/spark-
.6.1-bin-hadoop2.6/lib/datanucleus-core-3.2.10.jar" is already registered, and you are trying to register an identical plugin located at URL "file:/c:/spark-1.6.1-bin-hadoop2.6/spark-1.6.1-bin-hadoop2.6/bin/../lib/datan
cleus-core-3.2.10.jar."
16/03/16 08:13:09 WARN Connection: BoneCP specified but not present in CLASSPATH (or one of dependencies)
16/03/16 08:13:09 WARN Connection: BoneCP specified but not present in CLASSPATH (or one of dependencies)
16/03/16 08:13:14 WARN ObjectStore: Version information not found in metastore. hive.metastore.schema.verification is not enabled so recording the schema version 1.2.0
16/03/16 08:13:14 WARN ObjectStore: Failed to get database default, returning NoSuchObjectException
16/03/16 08:13:15 WARN : Your hostname, njog-MOBL1 resolves to a loopback/non-reachable address: 192.168.56.1, but we couldn't find any external IP address!
16/03/16 08:13:22 WARN General: Plugin (Bundle) "org.datanucleus.store.rdbms" is already registered. Ensure you dont have multiple JAR versions of the same plugin in the classpath. The URL "file:/c:/spark-1.6.1-bin-hado
p2.6/spark-1.6.1-bin-hadoop2.6/bin/../lib/datanucleus-rdbms-3.2.9.jar" is already registered, and you are trying to register an identical plugin located at URL "file:/C:/spark-1.6.1-bin-hadoop2.6/spark-1.6.1-bin-hadoop2
6/lib/datanucleus-rdbms-3.2.9.jar."
16/03/16 08:13:22 WARN General: Plugin (Bundle) "org.datanucleus.api.jdo" is already registered. Ensure you dont have multiple JAR versions of the same plugin in the classpath. The URL "file:/C:/spark-1.6.1-bin-hadoop2.
/spark-1.6.1-bin-hadoop2.6/lib/datanucleus-api-jdo-3.2.6.jar" is already registered, and you are trying to register an identical plugin located at URL "file:/c:/spark-1.6.1-bin-hadoop2.6/spark-1.6.1-bin-hadoop2.6/bin/..
lib/datanucleus-api-jdo-3.2.6.jar."
16/03/16 08:13:22 WARN General: Plugin (Bundle) "org.datanucleus" is already registered. Ensure you dont have multiple JAR versions of the same plugin in the classpath. The URL "file:/C:/spark-1.6.1-bin-hadoop2.6/spark-
.6.1-bin-hadoop2.6/lib/datanucleus-core-3.2.10.jar" is already registered, and you are trying to register an identical plugin located at URL "file:/c:/spark-1.6.1-bin-hadoop2.6/spark-1.6.1-bin-hadoop2.6/bin/../lib/datan
cleus-core-3.2.10.jar."
16/03/16 08:13:22 WARN Connection: BoneCP specified but not present in CLASSPATH (or one of dependencies)
16/03/16 08:13:22 WARN Connection: BoneCP specified but not present in CLASSPATH (or one of dependencies)
SQL context available as sqlContext.

0 个答案:

没有答案