# HDInsight

Azure HDInsight is a managed cluster service for running open-source big-data frameworks such as Apache Hadoop, Spark, Hive, Kafka, and HBase on Azure.

Cloud service · Azure. Updated 2026-11-25. Page: https://blowstack.com/tools/cloud-services-hub/hdinsight

> HDInsight provisions workload-specific clusters for distributed batch processing, interactive SQL, streaming infrastructure, and NoSQL workloads. It integrates these frameworks with Azure storage, networking, identity, and monitoring while leaving application tuning, data management, and cluster lifecycle planning to engineering teams.

## 8 key features of HDInsight

1. **Workload-specific open-source clusters**: Provision Hadoop, Spark, Kafka, HBase, or Interactive Query clusters with supported component combinations. Select the cluster type around the workload rather than assuming a single deployment provides every framework.
2. **Distributed Spark and Hadoop processing**: Run parallel transformations using Spark or Hadoop MapReduce. Spark uses YARN for resource management, so executor sizing and queue configuration affect application concurrency and utilization.
3. **Interactive Hive queries**: Interactive Query uses Hive LLAP to cache data and accelerate SQL workloads. Allocate capacity for concurrent queries and test performance against realistic table layouts and file formats.
4. **Kafka and HBase cluster options**: Use Kafka for durable event streams or HBase for large-scale row-key access. These stateful workloads require explicit replication, disk-capacity, and recovery planning.
5. **External durable storage**: Connect analytics workloads to Azure Data Lake Storage Gen2 or Blob Storage. External storage lets engineers retain datasets independently of compute-cluster replacement or deletion.
6. **Worker scaling and autoscale**: Adjust worker capacity for supported cluster types, with load-based or schedule-based autoscale where available. Minimum node requirements and workload-specific scaling behavior still apply.
7. **Cluster customization**: Use script actions to install compatible libraries, utilities, or configuration changes on selected node roles. Keep scripts repeatable and test them against replacement cluster images before production rollout.
8. **Monitoring and operational diagnostics**: Integrate with Azure Monitor Logs to collect supported cluster logs and metrics. Use supported Azure Monitor Agent configurations rather than retired monitoring integrations, and control log selection to manage ingestion costs.

## Where HDInsight is used

1. **Scheduled data-lake transformations**: Run Spark or Hive jobs that clean raw files, join reference data, and write partitioned analytical datasets. For intermittent batch workloads, automate cluster creation and deletion while retaining inputs and outputs in external storage.
2. **Hadoop application migration**: Move compatible MapReduce, Hive, or Spark applications from on-premises Hadoop environments to Azure. Validate component versions, filesystem paths, authentication, custom libraries, and performance instead of assuming unchanged behavior.
3. **SQL exploration over large datasets**: Use Hive or Interactive Query to examine data stored in a lake without first loading it into a separate database. Choose columnar formats and partitioning strategies that reduce data scanned by frequent queries.
4. **Event pipelines and stream processing**: Use Kafka clusters to receive application events and make them available to independent consumers. Spark streaming applications can process those events and write aggregates or enriched records to external storage, subject to connector and version compatibility.
5. **Large-scale keyed data access**: Use HBase for workloads that need frequent reads and writes by row key across large, sparse tables. Design row keys carefully to avoid concentrating traffic on a small number of regions.

## How HDInsight is priced

- **Provisioned cluster usage**: Cluster charges depend on the cluster type, region, node roles, selected VM sizes, and provisioned duration, including applicable HDInsight service charges. Provisioned nodes incur costs even when applications are idle; HDInsight is not priced solely by query count or data processed.
- **Storage and supporting services**: Budget separately for storage capacity and transactions, managed disks where applicable, network transfer, monitoring ingestion and retention, and supporting services such as Azure SQL Database. External resources can continue accruing charges after a cluster is deleted.

## Services HDInsight works with

A common batch architecture uses Azure Data Factory to land source data in Azure Data Lake Storage Gen2, execute an HDInsight Spark or Hive activity, and publish curated output for downstream consumers. Compute can be long-lived or provisioned for a processing window. Keep application code, input files, outputs, and any required external metadata outside disposable clusters, and make pipeline cleanup explicit.

Azure SQL Database can hold supported external metastores or Ambari metadata. This separates selected metadata from the cluster lifecycle, but replacement clusters still need compatible component versions, database schemas, storage permissions, and network connectivity. External metadata alone is not a complete backup or recovery strategy.

Azure Virtual Network provides the connectivity boundary for clusters and private dependencies. Coordinate subnet capacity, DNS, routing, and security rules with required service connectivity. Microsoft Entra ID and storage authorization should be designed separately from network access and management-plane permissions.

Azure Monitor Logs provides centralized operational visibility across these components. Correlate orchestration failures, cluster resource pressure, and framework logs, then tune collection and retention to the troubleshooting requirements. Use monitoring configurations supported by the selected cluster image rather than retired agents or preview experiences.

- **[Azure Data Lake Storage](https://blowstack.com/tools/cloud-services-hub/azure-data-lake-storage)**: Use Data Lake Storage Gen2 for durable input, output, and shared analytical datasets. For example, a Spark job can read raw application logs and write partitioned Parquet files to a curated filesystem. Configure the supported storage authentication method and grant the required data permissions, including filesystem ACLs when applicable.
- **[Azure Data Factory](https://blowstack.com/tools/cloud-services-hub/azure-data-factory)**: Data Factory can orchestrate supported HDInsight activities against an existing cluster or an on-demand cluster configuration. For example, a pipeline can copy daily source files, execute a Spark transformation, and trigger downstream loading after successful completion. Account for cluster provisioning time, retry behavior, and cleanup when using transient compute.
- **[Azure Monitor](https://blowstack.com/tools/cloud-services-hub/azure-monitor)**: Send supported cluster logs and metrics to a Log Analytics workspace using the supported monitoring configuration for the cluster image. For example, correlate YARN resource pressure with failed Spark applications and configure alerts for recurring capacity problems. Select relevant log tables and retention periods to avoid unnecessary ingestion and storage costs.
- **[Azure SQL Database](https://blowstack.com/tools/cloud-services-hub/azure-sql-database)**: Use an external Azure SQL Database for supported metadata scenarios, such as a Hive metastore or a custom Ambari database. For example, retaining a compatible external Hive metastore allows replacement clusters to reuse table definitions while files remain in the data lake. Validate schema compatibility, network access, and authentication before attaching a replacement cluster; managed-identity authentication can require feature enablement and cluster recreation.
- **[Azure Virtual Network](https://blowstack.com/tools/cloud-services-hub/azure-virtual-network)**: Deploy HDInsight into a virtual network to control connectivity between cluster nodes, private data sources, and connected networks. For example, a Spark application can access an internal database through a network connected by VPN or ExpressRoute. Preserve required HDInsight management and outbound connectivity when applying routes and network security rules.
- **[Azure Analysis Services](https://blowstack.com/tools/cloud-services-hub/azure-analysis-services)**: HDInsight can supply data to Azure Analysis Services tabular models through the HDInsight File System connector. A model can import files that a Hadoop job writes to the cluster's storage.
- **[Azure Blob Storage](https://blowstack.com/tools/cloud-services-hub/azure-blob-storage)**: HDInsight can use a Blob Storage container as its default Hadoop-compatible file system or attach it as secondary storage. Jobs read and write blobs directly, so their inputs and results can persist after the cluster is deleted.
- **[Azure Cosmos DB](https://blowstack.com/tools/cloud-services-hub/azure-cosmos-db)**: HDInsight Spark jobs can use the Azure Cosmos DB Spark connector to read and write items as Spark DataFrames. For example, a job can aggregate a batch of events and write the results to a Cosmos DB for NoSQL container.
- **[Azure Data Explorer](https://blowstack.com/tools/cloud-services-hub/azure-data-explorer)**: HDInsight Spark jobs can use the Azure Data Explorer Spark connector to query tables and ingest DataFrames. For example, a job can transform raw logs on HDInsight and ingest the resulting records into an Azure Data Explorer table.
- **[Azure Disk Storage](https://blowstack.com/tools/cloud-services-hub/azure-disk-storage)**: HDInsight uses Azure managed disks for storage attached to cluster nodes. On supported HBase clusters, Accelerated Writes places the write-ahead log on Premium SSD managed disks to reduce write latency.
- **[Azure ExpressRoute](https://blowstack.com/tools/cloud-services-hub/azure-expressroute)**: HDInsight clusters deployed in a virtual network can be reached from an on-premises network through ExpressRoute private peering. With routing and DNS configured, on-premises clients can use the cluster's private endpoints without connecting over the public internet.
- **[Azure Firewall](https://blowstack.com/tools/cloud-services-hub/azure-firewall)**: HDInsight cluster traffic can be routed through Azure Firewall to control outbound access. Firewall rules can allow the destinations HDInsight needs for cluster management while restricting other internet access.
- **[Azure IoT Hub](https://blowstack.com/tools/cloud-services-hub/azure-iot-hub)**: HDInsight Spark Streaming can consume device telemetry from the Event Hubs-compatible endpoint built into IoT Hub. A streaming job can aggregate sensor readings as devices send them.
- **[Azure Key Vault](https://blowstack.com/tools/cloud-services-hub/azure-key-vault)**: HDInsight can use a customer-managed key in Key Vault to encrypt the managed disks attached to cluster nodes. The cluster's managed identity is granted the key permissions needed for encryption.
- **[Azure Load Balancer](https://blowstack.com/tools/cloud-services-hub/azure-load-balancer)**: HDInsight uses Azure Load Balancer to distribute gateway connections across cluster nodes. A private cluster can use an internal load balancer to expose its gateway on a private IP address.
- **[Azure Machine Learning](https://blowstack.com/tools/cloud-services-hub/azure-machine-learning)**: The Azure Machine Learning SDK v1 supported attaching an existing HDInsight Spark cluster as a compute target. An Azure Machine Learning pipeline could then submit a Spark step to that cluster.
- **[Azure Marketplace](https://blowstack.com/tools/cloud-services-hub/azure-marketplace)**: HDInsight can install applications published in Azure Marketplace as HDInsight offers. An offer can deploy an application to a supported cluster and provision an edge node for it.
- **[Azure Policy](https://blowstack.com/tools/cloud-services-hub/azure-policy)**: HDInsight clusters can be evaluated against Azure Policy definitions written for HDInsight resources. For example, a built-in policy can audit whether clusters use customer-managed keys for encryption at rest.
- **[Azure portal](https://blowstack.com/tools/cloud-services-hub/azure-portal)**: HDInsight has a dedicated Azure portal experience for creating, configuring, and managing clusters. From a cluster's page, operators can resize it, run script actions, or open its Ambari dashboard.
- **[Azure Private Link](https://blowstack.com/tools/cloud-services-hub/azure-private-link)**: HDInsight supports Private Link so clients can connect to cluster endpoints through private IP addresses. This can provide access from another virtual network without exposing the cluster publicly or requiring virtual network peering.
- **[Azure Resource Manager](https://blowstack.com/tools/cloud-services-hub/azure-resource-manager)**: HDInsight clusters and cluster applications are Azure Resource Manager resource types. An ARM template can deploy a cluster with its compute profile, storage settings, and network configuration.
- **[Azure role-based access control (Azure RBAC)](https://blowstack.com/tools/cloud-services-hub/azure-role-based-access-control-(azure-rbac))**: HDInsight uses Azure RBAC to control management operations on cluster resources separately from permissions inside the cluster. The built-in HDInsight Cluster Operator role grants cluster read access and access to manage cluster configurations.
- **[Azure Synapse Analytics](https://blowstack.com/tools/cloud-services-hub/azure-synapse-analytics)**: Synapse pipelines can connect to HDInsight through a dedicated linked service and submit jobs through HDInsight activities. A pipeline can, for example, run a Hive script or a Spark job on a cluster.
- **[Azure VPN Gateway](https://blowstack.com/tools/cloud-services-hub/azure-vpn-gateway)**: HDInsight can be reached privately from an on-premises network through a site-to-site VPN to the cluster's virtual network. With DNS configured across the connection, on-premises clients can resolve and reach private cluster endpoints.
- **[Data Catalog](https://blowstack.com/tools/cloud-services-hub/data-catalog)**: Hive tables on HDInsight can be registered through Data Catalog's Hive data source support. Users can discover table and column metadata without copying the underlying data into the catalog.
- **[Event Hubs](https://blowstack.com/tools/cloud-services-hub/event-hubs)**: HDInsight Spark jobs can consume Event Hubs streams through the Spark connector or the Event Hubs Kafka-compatible endpoint. A Structured Streaming job can process incoming events and save the results to cluster storage.
- **[Linux Virtual Machines](https://blowstack.com/tools/cloud-services-hub/linux-virtual-machines)**: HDInsight provisions and manages Linux virtual machines as cluster nodes. Head, worker, and optional edge nodes run on Azure VM sizes selected for their roles.
- **[Microsoft Entra Domain Services](https://blowstack.com/tools/cloud-services-hub/microsoft-entra-domain-services)**: HDInsight Enterprise Security Package clusters can join a managed domain in Microsoft Entra Domain Services. Domain users can authenticate to cluster components with Kerberos, and an enabled HDInsight ID Broker node joins the same domain.
- **[Microsoft Entra ID (formerly Azure AD)](https://blowstack.com/tools/cloud-services-hub/microsoft-entra-id-(formerly-azure-ad))**: HDInsight Identity Broker lets eligible domain-joined clusters accept Microsoft Entra sign-ins and exchange OAuth tokens for Kerberos tickets. HDInsight can also use Microsoft Entra authorization for its Kafka REST proxy.
- **[Microsoft Fabric](https://blowstack.com/tools/cloud-services-hub/microsoft-fabric)**: HDInsight jobs can access Fabric OneLake through its Azure Data Lake Storage-compatible interface. A Spark job can read files from a Fabric lakehouse or write results back to it.
- **[Microsoft Purview](https://blowstack.com/tools/cloud-services-hub/microsoft-purview)**: Microsoft Purview can scan a supported Hive metastore used by HDInsight and catalog its databases, tables, and columns. This makes the table metadata discoverable without moving the cluster's underlying files.
- **[Power BI Embedded](https://blowstack.com/tools/cloud-services-hub/power-bi-embedded)**: HDInsight can provide data to embedded Power BI reports through Power BI's HDInsight connectors. For example, an embedded report can use DirectQuery against Hive on an HDInsight Interactive Query cluster.
- **[SQL Server on Azure Virtual Machines](https://blowstack.com/tools/cloud-services-hub/sql-server-on-azure-virtual-machines)**: HDInsight can run jobs submitted by SQL Server Integration Services packages hosted on SQL Server on Azure Virtual Machines. The SSIS Feature Pack for Azure includes a dedicated HDInsight connection manager and a task that submits Hive scripts to a cluster.
- **[Virtual Machines](https://blowstack.com/tools/cloud-services-hub/virtual-machines)**: HDInsight runs its head, worker, and optional edge nodes on Azure Virtual Machines that it provisions and manages as part of the cluster. The VM size selected for each node role determines its compute and memory capacity.

## Alternatives to HDInsight in other clouds

### AWS

**[Amazon EMR](https://blowstack.com/tools/cloud-services-hub/amazon-emr)**: Amazon EMR and Azure HDInsight run open-source frameworks such as Spark and Hadoop on managed clusters for large-scale data processing. EMR also offers serverless execution and can shut down transient clusters when a job flow finishes; HDInsight uses workload-specific clusters and recommends automating cluster creation and deletion for intermittent batch jobs.

| | HDInsight | Amazon EMR |
| --- | --- | --- |
| Deployment options | Provisioned Azure clusters | EC2, EKS, Outposts, or Serverless |
| Intermittent batch clusters | Scripted cluster creation and deletion | Transient clusters stop after job flow |

Compared Nov 2026.

**[Amazon Managed Streaming for Apache Kafka](https://blowstack.com/tools/cloud-services-hub/amazon-managed-streaming-for-apache-kafka)**: Amazon MSK and Azure HDInsight’s Apache Kafka cluster type both provide managed Kafka for real-time event streaming and publish-subscribe messaging. Amazon MSK offers provisioned and serverless deployments and replicates data automatically across Availability Zones; HDInsight uses provisioned Kafka clusters and leaves replication planning to the team.

| | HDInsight | Amazon Managed Streaming for Apache Kafka |
| --- | --- | --- |
| Deployment options | Provisioned clusters | Provisioned or serverless |
| Data replication | Team-planned replication | Automatic across Availability Zones |

Compared Nov 2026.

## What is HDInsight

Azure HDInsight provides managed clusters for open-source analytics workloads. Engineers select a cluster type, supported software version, region, node sizes, and networking configuration rather than assembling the underlying infrastructure manually. Cluster types include Apache Hadoop, Apache Spark, Apache HBase, Apache Kafka, and Interactive Query, which uses Hive with LLAP. These are workload-specific deployments; selecting one cluster type does not provision every framework as an independently managed service.

For batch analytics, a common architecture places durable datasets in Azure Data Lake Storage Gen2 or Azure Blob Storage and uses HDInsight as the compute layer. Spark, Hive, or MapReduce jobs read source files, transform records, and write curated outputs back to storage. Keeping data outside the cluster allows compute to be recreated without deleting those external datasets. Local files, temporary execution data, and service-specific state require separate consideration; do not assume that deleting a cluster preserves everything it contains.

Spark applications run with YARN resource management and distribute tasks across worker nodes. Hadoop supports MapReduce workloads, while Interactive Query provides Hive SQL execution with LLAP caching. Kafka clusters provide distributed event storage and publish-subscribe messaging, and HBase clusters provide row-oriented random access to large datasets. Stateful Kafka and HBase deployments need capacity, replication, recovery, and maintenance plans rather than the disposable-cluster pattern commonly used for batch processing.

Size clusters for both application demand and platform overhead. Head nodes and other required node roles consume resources even when no jobs are running. Supported cluster types offer worker-node scaling, and autoscale availability depends on the workload and configuration. Validate executor memory, partition sizes, shuffle behavior, storage throughput, and concurrency with representative jobs before selecting production capacity.

Deploy clusters into an appropriately designed Azure virtual network when private connectivity or access to internal systems is required. Plan subnet address capacity, DNS resolution, routing, network security groups, and required outbound dependencies before provisioning. Use TLS 1.2 or later for cluster connections. Configure storage permissions independently from cluster administration, and validate which authentication methods are supported by the selected cluster image and security configuration.

Use Azure Monitor and Log Analytics to investigate infrastructure pressure and application failures, alongside framework interfaces such as Ambari and Spark application views where available. Automate deployments and preserve configuration, scripts, and external metadata so clusters can be reproduced. Version upgrades can require replacement clusters and workload validation rather than an in-place component upgrade.

Lifecycle planning must distinguish HDInsight from retired variants and features. HDInsight on AKS retired on January 31, 2025, and HDInsight 5.0 retired on March 31, 2025. Enterprise Security Package support ends on July 31, 2026; affected deployments require migration planning. These retirements do not mean that the entire HDInsight service has retired.
