Apache Kylin : Analytical Data Warehouse for Big Data
Welcome to Kylin Wiki.
The query engine of kylin4 is called Sparder, which is a long-running spark application.
Query basic Configuration
Whether to automatically start sparder(The query engine of kylin4.0) when kylin starts.
When this value is false, the sparder will delay to start when the first query is executed.
|The cluster manager to connect to. Kylin support set it to yarn/standalone.
|Only client mode is supported here.
|Number of cores to use for the driver process, only in cluster mode.
|Amount of memory to use for the driver process
|Amount of non-heap memory to be allocated per driver process in cluster mode, in MiB unless otherwise specified.
|The number of cores to use on each executor.
|The number of executor.
|Amount of memory to use per executor process, in the same format as JVM memory strings with a size unit suffix ("k", "m", "g" or "t") (e.g.
|Amount of additional memory to be allocated per executor process, in MiB unless otherwise specified.
|Class to use for serializing objects that will be sent over the network or need to be cached in serialized form
|The default number of partitions to use when shuffling data for joins or aggregations.
A string of extra JVM options to pass to executors.
Generally, this parameter does not need to be changed, and kylin will provided the variable at submit spark application.
|When the query can accurately hit the cuboid, whether to skip the AGG process and directly return the qualified results saved in the cuboid parquet file.
The maximum number of returned values for intersect_value function
Automatically select according to the query task
The fair scheduler of Apache Spark supports grouping jobs into pools, and setting different scheduling options (e.g. weight) for each pool. This can be useful to create a “high-priority” pool for more important query jobs.
Please check following link for detail.
The max size in mb handled per task when using shard by column, if the sharding size exceeds this value, it will fall back to non-sharding read RDD.
|SparderContext application name.
When a query cannot be answered by the cube, kylin supports routing the query to the pushdown engine for query.
When this configuration is null, it means that query pushdown is not enabled. If users want to enable query pushdown, it can be configured as "org.apache.kylin.query.pushdown.PushDownRunnerSparkImpl"
|Whether to allow update operation in pushdown engine, such as create table.
Spark Context Canary Configuration
Sparder Canary is a component used to monitor the running status of Sparder. It will periodically check whether the current Sparder is running normally. If the running status is abnormal, such as Sparder unexpectedly exits or becomes unresponsive, Sparder Canary will create a new Sparder instance.
|Whether to enable sparder canary.
|When the number of abnormal detection times exceeds this threshold, restart spark context.
|Single detection timeout time, if single detection timeout means no response from spark context