Tabnine Logo
RegisterApplicationMasterResponsePBImpl.addResourceProfiles
Code IndexAdd Tabnine to your IDE (free)

How to use
addResourceProfiles
method
in
org.apache.hadoop.yarn.api.protocolrecords.impl.pb.RegisterApplicationMasterResponsePBImpl

Best Java code snippets using org.apache.hadoop.yarn.api.protocolrecords.impl.pb.RegisterApplicationMasterResponsePBImpl.addResourceProfiles (Showing top 1 results out of 315)

origin: org.apache.hadoop/hadoop-yarn-common

private void mergeLocalToBuilder() {
 if (this.maximumResourceCapability != null) {
  builder.setMaximumCapability(
    convertToProtoFormat(this.maximumResourceCapability));
 }
 if (this.applicationACLS != null) {
  addApplicationACLs();
 }
 if (this.containersFromPreviousAttempts != null) {
  addContainersFromPreviousAttemptToProto();
 }
 if (nmTokens != null) {
  builder.clearNmTokensFromPreviousAttempts();
  Iterable<NMTokenProto> iterable = getTokenProtoIterable(nmTokens);
  builder.addAllNmTokensFromPreviousAttempts(iterable);
 }
 if(schedulerResourceTypes != null) {
  addSchedulerResourceTypes();
 }
 if (profiles != null) {
  addResourceProfiles();
 }
 if (resourceTypeInfo != null) {
  addResourceTypeInfosToProto();
 }
}
org.apache.hadoop.yarn.api.protocolrecords.impl.pbRegisterApplicationMasterResponsePBImpladdResourceProfiles

Popular methods of RegisterApplicationMasterResponsePBImpl

  • <init>
  • getProto
  • addApplicationACLs
  • addContainersFromPreviousAttemptToProto
  • addSchedulerResourceTypes
  • convertFromProtoFormat
  • convertToProtoFormat
  • getTokenProtoIterable
  • initApplicationACLs
  • initContainersPreviousAttemptList
  • initLocalNewNMTokenList
  • initSchedulerResourceTypes
  • initLocalNewNMTokenList,
  • initSchedulerResourceTypes,
  • maybeInitBuilder,
  • mergeLocalToBuilder,
  • mergeLocalToProto,
  • addResourceTypeInfosToProto,
  • initResourceProfiles,
  • initResourceTypeInfosList

Popular in Java

  • Finding current android device location
  • scheduleAtFixedRate (ScheduledExecutorService)
  • startActivity (Activity)
  • setScale (BigDecimal)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Permission (java.security)
    Legacy security code; do not use.
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now