My Oracle Support Banner

BDA Upgrade Fails in Step 5, Upgrading Services and Metadata, While Upgrading the Hive Metastore Schema with "DocumentBuilderFactoryImpl not found" (Doc ID 2815703.1)

Last updated on JULY 20, 2024

Applies to:

Big Data Appliance Integrated Software - Version 4.10.0 and later
Linux x86-64

Symptoms

BDA upgrade fails in Step 5, Upgrading Services and Metadata, when upgrading the Hive Metastore schema with "DocumentBuilderFactoryImpl not found"

From Cloudera Manager (CM) > All Recent Commands, "Upgrade Hive Metastore Database Schema", fails with: "javax.xml.parsers.DocumentBuilderFactory: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found".

The stack looks like:

at org.apache.hadoop.conf.Configuration.asXmlDocument(Configuration.java:3299)
at org.apache.hadoop.conf.Configuration.writeXml(Configuration.java:3274)
at org.apache.hadoop.conf.Configuration.writeXml(Configuration.java:3245)
at org.apache.hadoop.conf.Configuration.writeXml(Configuration.java:3241)
at org.apache.hadoop.hive.conf.HiveConf.getConfVarInputStream(HiveConf.java:3624)
at org.apache.hadoop.hive.conf.HiveConf.initialize(HiveConf.java:4067)
at org.apache.hadoop.hive.conf.HiveConf.<init>(HiveConf.java:4024)
at org.apache.hive.beeline.HiveSchemaTool.<init>(HiveSchemaTool.java:86)
...
Caused by: java.util.ServiceConfigurationError: javax.xml.parsers.DocumentBuilderFactory: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
at java.util.ServiceLoader.fail(ServiceLoader.java:239)
at java.util.ServiceLoader.access$300(ServiceLoader.java:185)
at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:372)
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
at javax.xml.parsers.FactoryFinder$1.run(FactoryFinder.java:294)
at java.security.AccessController.doPrivileged(Native Method)
at javax.xml.parsers.FactoryFinder.findServiceProvider(FactoryFinder.java:289)

...

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.