How hadoop works (Cách MapReduce hoạt động trong Hadoop) (Tiếng Anh)

UN
Uni24h
0 lượt tải
26
0

Nội dung tài liệu

Trang 5

Components in a Hadoop MR Workflow Next few slides are from: http://www.slideshare.net/hadoop/practical-problem-solving-with-apache-hadoop-pig

Trang 13

Quick Overview of Other Topics (Will Revisit Them Later in the Course) • Dealing with failures • Hadoop Distributed FileSystem (HDFS) • Optimizing a MapReduce job

Trang 14

Dealing with Failures and Slow Tasks • What to do when a task fails? – Try again (retries possible because of idempotence) – Try again somewhere else – Report failure • What about slow tasks: stragglers – Run another version of the same task in parallel. Take results from the one that finishes first – What are the pros and cons of this approach? Fault tolerance is of high priority in the MapReduce framework

Trang 16

Lifecycle of a MapReduce Job Time Input Map Map Reduce Reduce Splits Wave 1 Wave 2 Wave 1 Wave 2 How are the number of splits, number of map and reduce tasks, memory allocation to tasks, etc., determined?

Trang 19

Tuning Hadoop Job Conf. Parameters • Do their settings impact performance? • What are ways to set these parameters? – Defaults -- are they good enough? – Best practices -- the best setting can depend on data, job, and cluster properties – Automatic setting

Trang 20

Experimental Setting • Hadoop cluster on 1 master + 16 workers • Each node: – 2GHz AMD processor, 1.8GB RAM, 30GB local disk – Relatively ill-provisioned! – Xen VM running Debian Linux – Max 4 concurrent maps & 2 reduces • Maximum map wave size = 16x4 = 64 • Maximum reduce wave size = 16x2 = 32 • Not all users can run large Hadoop clusters: – Can Hadoop be made competitive in the 10-25 node, multi GB to TB data size range?

Hiển thị 20 trang đầu. Tải tài liệu để xem đầy đủ.

Bình luận (0)

Đăng nhập để tham gia bình luận

Chưa có bình luận nào. Hãy là người đầu tiên!