def __init__(self, host, user, passwd): HadoopUtil.__init__(self, "http", host, 6080, user, passwd)
def __init__(self, host, user, password, cluster="default"): HadoopUtil.__init__(self, "https", host, 8443, user, password) self.__cluster = cluster
def __init__(self, host, user): HadoopUtil.__init__(self, "http", host, 50070, user) self.__cwd = self.home