Class

com.groupon.sparklint.analyzer

SparklintStateAnalyzer

Related Doc: package analyzer

Permalink

class SparklintStateAnalyzer extends SparklintAnalyzerLike

An implementation of SparklintAnalyzerLike that can analyze a SparklintState

Since

9/23/16.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SparklintStateAnalyzer
  2. SparklintAnalyzerLike
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SparklintStateAnalyzer(meta: EventSourceMeta, state: SparklintStateLike)

    Permalink

    meta

    the source to analyze

    state

    the state to analyze

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. final def asInstanceOf[T0]: T0

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. lazy val getCoreUtilizationPercentage: Option[Double]

    Permalink

    returns

    sum(idle time)/sum(allocated cpu time)

    Definition Classes
    SparklintStateAnalyzerSparklintAnalyzerLike
  11. lazy val getCumulativeCoreUsage: Option[Map[Int, Long]]

    Permalink

    returns

    cores -> milliseconds with this level of core usage

    Definition Classes
    SparklintStateAnalyzerSparklintAnalyzerLike
  12. lazy val getCurrentCores: Option[Int]

    Permalink

    returns

    how many cores are currently being used

    Definition Classes
    SparklintStateAnalyzerSparklintAnalyzerLike
  13. lazy val getCurrentTaskByExecutors: Option[Map[String, Iterable[SparklintTaskInfo]]]

    Permalink

    How tasks are allocated on each executor

    How tasks are allocated on each executor

    returns

    ExecutorId -> [TaskInfo]

    Definition Classes
    SparklintStateAnalyzerSparklintAnalyzerLike
  14. lazy val getExecutorInfo: Option[Map[String, SparklintExecutorInfo]]

    Permalink

    Get the cores for each executor allocated

    Get the cores for each executor allocated

    returns

    ExecutorId -> [ExecutorInfo]

    Definition Classes
    SparklintStateAnalyzerSparklintAnalyzerLike
  15. lazy val getFairSchedulerPools: Seq[String]

    Permalink

    If the app is using fair scheduler, return all the pools being used.

    If the app is using fair scheduler, return all the pools being used. Otherwise, empty

    Definition Classes
    SparklintStateAnalyzerSparklintAnalyzerLike
  16. lazy val getIdleTime: Option[Long]

    Permalink

    returns

    the number of milliseconds when the app is totally idle

    Definition Classes
    SparklintStateAnalyzerSparklintAnalyzerLike
  17. lazy val getIdleTimeSinceFirstTask: Option[Long]

    Permalink

    returns

    the number of milliseconds when the app is totally idle after the first task is submitted

    Definition Classes
    SparklintStateAnalyzerSparklintAnalyzerLike
  18. lazy val getLastUpdatedAt: Option[Long]

    Permalink

    returns

    Time when the last event was processed

    Definition Classes
    SparklintStateAnalyzerSparklintAnalyzerLike
  19. def getLocalityStatsByStageIdentifier(stageIdentifier: SparklintStageIdentifier): Option[SparklintStageMetrics]

    Permalink

    stageIdentifier

    the identifier for a series of stages

    returns

    for each locality level, the cumulative task metrics for that locality level

    Definition Classes
    SparklintStateAnalyzerSparklintAnalyzerLike
  20. lazy val getMaxAllocatedCores: Option[Int]

    Permalink

    returns

    the highest allocated cores throughout the app history

    Definition Classes
    SparklintStateAnalyzerSparklintAnalyzerLike
  21. lazy val getMaxConcurrentTasks: Option[Int]

    Permalink

    returns

    the highest concurrent tasks throughout the app history

    Definition Classes
    SparklintStateAnalyzerSparklintAnalyzerLike
  22. lazy val getMaxCoreUsage: Option[Int]

    Permalink

    returns

    the highest core usage throughout the app history

    Definition Classes
    SparklintStateAnalyzerSparklintAnalyzerLike
  23. def getRDDReferencedMoreThan(times: Int): Option[Seq[SparklintRDDInfo]]

    Permalink

    times

    filter rdds that has been referenced more than this many times

    returns

    rdd information

    Definition Classes
    SparklintStateAnalyzerSparklintAnalyzerLike
  24. lazy val getRunningTasks: Option[Int]

    Permalink

    Can be different from getCurrentCores since one task can sometimes use more than 1 cores

    Can be different from getCurrentCores since one task can sometimes use more than 1 cores

    returns

    how many tasks are currently being executed.

    Definition Classes
    SparklintStateAnalyzerSparklintAnalyzerLike
  25. lazy val getTimeSeriesCoreUsage: Option[Seq[CoreUsage]]

    Permalink

    returns

    [avg load], the time information is contained inside CoreUsage already

    Definition Classes
    SparklintStateAnalyzerSparklintAnalyzerLike
  26. lazy val getTimeUntilFirstTask: Option[Long]

    Permalink

    returns

    the number of milliseconds between sparklint listener was created and received first task info

    Definition Classes
    SparklintStateAnalyzerSparklintAnalyzerLike
  27. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  29. val meta: EventSourceMeta

    Permalink

    the source to analyze

  30. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  33. val state: SparklintStateLike

    Permalink

    the state to analyze

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

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

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

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

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

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

Inherited from SparklintAnalyzerLike

Inherited from AnyRef

Inherited from Any

Ungrouped