Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

To Infinity, and Beyond! – Scaling Your Hadoop Big Data Infrastructure

DZone's Guide to

To Infinity, and Beyond! – Scaling Your Hadoop Big Data Infrastructure

Elasticity and scaling in-house commodity hardware has always been difficult leading many to the cloud. But there are ways to elastically scale and maximize your hard for running Spark, Flink, and Hadoop batch loads.

· Big Data Zone ·
Free Resource

Hortonworks Sandbox for HDP and HDF is your chance to get started on learning, developing, testing and trying out new features. Each download comes preconfigured with interactive tutorials, sample data and developments from the Apache community.

So, you’ve had your Hadoop cluster for a while. You’ve got maybe 50 to 100 nodes running stably, you’ve got some mastery of the analytics frameworks – whether it's Spark, Flink, or good old Map-Reduce. You’ve been able to demonstrate real business value from your cluster and you’re ready to take it to a whole new level with lots more data and a lot more applications and users. The hardware for your cluster was probably not a big concern as you dove into Hadoop, so you went with the typical racks of commodity servers, each with 12 or 24 hard drives. It works, so why think about a different rack scale architecture?

Well, because as your cluster size approaches many hundreds of nodes, it will certainly be the biggest cluster in your data center, and may even become the majority of your data center infrastructure over time. At this scale, inefficiencies caused by poorly balanced resources can add up to a lot of wasted time, money, power, heat, and space!

Bend It Or Break It

Even if you think your CPU and storage are well balanced today, you can bet they won’t be as applications and frameworks evolve, data gets bigger, and CPUs get faster. The CPU you buy next year will be twice as fast as last years’; the disks will still be slow but have enormous capacity. There’s just no predicting the correct balance between CPU and storage. What you need is flexibility.

That flexibility is achieved by disaggregating/separating the disk from the CPU nodes. But beware traditional NAS and SAN solutions – they are far from “commodity” hardware and will blow your budget to smithereens while struggling to achieve the performance levels that Hadoop needs. Look for composable infrastructure solutions with rack-scale architectures that can maximize your flexibility while preserving the high performance and low cost needed for Hadoop. The whole Big Data movement is enabled by very cheap storage, so don’t get locked into a traditional “gold-plated” scale-out storage solution.

Go Big!

Once storage is removed from the CPU nodes, you have a much broader choice of CPU/memory combinations. Consider the “classic” Hadoop node of 2013/4 – 12 CPU cores with about 64GB of memory. Today, you can easily afford 36 to 40 core nodes with 512GB of memory (and the cores and memory are both a lot faster). Even if you have a traditional Map/Reduce application which is I/O limited on smaller CPUs, moving to bigger, beefier CPU nodes can remove a lot of communication and serialization overhead. Spark and other newer frameworks can vastly benefit from larger amount of memory in CPUs because a few big caches are more efficient than the same amount of cache spread over more nodes.

And don’t skimp on networking! Anything less than 10Gbps is like breathing through a straw for today’s servers. And, if you’ve separated your disks, then that traffic is on the network as well. Even if you can’t control your network backbone bandwidth, adding bandwidth “in the rack” can help Hadoop a lot. Today, right now, you can get complete 25Gbps Ethernet solutions from vendors like Dell that’ll get you two 25GbE ports for each server at a very affordable price.

So look before you leap into a large scale Hadoop project, and make sure your hardware plans take into account today’s next generation data center technologies, not just the data center infrastructure solutions that were successful in previous years.

Hortonworks Community Connection (HCC) is an online collaboration destination for developers, DevOps, customers and partners to get answers to questions, collaborate on technical articles and share code examples from GitHub.  Join the discussion.

Topics:
big data ,hadoop ,spark ,hardware ,scaling

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}