Cloud service · Azure · Updated

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.

In short

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.

Cloud Services Hub →

8 key features of HDInsight

01
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.

02
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.

03
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.

04
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.

05
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.

06
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.

07
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.

08
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. 01
    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. 02
    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. 03
    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. 04
    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. 05
    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

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

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

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

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

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

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

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

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

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

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.

Alternatives to HDInsight in other clouds

AWS

Amazon EMRAmazon 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.

Compare fact by fact
HDInsightAmazon EMR
Deployment optionsProvisioned Azure clustersEC2, EKS, Outposts, or Serverless
Intermittent batch clustersScripted cluster creation and deletionTransient clusters stop after job flow
Compared Nov 2026
Amazon Managed Streaming for Apache KafkaAmazon 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.

Compare fact by fact
HDInsightAmazon Managed Streaming for Apache Kafka
Deployment optionsProvisioned clustersProvisioned or serverless
Data replicationTeam-planned replicationAutomatic across Availability Zones

What is HDInsight

2 min read

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.

Azure architecture icons are the property of Microsoft. BlowStack is not affiliated with or endorsed by Microsoft.

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.