Object/Class

org.apache.spark.deploy.yarn

YarnSparkHadoopUtil

Related Docs: class YarnSparkHadoopUtil | package yarn

Permalink

object YarnSparkHadoopUtil

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. YarnSparkHadoopUtil
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val ANY_HOST: String

    Permalink
  5. val DEFAULT_NUMBER_EXECUTORS: Int

    Permalink
  6. val MEMORY_OVERHEAD_FACTOR: Double

    Permalink
  7. val MEMORY_OVERHEAD_MIN: Long

    Permalink
  8. val RM_REQUEST_PRIORITY: Priority

    Permalink
  9. def addPathToEnvironment(env: HashMap[String, String], key: String, value: String): Unit

    Permalink

    Add a path variable to the given environment map.

    Add a path variable to the given environment map. If the map already contains this key, append the value to the existing value instead.

  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def escapeForShell(arg: String): String

    Permalink

    Escapes a string for inclusion in a command line executed by Yarn.

    Escapes a string for inclusion in a command line executed by Yarn. Yarn executes commands using either

    (Unix-based) bash -c "command arg1 arg2" and that means plain quoting doesn't really work. The argument is enclosed in single quotes and some key characters are escaped.

    (Windows-based) part of a .cmd file in which case windows escaping for each argument must be applied. Windows is quite lenient, however it is usually Java that causes trouble, needing to distinguish between arguments starting with '-' and class names. If arguments are surrounded by ' java takes the following string as is, hence an argument is mistakenly taken as a class name which happens to start with a '-'. The way to avoid this, is to surround nothing with a ', but instead with a ".

    arg

    A single argument.

    returns

    Argument quoted for execution via Yarn's generated shell script.

  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def get: YarnSparkHadoopUtil

    Permalink
  17. def getApplicationAclsForYarn(securityMgr: SecurityManager): Map[ApplicationAccessType, String]

    Permalink
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def getInitialTargetExecutorNumber(conf: SparkConf, numExecutors: Int = DEFAULT_NUMBER_EXECUTORS): Int

    Permalink

    Getting the initial target number of executors depends on whether dynamic allocation is enabled.

    Getting the initial target number of executors depends on whether dynamic allocation is enabled. If not using dynamic allocation it gets the number of executors requested by the user.

  20. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. def setEnvFromInputString(env: HashMap[String, String], inputString: String): Unit

    Permalink

    Set zero or more environment variables specified by the given input string.

    Set zero or more environment variables specified by the given input string. The input string is expected to take the form "KEY1=VAL1,KEY2=VAL2,KEY3=VAL3".

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped