Package org.springframework.yarn.configuration

Examples of org.springframework.yarn.configuration.ConfigurationFactoryBean.afterPropertiesSet()


      fb.setUserKeytab(hadoopSecurity.getUserKeytab());
      fb.setNamenodePrincipal(hadoopSecurity.getNamenodePrincipal());
      fb.setRmManagerPrincipal(hadoopSecurity.getRmManagerPrincipal());
    }

    fb.afterPropertiesSet();

    YarnConfiguration c = fb.getObject();
    c = postProcess(c);
    return c;
  }
View Full Code Here


  static class Config {

    @Bean(name=YarnSystemConstants.DEFAULT_ID_CONFIGURATION)
    public YarnConfiguration yarnConfiguration() throws Exception {
      ConfigurationFactoryBean factory = new ConfigurationFactoryBean();
      factory.afterPropertiesSet();
      return factory.getObject();
    }

  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.