def validate_job_execution(self, cluster, job, data): oo_count = u.get_instances_count(cluster, 'OOZIE_SERVER') if oo_count != 1: raise ex.InvalidComponentCountException( 'OOZIE_SERVER', '1', oo_count) super(EdpOozieEngine, self).validate_job_execution(cluster, job, data)
def validate_edp(self, cluster): oo_count = u.get_instances_count(cluster, 'oozie') if oo_count != 1: raise ex.InvalidComponentCountException('oozie', '1', oo_count)
def validate_edp(self, cluster): oo_count = u.get_instances_count(cluster, 'oozie_server') if oo_count != 1: raise ex.InvalidComponentCountException('oozie', '1', oo_count)
def validate_edp(self, cluster): oo_count = u.get_instances_count(cluster, 'OOZIE_SERVER') if oo_count != 1: raise ex.InvalidComponentCountException('OOZIE_SERVER', '1', oo_count)