Пример #1
0
 def __init__(self):
     super(VersionHandler, self).__init__()
     self.config_helper = config_helper.ConfigHelperV5110()
     self.cloudera_utils = cloudera_utils.ClouderaUtilsV5110()
     self.plugin_utils = plugin_utils.PluginUtilsV5110()
     self.deploy = deploy
     self.edp_engine = edp_engine
     self.images = images
     self.validation = validation.ValidatorV5110()
Пример #2
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_plugin_cdh.plugins.cdh.v5_11_0 import config_helper
from sahara_plugin_cdh.tests.unit import base
from sahara_plugin_cdh.tests.unit.plugins.cdh import utils as ctu

c_h = config_helper.ConfigHelperV5110()

path_to_config = 'plugins/cdh/v5_11_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',
Пример #3
0
 def __init__(self):
     self.c_helper = config_helper.ConfigHelperV5110()
 def __init__(self):
     cu.ClouderaUtils.__init__(self)
     self.pu = pu.PluginUtilsV5110()
     self.validator = validation.ValidatorV5110
     self.c_helper = config_helper.ConfigHelperV5110()
Пример #5
0
 def setUp(self):
     super(TestConfigHelperV5110, self).setUp()
     self.c_h = config_helper.ConfigHelperV5110()
     self.path_to_config = 'plugins/cdh/v5_11_0/resources/'