Package org.apache.ambari.server.state.stack

Examples of org.apache.ambari.server.state.stack.OsFamily


      }
     
    } else {
      for (String os : oses) {
       
        OsFamily family = OsFamily.find(os);
        if (null != family) {
          String key = ami.generateRepoMetaKey(stackName, stackVersion, os,
              stackName + "-" + stackVersion, AmbariMetaInfo.REPOSITORY_XML_PROPERTY_BASEURL);

          String familyKey = ami.generateRepoMetaKey(stackName, stackVersion,
              family.name().toLowerCase(), stackRepoId, AmbariMetaInfo.REPOSITORY_XML_PROPERTY_BASEURL);
         
          // need to use (for example) redhat6 if the os is centos6
          MetainfoEntity entity = metaDao.findByKey(key);
          if (null == entity) {
            entity = new MetainfoEntity();
View Full Code Here

TOP

Related Classes of org.apache.ambari.server.state.stack.OsFamily

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.