Object

ai.h2o.sparkling.backend.utils

H2OClientUtils

Related Doc: package utils

Permalink

object H2OClientUtils extends SharedBackendUtils

All helper methods which are used when H2O client is running on Spark driver This class should be removed after we remove H2O client from Scala as well

Linear Supertypes
SharedBackendUtils, Logging, Serializable, Serializable, Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. H2OClientUtils
  2. SharedBackendUtils
  3. Logging
  4. Serializable
  5. Serializable
  6. Logging
  7. AnyRef
  8. 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 PROP_REST_API_BASED_CLIENT: (String, Boolean)

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def checkAndUpdateConf(conf: H2OConf): H2OConf

    Permalink

    Check Spark and H2O environment, update it if necessary and and warn about possible problems.

    Check Spark and H2O environment, update it if necessary and and warn about possible problems.

    This method checks the environments for generic configuration which does not depend on particular backend used In order to check the configuration for specific backend, method checkAndUpdateConf on particular backend has to be called.

    This method has to be called at the start of each method which override this one

    conf

    H2O Configuration to check

    returns

    checked and updated configuration

    Definition Classes
    SharedBackendUtils
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def createTempDir(): File

    Permalink
    Definition Classes
    SharedBackendUtils
  9. def distributeFiles(conf: H2OConf, sc: SparkContext): Unit

    Permalink
    Definition Classes
    SharedBackendUtils
  10. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def getExtraExternalBackendArgsWhenClientBased(conf: H2OConf): Seq[String]

    Permalink
  15. def getExtraHttpHeaderArgs(conf: H2OConf): Seq[String]

    Permalink
    Definition Classes
    SharedBackendUtils
  16. def getH2OCommonArgs(conf: H2OConf): Seq[String]

    Permalink

    Get H2O arguments which are passed to every node - regular node, client node

    Get H2O arguments which are passed to every node - regular node, client node

    conf

    H2O Configuration

    returns

    sequence of arguments

    Definition Classes
    SharedBackendUtils
  17. def getH2OCommonArgsWhenClientBased(conf: H2OConf): Seq[String]

    Permalink
  18. def getH2OSecurityArgs(conf: H2OConf): Seq[String]

    Permalink
    Definition Classes
    SharedBackendUtils
  19. def getH2OWorkerAsClientArgs(conf: H2OConf): Seq[String]

    Permalink
    Definition Classes
    SharedBackendUtils
  20. def getHostname(env: SparkEnv): String

    Permalink

    Return hostname of this node based on SparkEnv

    Return hostname of this node based on SparkEnv

    env

    SparkEnv instance

    returns

    hostname of the node

    Definition Classes
    SharedBackendUtils
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. def initializeLogIfNecessary(isInterpreter: Boolean): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  23. def isH2OClientBased(conf: H2OConf): Boolean

    Permalink
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. def isTraceEnabled(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  26. def log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  27. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  28. def logDebug(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  29. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  30. def logError(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  31. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  32. def logInfo(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  33. def logName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  34. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  35. def logTrace(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  36. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  37. def logWarning(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  38. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  41. def parseStringToHttpHeaderArgs(headers: String): Seq[String]

    Permalink
    Definition Classes
    SharedBackendUtils
  42. def saveFlatFileAsFile(content: String): File

    Permalink
    Definition Classes
    SharedBackendUtils
  43. def startH2OClient(hc: H2OContext, conf: H2OConf, nodes: Array[NodeDesc]): NodeDesc

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

    Permalink
    Definition Classes
    AnyRef
  45. def toH2OArgs(h2oArgs: Seq[String], executors: Array[NodeDesc] = Array()): Array[String]

    Permalink
    Definition Classes
    SharedBackendUtils
  46. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  47. def translateHostnameToIp(hostname: String): String

    Permalink
    Attributes
    protected
    Definition Classes
    SharedBackendUtils
  48. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. def withLockAndUpdate[T <: Frame](fr: T)(f: (T) ⇒ Any): T

    Permalink

    This method should be used whenever the Frame needs to be updated.

    This method should be used whenever the Frame needs to be updated. This method ensures to use proper locking mechanism.

    T

    H2O Frame Type

    fr

    frame to update

    f

    function to run on the frame

    returns

    returns the updated frame

Inherited from SharedBackendUtils

Inherited from Logging

Inherited from Serializable

Inherited from Serializable

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped