Presentation is loading. Please wait.

Presentation is loading. Please wait.

© Hortonworks Inc. 2013 HDFS: Hadoop Distributed FS Steve Loughran, ATLAS workshop, June 2013.

Similar presentations


Presentation on theme: "© Hortonworks Inc. 2013 HDFS: Hadoop Distributed FS Steve Loughran, ATLAS workshop, June 2013."— Presentation transcript:

1 © Hortonworks Inc. 2013 HDFS: Hadoop Distributed FS Steve Loughran, Hortonworks stevel@hortonworks.com @steveloughran ATLAS workshop, June 2013

2 © Hortonworks Inc. What is a Filesystem? Persistent store of data: write, read, probe, delete Metadata for organisation: locate, change A conceptual model for humans API for programmatic access to data & metadata Page 2 Unix is the model & POSIX its API

3 © Hortonworks Inc. Unix is the model & POSIX its API directories and files: directories have children, files have data API: open, read, seek, write, stat, rename, unlink, flock Consistency: all sync()'d changes are globally visible Atomic metadata operations: mv, rm, mkdir Page 3 Features are also constraints

4 © Hortonworks Inc Relax constraints  scale and availability Page 4 Scale and availability Distance from Unix Filesystem model & API ext4 NFS +cross host locks, sync HDFS +data locality (seek+write) locks S3 +cross-site append metadata ops consistency

5 © Hortonworks Inc. HDFS: what Java code on Linux, Unix, Windows Open Source: hadoop.apache.org Replication rather than RAID –break file into blocks –store across servers and racks –delivers bandwith and more locations for work Background work handles failures –replication of under-replicated blocks –rebalancing of unbalanced servers –checksum verification of stored files Location data for the Job Scheduler Page 5

6 © Hortonworks Inc. HDFS: why? Store Petabytes of web data: logs, web snapshots Keep per-node costs down to afford more nodes Commodity x86 servers, storage (SAS), GbE LAN Accept failure as a background noise Support computation in each server Written for location aware applications -MapReduce, Pregel/Giraph & others that can tolerate partial failures Page 6

7 Some of largest filesystems ever An emergent software stack

8 © Hortonworks Inc. HDFS: what next? Exabytes in a single cluster Cross cluster, cross-site what constraints can be relaxed here? Data Provenance, tainting Evolving application needs. Power budgets Page 8

9 © Hortonworks Inc. HDD  HDD+ SSD  SSD New solid state storage technologies emerging When will HDDs go away? How to take advantage of mixed storage SSD retains the HDD metaphor, hides the details (access bus, wear levelling) We need to give the OS and DFS control of the storage, work with the application Page 9

10 © Hortonworks Inc Download and Play! http://hadoop.apache.org http://hortonworks.com Page 10

11 © Hortonworks Inc http://hortonworks.com/careers/ Page 11 P.S: we are hiring

12 © Hortonworks Inc. Page 12 DataNode ToR Switch DataNode ToR Switch Switch (Job Tracker) ToR Switch 2ary Name Node Name Node file block1 block2 block3 … file block1 block2 block3 … Hadoop HDFS: replication is the key

13 © Hortonworks Inc. Replication handles data integrity CRC32 checksum per 512 bytes Verified across datanodes on write Verified on all reads Background verification of all blocks (~weekly) Corrupt blocks re-replicated All replicas corrupt  operations team intervention 2009: Yahoo! lost 19 out of 329M blocks on 20K servers –bugs now fixed Page 13

14 © Hortonworks Inc. Page 14 DataNode ToR Switch DataNode ToR Switch Switch (Job Tracker) ToR Switch 2ary Name Node Name Node file block1 block2 block3 … file block1 block2 block3 … Rack/Switch failure


Download ppt "© Hortonworks Inc. 2013 HDFS: Hadoop Distributed FS Steve Loughran, ATLAS workshop, June 2013."

Similar presentations


Ads by Google