示例#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