java.lang.Object
org.apache.hadoop.yarn.server.nodemanager.containermanager.records.AuxServiceFile

@Public @Unstable public class AuxServiceFile extends Object
A config file that needs to be created and made available as a volume in an service component container.
  • Constructor Details

    • AuxServiceFile

      public AuxServiceFile()
  • Method Details

    • type

      Config file in the standard format like xml, properties, json, yaml, template.
    • getType

      public AuxServiceFile.TypeEnum getType()
    • setType

      public void setType(AuxServiceFile.TypeEnum type)
    • srcFile

      public AuxServiceFile srcFile(String file)
      This provides the source location of the configuration file, the content of which is dumped to dest_file post property substitutions, in the format as specified in type. Typically the src_file would point to a source controlled network accessible file maintained by tools like puppet, chef, or hdfs etc. Currently, only hdfs is supported.
    • getSrcFile

      public String getSrcFile()
    • setSrcFile

      public void setSrcFile(String srcFile)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object