windows - Hvad er 'allerede registreret' WARN-meddelelser, når du starter gnistskal?

Indlæg af Hanne Mølgaard Plasc

Problem



Jeg har installeret gnist/hadoop under vinduer. Når jeg udfører gnistskal, får jeg disse 'allerede registrerede' advarsler.


Jeg er ikke sikker på, om det er noget, jeg skal bekymre mig om


C:UsersAdministratorspark-2.2.0-bin-hadoop2.7in>spark-shell
Using Spark's default log4j profile: org/apache/spark/log4j defaults.properties
Setting default log level to "WARN".
To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel).
17/09/24 14:29:15 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:/Users/Administrator/spark-2.2.0-bin-hadoop2.7/bin/../jars/datanucleus-rdbms-3.2.9.jar" is already registered, and you are trying to registe
r an identical plugin located at URL "file:/C:/Users/Administrator/spark-2.2.0-bin-hadoop2.7/jars/datanucleus-rdbms-3.2.9.jar."
17/09/24 14:29:15 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:/Users/Administrator/spark-2.2.0-bin-hadoop2.7/jars/datanucleus-core-3.2.10.jar" is already registered, and you are trying to register an identical plug
in located at URL "file:/C:/Users/Administrator/spark-2.2.0-bin-hadoop2.7/bin/../jars/datanucleus-core-3.2.10.jar."
17/09/24 14:29:15 WARN General: Plugin (Bundle) "org.datanucleus.api.jdo" is already registered. Ensure you dont have multiple JAR versions of the same plugin in the cla
sspath. The URL "file:/C:/Users/Administrator/spark-2.2.0-bin-hadoop2.7/jars/datanucleus-api-jdo-3.2.6.jar" is already registered, and you are trying to register an iden
tical plugin located at URL "file:/C:/Users/Administrator/spark-2.2.0-bin-hadoop2.7/bin/../jars/datanucleus-api-jdo-3.2.6.jar."
17/09/24 14:29:19 WARN ObjectStore: Failed to get database global\_temp, returning NoSuchObjectException
Spark context Web UI available at http://173.198.192.78:4040
Spark context available as 'sc' (master = local[*], app id = local-1506277753081).
Spark session available as 'spark'.
Welcome to
      \_\_\_\_              \_\_
     / \_\_/\_\_  \_\_\_ \_\_\_\_\_/ /\_\_
    \_ / \_ / \_ `/ \_\_/  '\_/
   /\_\_\_/ .\_\_/\_,\_/\_/ /\_/\_   version 2.2.0
      /\_/

Using Scala version 2.11.8 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0\_144)
Type in expressions to have them evaluated.
Type :help for more information.

scala>

Bedste reference


Det er en advarsel for at sikre, at der ikke er flere krukker i samme klassebane. 'allerede registreret' betyder, at krukkerne i klassepaden er registreret, og applikationen forsøger at registrere. Dette er intet at bekymre sig om, og hvis du ikke ønsker at se dette indstillede logniveau til ERROR.