Skip to content

Instantly share code, notes, and snippets.

View tartakynov's full-sized avatar

Artem Tartakynov tartakynov

View GitHub Profile
@tartakynov
tartakynov / hgp.py
Last active August 29, 2015 14:01
Calculates required number of Hadoop data nodes on first year
from math import ceil
from tabulate import tabulate
GiB = 1024
TiB = 1048576
def main():
"""
Calculates cluster growth plan based on numbers listed below
"""