Softwr

Databases · head to head

Apache Hadoop vs BigQuery

Apache Hadoop logo

Apache Hadoop

Databases

The original open source framework for distributed storage and batch processing on commodity servers, now largely a legacy platform.

From
Free
Free plan
Yes
BigQuery logo

BigQuery

Databases

Google Cloud's serverless analytical warehouse, billed either by bytes scanned per query or by reserved compute slots.

From
Free
Free plan
Yes

The short version

  • Apache Hadoop is free; BigQuery starts at $6.25/mo.
  • Only Apache Hadoop lists HDFS federation and high availability; only BigQuery lists serverless compute.

How do Apache Hadoop and BigQuery differ?

Apache Hadoop and BigQuery differ on pricing model (Open-source against Usage-based), platforms (Web against Web, API) and year founded (2006 against 2008). Only the attributes on which Apache Hadoop and BigQuery actually diverge.

Attributes where Apache Hadoop and BigQuery differ
AttributeApache HadoopBigQuery
Pricing modelOpen-sourceUsage-based
PlatformsWebWeb, API
Founded20062008

Identical on both: starting price (Free), free tier (Yes), category (Databases).

Which features does each one have?

They share no listed features; 8 appear only for Apache Hadoop and 10 only for BigQuery. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Apache Hadoop

  • HDFS
  • YARN
  • MapReduce
  • HDFS federation and high availability
  • Kerberos security
  • Rack awareness
  • S3A and object store connectors
  • Ecosystem compatibility

Only in BigQuery

  • Serverless compute
  • Separation of storage and compute
  • Two pricing models
  • Partitioning and clustering
  • Materialised views
  • BigQuery ML
  • Storage Write API
  • BI Engine

What is each one used for?

The jobs each tool is most often brought in to do.

Apache Hadoop

  • Operating an existing multi-petabyte on-premises estate where data residency or egress costs rule out moving to cloud object storagenot BigQuery
  • Running Spark or Flink under YARN on hardware you already own, using HDFS as the storage layernot BigQuery
  • Keeping long-lived regulated archives on infrastructure entirely within your own data centres and legal jurisdictionnot BigQuery
  • Maintaining legacy Hive and MapReduce workloads during a staged migration to a lakehouse or cloud platformnot BigQuery

BigQuery

  • A warehouse for an organisation already on Google Cloud, where identity, logging and billing are consolidated in the same placenot Apache Hadoop
  • Bursty analytical workloads with long idle periods, where paying per query beats keeping a cluster runningnot Apache Hadoop
  • Event and clickstream analytics ingested continuously through the Storage Write API and queried without a load windownot Apache Hadoop
  • Analytics teams with no infrastructure staff, where the absence of anything to tune or patch is worth more than dialect portabilitynot Apache Hadoop

Where do Apache Hadoop and BigQuery fall short?

Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Apache Hadoop

  • The free vendor distributions no longer exist: Cloudera's CDH and Hortonworks' HDP have reached end of support and the successor CDP is subscription-only, so running Hadoop without paying now means assembling, testing and security-patching Apache releases yourself
  • HDFS couples storage to compute, so adding capacity means buying whole nodes with CPU and memory you may not need, and the entire industry moved to object storage precisely because it lets the two be bought separately
  • The NameNode holds all filesystem metadata in memory, so a cluster with tens of millions of small files exhausts heap long before it exhausts disk, and the remedy is a file compaction job that somebody has to write, schedule and own indefinitely
  • Operating it is a distinct specialism covering Kerberos, YARN queue tuning, JVM garbage collection and the compatibility matrix between Hive, HBase, Ranger, Oozie and the core, and an upgrade touches all of them at once rather than one at a time
  • MapReduce is maintained for compatibility rather than actively developed, and new work goes to Spark or Flink, so a job written against MapReduce today is written against an API that will not gain anything further
  • Hiring is against you: the talent pool has moved to cloud data platforms over the past decade, so a Hadoop estate increasingly depends on a small number of individuals, which makes it a succession risk before it is a technical one

BigQuery

  • On-demand billing charges for bytes read from every column a query references, so an unqualified select or a missing partition filter turns a routine query into a large bill, and the cost is discovered after the fact rather than at review time
  • There is no way to join tables that live in different regions, so a data estate split across regions for residency reasons has to be reconciled with copies and the storage and transfer that implies
  • It is not built for point lookups; retrieving a single row has latency measured in hundreds of milliseconds or more, so BigQuery cannot serve an application's read path and always needs a second store in front of it
  • Frequent small mutations run into DML concurrency limits and the cost of rewriting storage blocks, so a workload that updates individual rows continuously behaves badly compared with an append-only design
  • The compute exists only inside Google Cloud, so while tables can be exported, the accumulated GoogleSQL, scheduled queries, authorised views, ML models and IAM structure do not move, and switching warehouses is a rewrite of the analytical layer

How much do Apache Hadoop and BigQuery cost?

Apache Hadoop is free to use; BigQuery has a free plan, with paid plans from $6.25/mo. Plan by plan below, from each vendor's own pricing page.

Apache Hadoop

Free
  • Open source (self-hosted)Free

BigQuery

Free
  • Free TierFree
    • 1TB queries/month
    • 10GB storage/month
    • Standard support
  • On-demand$6.25/tb
    • Pay per query
    • Pay per storage
    • All features

Which should you pick?

Choose Apache Hadoop if

  • You need hdfs.
  • You want to start without paying.
  • You also want yarn.

Choose BigQuery if

  • You need serverless compute.
  • You want to start without paying.
  • You work on Web, API.
  • You also want separation of storage and compute.

Questions people ask

Is Apache Hadoop or BigQuery better?
It depends on the job. Apache Hadoop fits operating an existing multi-petabyte on-premises estate where data residency or egress costs rule out moving to cloud object storage; BigQuery fits a warehouse for an organisation already on Google Cloud, where identity, logging and billing are consolidated in the same place. Apache Hadoop starts at Free and BigQuery at Free.
Which is cheaper, Apache Hadoop or BigQuery?
Apache Hadoop starts at Free and BigQuery at Free.
Does Apache Hadoop or BigQuery run on more platforms?
Apache Hadoop runs on Web. BigQuery runs on Web, API.
Can I use Apache Hadoop for free?
Both have a free tier, so you can try either at no cost before committing.
What is Apache Hadoop best used for?
Apache Hadoop is most often used for operating an existing multi-petabyte on-premises estate where data residency or egress costs rule out moving to cloud object storage, running spark or flink under yarn on hardware you already own, using hdfs as the storage layer, keeping long-lived regulated archives on infrastructure entirely within your own data centres and legal jurisdiction, maintaining legacy hive and mapreduce workloads during a staged migration to a lakehouse or cloud platform. Of those, operating an existing multi-petabyte on-premises estate where data residency or egress costs rule out moving to cloud object storage and running spark or flink under yarn on hardware you already own, using hdfs as the storage layer are not what BigQuery is typically brought in for.
What can Apache Hadoop do that BigQuery cannot?
Apache Hadoop covers HDFS, YARN, MapReduce, HDFS federation and high availability. BigQuery covers Serverless compute, Separation of storage and compute, Two pricing models, Partitioning and clustering.

Answered from the vendors’ own pages

Apache Hadoop: Is Hadoop dead?

No, but it is legacy. Large on-premises HDFS estates still run and are still supported, and Spark and Flink still run on YARN. What has ended is Hadoop as a default choice for new platforms, which now start on object storage.

BigQuery: How is BigQuery actually billed?

Storage is billed separately from compute. Compute is either on-demand, priced by the bytes a query reads from the referenced columns, or capacity-based, where you reserve autoscaling slots. Most cost surprises come from on-demand queries that scan more than expected.

Apache Hadoop: Can I still get a free packaged distribution?

Not a maintained one. CDH and HDP reached end of support and Cloudera's CDP is a paid subscription. The remaining free route is building and patching Apache releases yourself, which is a real engineering commitment.

BigQuery: How do I control query cost?

Partition and cluster tables so queries prune data, select only the columns needed, use materialised views for repeated aggregations, and set maximum bytes billed on queries so a runaway scan fails instead of billing.

Apache Hadoop: Do I need Hadoop to run Spark?

No. Spark runs standalone, on Kubernetes and on managed cloud services, and reads object storage directly. Many Spark deployments include Hadoop client libraries for the filesystem connectors without running a Hadoop cluster at all.

BigQuery: Can I use it without being on Google Cloud?

The service only runs on Google Cloud. BigQuery Omni can query data held in S3 or Azure storage, but the compute is still Google's and the account relationship is still with Google.

Apache Hadoop: What replaced HDFS?

Object storage, typically S3 or a compatible system, combined with an open table format such as Apache Iceberg or Delta Lake. Apache Ozone exists as an object store within the Hadoop ecosystem for organisations staying on-premises.

BigQuery: Is it suitable for serving application queries?

No. Latency for single-row reads is far too high. BigQuery is an analytical warehouse and application read paths need a transactional database or a cache in front of it.

Apache Hadoop: Is it cheaper than the cloud?

It can be at multi-petabyte scale with steady, predictable utilisation, particularly where egress charges would be large. Include the staffing cost honestly, because the specialist operators a Hadoop cluster requires are scarce and therefore expensive.

BigQuery: When should I move from on-demand to capacity pricing?

When on-demand spend becomes both large and predictable, or when unpredictable spend is a bigger problem than query queueing. The switch trades a variable bill for a fixed one plus contention between workloads.

Share

Related pages

Other head to heads