Пример #1
0
 def __init__(self, host, user, passwd):
     HadoopUtil.__init__(self, "http", host, 6080, user, passwd)
Пример #2
0
 def __init__(self, host, user, password, cluster="default"):
     HadoopUtil.__init__(self, "https", host, 8443, user, password)
     self.__cluster = cluster
Пример #3
0
 def __init__(self, host, user):
     HadoopUtil.__init__(self, "http", host, 50070, user)
     self.__cwd = self.home