You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2019/11/01 19:28:01 UTC
[jira] [Resolved] (SPARK-21697) NPE & ExceptionInInitializerError
trying to load UDF from HDFS
[ https://issues.apache.org/jira/browse/SPARK-21697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun resolved SPARK-21697.
-----------------------------------
Resolution: Duplicate
> NPE & ExceptionInInitializerError trying to load UDF from HDFS
> --------------------------------------------------------------
>
> Key: SPARK-21697
> URL: https://issues.apache.org/jira/browse/SPARK-21697
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 2.1.1
> Environment: Spark Client mode, Hadoop 2.6.0
> Reporter: Steve Loughran
> Priority: Minor
> Labels: bulk-closed
>
> Reported on [the PR|https://github.com/apache/spark/pull/17342#issuecomment-321438157] for SPARK-12868: trying to load a UDF of HDFS is triggering an {{ExceptionInInitializerError}}, caused by an NPE which should only happen if the commons-logging {{LOG}} log is null.
> Hypothesis: the commons logging scan for {{commons-logging.properties}} is happening in the classpath with the HDFS JAR; this is triggering a D/L of the JAR, which needs to force in commons-logging, and, as that's not inited yet, NPEs
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org