Package com.cloudera.kitten.util

Examples of com.cloudera.kitten.util.Extras


  private final Configuration conf;
  private final Map<String, URI> localFileUris;
  private final Extras extras;
 
  public LuaContainerLaunchParameters(LuaValue lv, Configuration conf, Map<String, URI> localFileUris) {
    this(new LuaWrapper(lv.checktable()), conf, localFileUris, new Extras());
  }
View Full Code Here


  public LuaContainerLaunchParameters(LuaValue lv, Configuration conf, Map<String, URI> localFileUris) {
    this(new LuaWrapper(lv.checktable()), conf, localFileUris, new Extras());
  }
 
  public LuaContainerLaunchParameters(LuaWrapper lv, Configuration conf, Map<String, URI> localFileUris) {
    this(lv, conf, localFileUris, new Extras());
  }
View Full Code Here

 
  public LuaYarnClientParameters(String script, String jobName, Configuration conf,
      Map<String, Object> extraLuaValues, Map<String, String> resources) {
    this.env = new LuaWrapper(script, extraLuaValues).getTable(jobName);
    this.conf = initConf(env, conf);
    this.extras = new Extras();
    this.extras.putEnv(LuaFields.KITTEN_JOB_NAME, jobName);
    this.extras.putResource(LuaFields.KITTEN_LUA_CONFIG_FILE, script);
    this.extras.putAllResources(resources);
    if (extraLuaValues != null && !extraLuaValues.isEmpty()) {
      this.extras.putEnv(LuaFields.KITTEN_EXTRA_LUA_VALUES,
View Full Code Here

TOP

Related Classes of com.cloudera.kitten.util.Extras

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.