하둡 클러스터
하둡은 대용량 데이터 저장·처리를 관리하는 오픈소스 자바 프레임워크
구조와 동작 원리
구성 요소와 배치 원칙 (조사 기반 개념 설명 · 연결 순서나 토폴로지는 특정하지 않음)
핵심 구성요소는 HDFS, MapReduce, YARN
HDFS는 데이터를 노드 로컬 스토리지에 두고 각 노드가 로컬 데이터를 처리
대용량 분석 작업을 분산 저장·병렬 처리로 해결
기대 효과
전통 파일시스템보다 높은 처리량, 내결함성, 대규모 데이터셋 지원
트레이드오프
HDFS와 잡 제출의 고가용성을 기본 제공하지 않음
지연이 커 실시간 처리에는 덜 적합
운영 및 적용 가이드
종합 설명 · 원문 인용으로 검증된 항목과 구분됩니다. 실제 적용 전 확인이 필요합니다.
언제 사용하는가
대규모 배치 분석과 로그 집계, 전체 데이터 스캔 기반 PageRank·조인 등에 적합하다.
시나리오
온프레미스에 2,500대 규모 하둡 클러스터를 운영하는 광고·데이터 플랫폼 기업이 수십 PB 원천 로그를 HDFS에 저장하고 MapReduce로 일 배치 ETL과 로그 이상 탐지를 수행한다. 야간 배치 완료 시간과 장애 시 재처리 가능성이 핵심 요구사항이며, 소량 랜덤 조회보다 대용량 순차 스캔에 최적화한다. 클라우드 전환 시에는 스토리지와 컴퓨트를 분리하고 필요 시 탄력 확장한다.
배치 원칙
- NameNode·ResourceManager는 마스터 노드에, DataNode·NodeManager는 워커 노드에 분리 배치
- HDFS 블록은 DataNode 로컬 디스크에 두고 데이터 지역성 우선
- 소파일 대량 생성 회피 및 파일·블록 크기와 복제계수 설계
- Kubernetes에서는 컴포넌트별 Service로 안정 DNS 제공
- 클라우드에서는 스토리지와 컴퓨트 분리 배치 고려
온프레미스
정적 베어메탈·VM 클러스터에 HDFS·YARN을 배치하고 Ambari·Puppet 등으로 구성·패치·배포를 자동화한다. 마스터 이중화와 NameNode 메타데이터 백업, 디스크·네트워크 포화 모니터링, 작업 큐와 리소스 격리로 자원 경쟁을 관리한다.
클라우드
관리형 하둡·Spark 또는 오브젝트 스토리지 기반으로 컴퓨트·스토리지를 분리한다. 온디맨드 확장과 탄력 회수, 스토리지 계층화, 작업별 임시 클러스터와 이미지 표준화로 운영 부담을 줄인다.
Kubernetes
각 하둡 역할을 컨테이너·스테이트풀셋으로 배치하고 컴포넌트 간 안정 DNS를 Service로 제공한다. 로컬 디스크·PV와 네트워크 대역폭, 마스터 재시작·DNS 변경에 주의하고 MapReduce는 Spark on Kubernetes 등 네이티브 지원 엔진으로 대체 검토한다.
장애 대응
대표 장애는 NameNode 메타데이터 손상·디스크 고장, DataNode·NodeManager 다운, 작업 실패·자원 경쟁, 소파일 폭증이다. 영향 범위 확인 후 로그·메트릭으로 마스터·워커·스토리지·잡 실패 지점을 분리하고, Recovery mode·백업·복제본으로 메타데이터를 복구한다. 문제 노드를 격리·재시작하고 잡을 재실행한 뒤 모니터링·용량·구성 표준을 재점검한다.
14개 관점별 근거
조사 당시 근거 보유 여부입니다. 출처의 정확성과 최신성을 별도로 판단하세요.
정의·개요근거 있음
하둡은 대용량 데이터 저장·처리를 관리하는 오픈소스 자바 프레임워크
Hadoop is an open source framework based on Java that manages the storage and processing of large amounts of data for applications.해결하는 문제근거 있음
대용량 분석 작업을 분산 저장·병렬 처리로 해결
Hadoop uses distributed storage and parallel processing to handle big data and analytics jobs주요 구성 컴포넌트·리소스근거 있음
핵심 구성요소는 HDFS, MapReduce, YARN
HDFS is built on an open source framework and is one of the major components of Apache Hadoop, the others being MapReduce and YARN.데이터·에셋 배치 원칙근거 있음
HDFS는 데이터를 노드 로컬 스토리지에 두고 각 노드가 로컬 데이터를 처리
HDFS is a distributed file system in which individual Hadoop nodes operate on data that resides in their local storage.대표 유스케이스근거 있음
단어 빈도 집계, 로그 필터링, 대규모 조인 등에 적합
This model is highly effective for tasks like counting word frequencies, filtering logs, or joining datasets at scale.시나리오 예시근거 있음
LiveRamp은 온프레미스 하둡 클러스터에 영구 데이터를 저장하고 파이프라인 잡을 실행
a single on-prem production managed Hadoop cluster that was used to store all of LiveRamp’s persistent data (HDFS)부적합 상황·주의근거 있음
지연이 커 실시간 처리에는 덜 적합
The model is latency-heavy, so it's less ideal for real-time processing온프레미스 관점(개발·배포·운영)근거 있음
온프레미스는 정적 베어메탈 호스트에서 운영하고 구성관리·배포 도구를 사용
For many years Salesforce has been running HBase on a static set of bare metal hosts in our data centers.클라우드 관점(개발·배포·운영)근거 있음
퍼블릭 클라우드에서는 온디맨드 확장성을 활용해 클러스터 배포
we have started deploying our clusters on Public Cloud infrastructure to take advantage of the on-demand scalability available there.Kubernetes 관점(개발·배포·운영)근거 있음
Kubernetes에서는 각 하둡 노드를 OCI 컨테이너로 실행 가능
Each node in the Hadoop cluster runs as an OCI container within the Kubernetes cluster.장애 대응 관점근거 있음
NameNode 메타데이터 손상 시 Recovery mode로 복구 가능
there is a special NameNode startup mode called Recovery mode that may allow you to recover most of your data.장점근거 있음
전통 파일시스템보다 높은 처리량, 내결함성, 대규모 데이터셋 지원
HDFS provides better data throughput than traditional file systems, in addition to high fault tolerance and native support of large datasets.단점·트레이드오프근거 있음
HDFS와 잡 제출의 고가용성을 기본 제공하지 않음
Hadoop Core does not provide high availability for HDFS or for job submission추가 참고 문헌 (24)
- What is Hadoop and What is it Used For? | Google Cloud ↗
- What is Hadoop? - Apache Hadoop Explained - AWS ↗
- Hadoop architecture and ecosystem ↗
- Understanding Hadoop Architecture: Core Components Explained ↗
- What is Apache Hadoop and MapReduce - Azure HDInsight | Microsoft Learn ↗
- Hadoop: What you need to know – O’Reilly ↗
- MapReduce Architecture: Everything You Need to Know ↗
- What is Hadoop Distributed File System (HDFS)? | IBM ↗
- Hadoop/HBase on Kubernetes and Public Cloud (Part I) - Salesforce Engineering Blog ↗
- Deploy Hadoop cluster (Data Lake stack) | SloopStash Kubernetes kit documentation ↗
- Running MapReduce workload with HDFS running outside of a Docker container | IBM Spectrum Symphony 7.3.1 | IBM Documentation ↗
- Kubecon2020-Lesson-Learned-on-Running-Hadoop-on-Kubernetes - Compatibility Mode ↗
- Best practices for migrating Hadoop to GCP Dataproc | Google Cloud Blog ↗
- Hadoop to Kubernetes Migration: Platform Team Playbook ↗
- An On-Demand Cloud-Native Containerized Storage Design and its Practice of HDFS-on-Kubernetes ↗
- Generic Reference Architecture for Cloudera Enterprise Running in a Private Cloud | 5.15.x | Cloudera Documentation ↗
- Apache Hadoop 3.5.0 – HDFS Users Guide ↗
- Apache Hadoop 3.5.0 – MapReduce Tutorial ↗
- Analysis and implementation of reactive fault tolerance techniques in Hadoop: a comparative study | The Journal of Supercomputing ↗
- Simple Testing Can Prevent Most Critical Failures ↗
- Tuning Your MapReduce Jobs ↗
- 9. Troubleshooting - Hadoop Operations [Book] ↗
- How Hadoop Clusters Break ↗
- Analysis of Hadoop’s Performance under Failures ↗