Documentation ¶
Index ¶
Constants ¶
View Source
const KindSparkApplication = "SparkApplication"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { DefaultSparkConfig map[string]string `json:"spark-config-default" pflag:"-,Key value pairs of default spark configuration that should be applied to every SparkJob"` SparkHistoryServerURL string `json:"spark-history-server-url" pflag:",URL for SparkHistory Server that each job will publish the execution history to."` Features []Feature `json:"features" pflag:"-,List of optional features supported."` LogConfig LogConfig `json:"logs" pflag:",Config for log links for spark applications."` }
Spark-specific configs
func GetSparkConfig ¶
func GetSparkConfig() *Config
type Feature ¶ added in v0.5.29
type Feature struct { Name string `json:"name"` SparkConfig map[string]string `json:"spark-config"` }
Optional feature with name and corresponding spark-config to use.
type LogConfig ¶ added in v0.5.29
type LogConfig struct { Mixed logs.LogConfig `json:"mixed" pflag:",Defines the log config that's not split into user/system."` User logs.LogConfig `json:"user" pflag:",Defines the log config for user logs."` System logs.LogConfig `json:"system" pflag:",Defines the log config for system logs."` AllUser logs.LogConfig `json:"all-user" pflag:",All user logs across driver and executors."` }
Click to show internal directories.
Click to hide internal directories.