def __init__(self):
     super(VersionHandler, self).__init__()
     self.config_helper = config_helper.ConfigHelperV590()
     self.cloudera_utils = cloudera_utils.ClouderaUtilsV590()
     self.plugin_utils = plugin_utils.PluginUtilsV590()
     self.deploy = deploy
     self.edp_engine = edp_engine
     self.images = images
     self.validation = validation.ValidatorV590()
 def __init__(self):
     cu.ClouderaUtils.__init__(self)
     self.pu = pu.PluginUtilsV590()
     self.validator = validation.ValidatorV590
     self.c_helper = config_helper.ConfigHelperV590()
示例#3
0
 def setUp(self):
     super(TestConfigHelperV590, self).setUp()
     self.c_h = config_helper.ConfigHelperV590()
     self.path_to_config = 'plugins/cdh/v5_9_0/resources/'
示例#4
0
 def __init__(self):
     self.c_helper = config_helper.ConfigHelperV590()
示例#5
0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from oslo_serialization import jsonutils as json

from sahara.plugins import utils
from sahara_plugins.plugins.cdh.v5_9_0 import config_helper
from sahara_plugins.tests.unit import base
from sahara_plugins.tests.unit.plugins.cdh import utils as ctu

c_h = config_helper.ConfigHelperV590()

path_to_config = 'plugins/cdh/v5_9_0/resources/'
json_files = [
    'hdfs-service.json', 'hdfs-namenode.json', 'hdfs-datanode.json',
    'hdfs-secondarynamenode.json', 'hdfs-gateway.json',
    'hdfs-journalnode.json', 'yarn-service.json', 'yarn-resourcemanager.json',
    'yarn-nodemanager.json', 'yarn-jobhistory.json', 'yarn-gateway.json',
    'oozie-service.json', 'oozie-oozie_server.json', 'hive-service.json',
    'hive-hivemetastore.json', 'hive-hiveserver2.json', 'hive-webhcat.json',
    'hue-service.json', 'hue-hue_server.json', 'spark-service.json',
    'spark-spark_yarn_history_server.json', 'zookeeper-service.json',
    'zookeeper-server.json', 'hbase-service.json', 'hbase-master.json',
    'hbase-regionserver.json', 'flume-service.json', 'flume-agent.json',
    'sentry-service.json', 'sentry-sentry_server.json', 'solr-service.json',
    'solr-solr_server.json', 'sqoop-service.json', 'sqoop-sqoop_server.json',