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 APRIL 17, 2023

Applies to:

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


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(
at org.apache.hadoop.conf.Configuration.writeXml(
at org.apache.hadoop.conf.Configuration.writeXml(
at org.apache.hadoop.conf.Configuration.writeXml(
at org.apache.hadoop.hive.conf.HiveConf.getConfVarInputStream(
at org.apache.hadoop.hive.conf.HiveConf.initialize(
at org.apache.hadoop.hive.conf.HiveConf.<init>(
at org.apache.hive.beeline.HiveSchemaTool.<init>(
Caused by: java.util.ServiceConfigurationError: javax.xml.parsers.DocumentBuilderFactory: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
at java.util.ServiceLoader.access$300(
at java.util.ServiceLoader$LazyIterator.nextService(
at java.util.ServiceLoader$
at java.util.ServiceLoader$
at javax.xml.parsers.FactoryFinder$
at Method)
at javax.xml.parsers.FactoryFinder.findServiceProvider(



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

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