[ 
https://issues.apache.org/jira/browse/SPARK-21626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16114035#comment-16114035
 ] 

Sean Owen commented on SPARK-21626:
-----------------------------------

This has nothing to do with Spark itself.

> The short-circuit local reads feature cannot be used because libhadoop cannot 
> be loaded.
> ----------------------------------------------------------------------------------------
>
>                 Key: SPARK-21626
>                 URL: https://issues.apache.org/jira/browse/SPARK-21626
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Shell
>    Affects Versions: 2.2.0
>            Reporter: Gu Chao
>
> After starting spark-shell, It outputs:
> {code:none}
> Setting default log level to "WARN".
> To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use 
> setLogLevel(newLevel).
> 17/08/04 11:24:41 WARN NativeCodeLoader: Unable to load native-hadoop library 
> for your platform... using builtin-java classes where applicable
> 17/08/04 11:24:44 WARN DomainSocketFactory: The short-circuit local reads 
> feature cannot be used because libhadoop cannot be loaded.
> 17/08/04 11:24:48 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:/opt/spark/jars/datanucleus-core-3.2.10.jar" is 
> already registered, and you are trying to register an identical plugin 
> located at URL 
> "file:/opt/spark-2.2.0-bin-hadoop2.6/jars/datanucleus-core-3.2.10.jar."
> 17/08/04 11:24:48 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:/opt/spark/jars/datanucleus-api-jdo-3.2.6.jar" is already registered, 
> and you are trying to register an identical plugin located at URL 
> "file:/opt/spark-2.2.0-bin-hadoop2.6/jars/datanucleus-api-jdo-3.2.6.jar."
> 17/08/04 11:24:48 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:/opt/spark/jars/datanucleus-rdbms-3.2.9.jar" is already registered, and 
> you are trying to register an identical plugin located at URL 
> "file:/opt/spark-2.2.0-bin-hadoop2.6/jars/datanucleus-rdbms-3.2.9.jar."
> 17/08/04 11:24:51 WARN ObjectStore: Failed to get database global_temp, 
> returning NoSuchObjectException
> Spark context Web UI available at http://192.168.50.11:4040
> Spark context available as 'sc' (master = spark://hadoop:7077, app id = 
> app-20170804112442-0001).
> Spark session available as 'spark'.
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to