Skip to main content
Version: 5.0.0

Gluten Configuration

This chapter introduces gluten configuration

Important

In Kylin both query and build use Apache Spark as compute engine, but they use different configurations.
For query engine, you should add the prefix kylin.storage.columnar.spark-conf.
For build engine, add prefix kylin.engine.spark-conf.

KeyDefault ValueDescription
spark.gluten.enabledtrueOpen or close gluten in spark
spark.gluten.sql.columnar.libpath${KYLIN_HOME}/server/libch.solibch.so path for spark driver
spark.memory.offHeap.enabledtrue
spark.memory.offHeap.size12g
spark.gluten.sql.columnar.backend.ch.runtime_config.storage_configuration.disks.hdfs.endpointGluten hdfs name service
spark.gluten.sql.columnar.backend.ch.runtime_config.storage_configuration.disks.hdfs.metadata_path/tmp/ch_metadata_kylinGluten metadata storage path, need read/write access
spark.gluten.sql.columnar.backend.ch.runtime_config.storage_configuration.disks.hdfs_cache.path/tmp/hdfs_cache_kylinGluten cache path, need read/write access
spark.gluten.sql.columnar.backend.ch.runtime_config.storage_configuration.disks.hdfs_cache.max_size256GiGluten local cache size
spark.gluten.sql.columnar.backend.ch.runtime_config.path/tmp/gluten_defaultGluten data processing path,need read/write access
spark.gluten.sql.columnar.backend.ch.runtime_config.tmp_path/tmp/kyligence_glt/tmp_chGluten data processing tmp path,need read/write access
spark.gluten.sql.columnar.backend.ch.runtime_config.use_current_directory_as_tmptrueuse current relative path as data processing tmp path, should be "True" on yarn
spark.gluten.sql.columnar.backend.ch.runtime_config.hdfs.libhdfs3_conf/etc/hadoop/conf/hdfs-site.xmlhaddop_conf path in executor container
spark.gluten.sql.columnar.executor.libpathlibch.solibch.so file path in executor,should be $SPARK_HOME/libch.so in spark standalone mode
spark.executorEnv.LD_PRELOAD=$PWD/libch.so$PWD/libch.soexecutor environment variable, should be $SPARK_HOME/libch.so in spark standalone mode
spark.gluten.sql.executor.jar.path${KYLIN_HOME}/lib/ext/gluten.jargluten.jar file path
spark.gluten.sql.columnar.backend.ch.runtime_config.reuse_disk_cachefalsere-use local cache or not
spark.gluten.sql.columnar.backend.ch.runtime_config.hdfs.hadoop_security_authenticationNONEauthentication of Gluten data reading,KERBEROS or NONE