Package org.springframework.yarn.fs

Examples of org.springframework.yarn.fs.LocalResourcesFactoryBean$RawCopyEntry


    super(ObjectPostProcessor.QUIESCENT_POSTPROCESSOR, true);
  }

  @Override
  protected ResourceLocalizer performBuild() throws Exception {
    LocalResourcesFactoryBean fb = new LocalResourcesFactoryBean();
    fb.setType(defaultType);
    fb.setStagingDirectory(stagingDirectory);
    fb.setVisibility(defaultVisibility);
    fb.setConfiguration(configuration);
    fb.setCopyEntries(copyEntries != null ? copyEntries : new ArrayList<LocalResourcesFactoryBean.CopyEntry>());
    fb.setHdfsEntries(transferEntries != null ? transferEntries : new ArrayList<LocalResourcesFactoryBean.TransferEntry>());
    for (Entry<String, Collection<TransferEntry>> entry : transferEntries2.entrySet()) {
      fb.setHdfsEntries(entry.getKey(), entry.getValue());
    }
    if (rawEntries != null) {
      fb.setRawCopyEntries(rawEntries);
    }
    fb.afterPropertiesSet();
    return fb.getObject();
  }
View Full Code Here

TOP

Related Classes of org.springframework.yarn.fs.LocalResourcesFactoryBean$RawCopyEntry

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.