예제 #1
0
파일: impala.py 프로젝트: madar010/mad
 def __init__(self):
     super(ImpalaV250, self).__init__()
     self._version = '2.5.0'
     self._dependencies = [('mapr-hive', hive.HiveV12().version),
                           ('mapr-impala', self.version),
                           ('mapr-hbase', hbase.HBaseV111().version)]
     self._validation_rules = [
         vu.depends_on(hive.HiveV12(), self),
         vu.exactly(1, IMPALA_STATE_STORE),
         vu.exactly(1, IMPALA_CATALOG),
         vu.at_least(1, IMPALA_SERVER),
         vu.required_os('centos', self)
     ]
예제 #2
0
 def __init__(self):
     super(VersionHandler, self).__init__()
     self._version = version
     self._required_services = [
         yarn.YARNv270(),
         maprfs.MapRFS(),
         mng.Management(),
         oozie.Oozie(),
     ]
     self._services = [
         hive.HiveV12(),
         pig.PigV015(),
         impala.ImpalaV250(),
         flume.FlumeV16(),
         sqoop2.Sqoop2(),
         mahout.MahoutV012(),
         oozie.OozieV420(),
         hue.HueV390(),
         hbase.HBaseV111(),
         drill.DrillV16(),
         yarn.YARNv270(),
         maprfs.MapRFS(),
         mng.Management(),
         httpfs.HttpFS(),
         swift.Swift(),
         sentry.SentryV16(),
         spark.SparkOnYarnV161(),
     ]