

def connect_to(host, port=7051):
    'Returns a kudu client object connecting to the specified kudu master'
    return kudu.Client('{0}:{1}'.format(host, port))

dataset/ETHPy150Open cloudera/kudu-examples/python/dstat-kudu/kudu_dstat.py connect_to/original