CDS 3.5 Powered by Apache Spark Requirements
The following sections describe software requirements for CDS 3.5 Powered by Apache Spark.
CDP Versions
Supported versions of CDP are described below.
| CDS Powered by Apache Spark Version | Supported CDP Versions |
|---|---|
| 3.5.4.3.5.7191000.0-30 | CDP Private Cloud Base with Cloudera Runtime 7.1.9 |
A Spark 2 service (included in CDP) can co-exist on the same cluster as Spark 3 (installed as a separate parcel). The two services are configured to not conflict, and both run on the same YARN service. Spark 3 installs and uses its own external shuffle service.
Although Spark 2 and Spark 3 can coexist in the same CDP Private Cloud Base cluster, you cannot use multiple Spark 3 versions simultaneously. All clusters managed by the same Cloudera Manager Server must use exactly the same version of CDS Powered by Apache Spark.
Compatibility of Oozie Spark 3 actions with Cloudera Runtime versions
Oozie Spark 3 actions load libraries from both the CDP cluster and the CDS parcel. Cloudera
Runtime 7.1.9 SP1 CHF11 updated the Apache Parquet parquet-column library. If
only one of the two includes this update, for example when your cluster runs 7.1.9 SP1 CHF11 or
later but the CDS parcel was built on 7.1.9 SP1 CHF10 or earlier, an Oozie Spark 3 action that
writes to a Hive table in Parquet format can fail intermittently with the following
error:
java.lang.NoSuchMethodError: 'org.apache.parquet.column.ParquetProperties$Builder org.apache.parquet.column.ParquetProperties$Builder.withStatisticsTruncateLength(int)'
Whether the error occurs depends on the order in which the classes are loaded. Spark 3 jobs
that you submit directly with spark3-submit are not affected.
To avoid the error, use a CDS parcel that is compatible with the Cloudera Runtime version of your cluster:
| Cloudera Runtime version of the cluster | Compatible CDS parcels |
|---|---|
| 7.1.9 SP1 CHF10 and earlier | CDS 3.3 CHF16 for 7.1.9 and earlier, or the initial CDS 3.5 release for 7.1.9 |
| 7.1.9 SP1 CHF11 and later | CDS 3.3 CHF17 for 7.1.9 and later, or CDS 3.5 CHF1 for 7.1.9 and later |
| 7.1.9 SP2, including any cumulative hotfix | CDS 3.3 or CDS 3.5 parcels built for 7.1.9 SP2 |
The release notes of each CDS cumulative hotfix list the Cloudera Runtime version that the hotfix was built on. For other compatibility requirements of Oozie Spark 3 actions on Cloudera Runtime 7.1.9 SP2, see Compatibility between Cloudera Runtime and CDS in the Oozie documentation.
Software requirements
Each cluster host must have the following software installed:
- Java
- JDK 8, JDK 11 or JDK 17. Cloudera recommends using JDK 8, as most testing has been done
with JDK 8. Remove other JDK versions from all cluster and gateway hosts to ensure proper
operation.
On Kerberos-secured clusters running JDK 17, Spark 3.5 jobs can fail at submission unless you configure JVM module access for Kerberos. Spark 3 cluster-mode submissions can also fail on JDK 17 when JNDI/LDAP modules are not exported. For workarounds, see Known Issues in Apache Spark (INSIGHT-10232 and INSIGHT-8865).
- Python
- Python 3.8 - 3.11
Hardware requirements
CDS 3.5 Powered by Apache Spark has no specific hardware requirements on top of what is required for Cloudera Runtime deployments.
