SDX and governance: one set of rules for every engine

How Cloudera's Shared Data Experience works on premises: Kerberos and Active Directory, Knox as the front door, Ranger policies with masking and row filtering, Atlas lineage and classifications, Data Catalog profilers, Cloudera Data Lineage, and how the Data Services inherit all of it.

Updated CompTech Team

A bank's data platform has one table of customer accounts and eight ways to read it. An analyst queries it through Impala, a data engineer joins it in Spark, a dashboard reads it through Trino, a NiFi flow copies part of it to a partner, a Kafka topic carries every change, a model in a notebook trains on it, and an auditor wants to know who touched it last Tuesday. If each of those engines has its own user list, its own permission model and its own log, the platform has eight security policies that drift apart, and the first regulator's visit finds the gaps.

Shared Data Experience (SDX) is Cloudera's name for the alternative: one identity, one authorisation service, one audit trail, one metadata store and one lineage graph, shared by every engine on a Cloudera Base on premises cluster and by every containerised Data Service that attaches to it. The engines change, the rules do not. This article explains what the SDX services are, how a single query passes through them, how classifications flow from Atlas into Ranger policies, what Data Catalog and Cloudera Data Lineage add on top, and what an architect at a bank, a regulator or a government data centre has to decide before the platform goes live.

What SDX is

SDX is not a product you install. It is the set of services that Cloudera Manager deploys on the Base cluster and that every other component is wired to by default. As of October 2026, on Cloudera Runtime 7.3.2, those services are:

Service Job Version in 7.3.2
Kerberos (MIT, Red Hat Identity Management or Active Directory) Proves who a user or service is before any connection is accepted Cloudera Manager's Kerberos wizard; Active Directory is the common choice on premises
LDAP or Active Directory Supplies users and groups to Ranger, Knox, Hue and the Data Services Usersync in Ranger 2.6 binds with SASL GSSAPI and follows LDAP referrals by default
Apache Knox A single gateway for web UIs and REST APIs, with SSO and the only port many organisations open from the office network Knox 2.1
Apache Ranger Decides what each user may do on each resource, masks columns, filters rows, writes the audit Ranger 2.6, upgraded from 2.4
Apache Atlas Records what data exists, how it is classified and where it came from Atlas 2.4 with a new React interface
Cloudera Data Catalog A search and profiling layer over Atlas and Ranger, delivered as a Data Service 1.5.5 with containerised profilers since SP2
Cloudera Data Lineage Cross-platform lineage beyond the cluster, the former Octopai product Trino federated-query lineage added in March 2026

Underneath them, TLS is turned on for every service by the Auto-TLS feature of Cloudera Manager, and the Ranger plugins embedded in each engine cache policies locally so that authorisation keeps working when the Ranger Admin service is briefly down.

SDX as the shared layer under every engine. Across the top sit the engines on Cloudera Base on premises: Hive, Impala, Spark, Kafka, HBase, NiFi and Ozone, with Trino beside them. To the right, in a dashed frame, the containerised Data Services on OpenShift or ECS: Data Warehouse, Data Engineering and Cloudera AI, with an orange arrow showing that the environment reads its policies from the Base cluster. Below the engines, mint arrows drop into a large framed band labelled Shared Data Experience holding six cards: Kerberos and Active Directory for identity, Knox as the gateway and SSO point, Ranger for policies, masking and audit, Atlas for metadata and lineage, Data Catalog for search and profilers, and Cloudera Data Lineage. A footer line reads one identity, one policy, one audit trail, one lineage graph.

The point of the diagram is the direction of the arrows. The engines do not each own their security; they call down into the shared layer, and the Data Services on the right reach across to the same layer rather than carrying their own copy.

Identity: Kerberos, Active Directory and Knox

Every Cloudera cluster that handles real data runs with Kerberos enabled. Cloudera Manager's wizard can integrate the cluster with MIT Kerberos, with Red Hat Identity Management (or upstream FreeIPA, after the hosts join the IPA domain) or with Microsoft Active Directory. On premises the usual answer is Active Directory, because the organisation already has one and because Cloudera Data Services on premises requires it: the Embedded Container Service and the OpenShift installation both state that Kerberos must be backed by Active Directory, and the Management Console's LDAP authentication supports Active Directory and OpenLDAP.

Kerberos answers "who is this?" for every connection, including the ones between services. A Hive query from a laptop carries a ticket, the HiveServer2 that receives it has its own keytab, and the Spark executors it launches run with delegation tokens derived from that ticket. Nothing on the cluster accepts an anonymous connection.

LDAP answers "which groups is this person in?". Ranger's Usersync pulls users and groups from Active Directory on a schedule, so policies are written against groups such as risk-analysts or card-ops rather than named individuals. When someone changes job, the Active Directory change is the only change.

Apache Knox is the front door. It terminates TLS, authenticates the user once against Active Directory or through SAML or OpenID Connect to a corporate identity provider, and proxies the web interfaces and REST APIs of Hive, Impala, Ranger, Atlas, Cloudera Data Explorer, NiFi and the rest behind a single hostname. The office network needs one firewall rule rather than forty, and the organisation's existing multi-factor login applies to the data platform without any component knowing about it. JDBC and ODBC clients from BI tools also connect through Knox, so the desktop never talks to a cluster node directly.

Authorisation: Apache Ranger

Ranger is where the rules live. A Ranger plugin is embedded in each engine, downloads the policies that apply to that engine and enforces them locally on every request, then ships an audit record. The Ranger Admin interface is where administrators write policies and read audits.

Ranger has two kinds of policy, and the difference is the heart of governance on Cloudera:

  • Resource-based policies name the thing: database cards, table transactions, columns pan and cvv; topic payments.events; bucket landing; HBase table sessions. They say which groups may select, insert, update, create or administer, and they can carry deny rules and exceptions.
  • Tag-based policies name a classification instead: anything tagged PII or PCI. The tag comes from Atlas. When a new table is created and classified, the policy already covers it, because the policy was never about the table.

Two features turn authorisation into something finer than "may read or may not":

  • Column masking returns a transformed value instead of the real one for users outside an allowed group: redacted, partially masked (the last four digits of a card number), hashed, nulled, or replaced by a custom expression. The query runs, the result is safe, and the analyst does not need a second copy of the data.
  • Row-level filtering appends a predicate the user cannot see. A branch manager's query on accounts silently becomes WHERE branch_code = '0421'. The same table serves every branch.

Which engines enforce it is the practical question. On Runtime 7.3.2 the plugins cover HDFS, Ozone, Hive, Impala, HBase, Kafka, Solr, NiFi and NiFi Registry, Knox, Atlas itself, Schema Registry and YARN. Spark, which historically bypassed Ranger when it read files directly, is covered by the Ranger Resource Mapping Service (RMS), which translates Hive table policies into the matching HDFS, Ozone and S3 path permissions; 7.3.2 extended RMS mappings to Ozone (cm_ozone) and S3 (cm_s3). Trino Virtual Warehouses in Cloudera Data Warehouse on premises authorise through Ranger as well, which is what makes the February 2026 "Trino with SDX" announcement meaningful: the same masking policy applies whether the query arrives through Impala or Trino.

For object storage, Ranger Authorization Service (RAZ) enforces Ranger policies on paths in S3-compatible stores. 7.3.2 added RAZ authorisation for S3-compatible object stores and for the Cloudera AI Inference service, so a model endpoint pulling its weights from a bucket is governed by the same policy engine as a query.

Audit

Every allow and every deny becomes an audit record. Ranger writes audits to Solr, the short-term store that the Ranger Admin interface searches, with a default time-to-live of 90 days, and to HDFS for long-term archival and compliance. HDFS retention is not automatic: the organisation decides how long to keep the files and how to archive them. A regulator asking "who read this customer's record in the last two years?" is answered from the HDFS archive, not from Solr. 7.3.2 also added spooling controls for both destinations and an IP-based access condition, so a policy can require that a privileged group only connects from a jump host.

Metadata and lineage: Apache Atlas

Atlas is the catalogue of what exists. Every database, table, column, topic, path, process and user that the engines report becomes an entity with a type, attributes and relationships. Atlas captures these through hooks: by default HiveServer2, Impala and Spark report every DDL and query, NiFi reports flows through a reporting task, and Ozone paths appear as entities whenever Hive, Spark or NiFi touches them. Kafka topics can be imported as entities. From those reports Atlas builds lineage: the chain from a landing file through a staging table, a Spark job, a curated Iceberg table and a Trino view to a dashboard. 7.3.2 SP1 made Impala lineage record the operation type, so an INSERT OVERWRITE is distinguishable from an INSERT in the graph.

Atlas also holds classifications (tags such as PII, PCI, CONFIDENTIAL, or ones the organisation defines such as NID for a national identity number) and a business glossary that maps technical names to the terms the business uses. Classifications propagate along lineage: tag the pan column at the source table and every derived column downstream inherits the tag unless someone explicitly stops the propagation.

That propagation is what connects Atlas to Ranger. Ranger's Tagsync service subscribes to Atlas classification events and keeps a copy of which resources carry which tags. A tag-based policy that says "mask every PCI column for everyone outside card-ops" therefore follows the data wherever a job copies it. The data engineer who builds a new reporting table does not have to ask for a policy; the policy was attached to the classification, and the classification arrived with the lineage.

One query's path through SDX, left to right. An analyst at a laptop sends a query through Knox, the gateway, which checks the Kerberos ticket against Active Directory, shown as an orange return arrow labelled identity. The query reaches the engine, Impala in this example, whose embedded Ranger plugin asks three questions in sequence: is this group allowed on this table, which columns are tagged PCI according to Atlas through Tagsync, and does a row filter apply. A side pipe from Atlas delivers the classifications. The engine returns a result set in which the card number column is masked to its last four digits and the rows are limited to the user's branch, shown as a mint arrow back to the analyst. A final orange arrow drops into an audit store, Solr for ninety days and HDFS for the archive. The footer reads the same policy applies whichever engine runs the query.

Walk through the diagram once with a real query. An analyst in the branch-analysts group opens a SQL editor through Knox and runs SELECT customer_id, pan, amount FROM cards.transactions. Knox has already authenticated them against Active Directory, and the Kerberos ticket travels with the query to Impala. Impala's Ranger plugin checks a resource policy (their group may select from cards.transactions), then a tag-based policy (the pan column is classified PCI in Atlas and their group is not in the allowed list, so the column is masked to its last four digits), then a row filter (their branch only). The result comes back masked and filtered, and Solr receives the audit record within seconds. If tomorrow the same query runs through Trino or a Spark session in Cloudera Data Engineering, every step repeats with the same policies, because none of them belonged to Impala.

The 7.3.2 release also rebuilt the Atlas interface in React, moved Atlas to Java 17, added header-based authentication so a trusted gateway can pass identity through, and offered PostgreSQL as an alternative to HBase for the metadata graph store. Two Technical Preview features matter for long-lived estates: automatic purging of obsolete process entities, and asynchronous replication of Atlas metadata between on-premises clusters, which is how lineage follows data to a disaster-recovery site.

Data Catalog and Cloudera Data Lineage

Atlas is thorough but technical. Cloudera Data Catalog, delivered as a Data Service on OpenShift or ECS, puts a search-first interface over it for data stewards and analysts, and adds profilers that run as Kubernetes jobs against the Base cluster's Hive and HDFS services. As of 1.5.5 SP2 and later the profilers are:

Profiler What it does
Data Compliance (the former Cluster Sensitivity Profiler) Scans column contents and names and proposes classifications such as PII, PCI and HIPAA, which a steward accepts into Atlas
Activity (the former Ranger Audit Profiler) Summarises Ranger audit logs so a steward can see which assets are hot, who uses them and whether access is being denied
Statistics Collector (the former Hive Column Profiler) Collects per-column minimum, maximum, mean, distinct and null counts and draws distributions

Profilers cover CSV, Parquet, ORC, Avro and, since 1.5.5 SP2, Iceberg tables. Earlier 1.5.5 releases cannot profile Iceberg at all, which is worth knowing if the lakehouse is the first workload. The Data Compliance profiler ships with preset patterns; an organisation in Bangladesh will add its own for the national identity number, mobile numbers, bank account formats and Bangla name fields, because the presets are written for other jurisdictions.

Cloudera Data Lineage is the product Cloudera acquired as Octopai and renamed. Where Atlas sees everything inside the cluster, Data Lineage parses the ETL tools, databases, BI platforms and, since March 2026, Trino federated queries around it, and draws column-level lineage from a core banking extract through the warehouse to the report a director reads. Cloudera's product page describes it as a SaaS-delivered service that connects to on-premises, cloud and hybrid sources, and Cloudera's 2026 training catalogue lists an on-premises course for it. We have not seen on-premises packaging in the Data Services release notes, so an organisation that cannot send metadata to a hosted service should confirm the delivery model with Cloudera before counting on it.

How the Data Services inherit SDX

The containerised services, Cloudera Data Warehouse, Data Engineering, Cloudera AI and the rest, run on OpenShift or on Cloudera's bundled Kubernetes distribution, not on the Base cluster. They still have no security model of their own. When the Management Console registers a Base cluster as an environment, it records that cluster's Ranger, Atlas, Hive Metastore, Kerberos and LDAP settings, and every Virtual Warehouse, Virtual Cluster or Workbench created in that environment uses them:

  • A Trino or Impala Virtual Warehouse authorises through the Base cluster's Ranger, and its queries appear in the same audit.
  • A Spark job in Data Engineering reads the same Hive Metastore and is authorised through the same RMS mappings on Ozone or HDFS paths.
  • A Cloudera AI Workbench session uses the same Kerberos principal to reach Hive, and the AI Inference service has its own Ranger service definition since 7.3.2.
  • Data Catalog reads metadata and policies from the Base cluster's Atlas and Ranger rather than keeping a copy.

One consequence is easy to miss during design: the Base cluster is the source of truth for governance, so it must be built, hardened and backed up before any Data Service exists, and its Ranger and Atlas must stay available for the Data Services to keep working. Another is that an environment maps to exactly one Base cluster, so an organisation that wants two governance domains, say production and a sandbox with synthetic data, runs two environments.

What this means for a bank or a regulator

Bangladeshi banks, financial regulators and government data centres share four requirements, and SDX answers each in a specific place:

  • Classification and masking. Card numbers, national identity numbers, phone numbers and balances are tagged once in Atlas, by the Data Compliance profiler or a steward, and masked everywhere by tag-based Ranger policies. The masked view is the default; the unmasked view is an exception granted to a named group.
  • Audit trails. Every access to every tagged column is in Solr for 90 days and in HDFS for as long as the organisation decides. A regulator can be given a read-only Ranger role to search the audit directly.
  • Data residency. The whole of SDX runs on premises, including in an air-gapped site, except Cloudera Data Lineage, whose delivery model you must confirm. Nothing about identity, authorisation or audit depends on a cloud service.
  • Separation of duties. The platform administrator (Cloudera Manager), the security administrator (Ranger Admin), the data steward (Atlas and Data Catalog) and the data owner (a delegated service administrator in Ranger since 7.3.2) are different roles. The person who runs the cluster cannot quietly grant themselves access to card data without an audit record.

What to decide

Decision The choice we recommend thinking through
Identity source Active Directory, with a dedicated organisational unit for platform service accounts, and a plan for how the Data Services' Kerberos requirement (Active Directory only) affects a site that runs MIT Kerberos today
Group model Policies against Active Directory groups that mirror business roles, never individuals. Decide who owns group membership, because that person now controls data access
Resource versus tag policies Resource policies for coarse access (which group may use which database), tag-based policies for everything sensitive, so that new tables inherit protection through lineage
Masking defaults Whether the default for a PCI or NID tag is partial masking, hashing or null, and which groups see raw values; test the choice against the reports people actually run
Audit retention The Solr TTL, how long the HDFS or Ozone archive is kept, who may read it, and whether a copy goes to the organisation's SIEM
Knox exposure Which interfaces are reachable only through Knox, which identity provider Knox trusts, and whether multi-factor authentication is enforced there
Lineage scope Whether Atlas lineage inside the cluster is enough, or whether column-level lineage across core banking, ETL and BI tools justifies Cloudera Data Lineage and its delivery model
Profiler coverage Custom Data Compliance patterns for local identifiers, the profiling schedule, and whether Iceberg tables need profiling (1.5.5 SP2 or later)

None of these decisions is technical in the narrow sense. They decide who in the organisation can see what, which is why the security team, the data owners and the compliance function should be in the room when the Ranger policies are first written, not after.

Further reading

In this series