# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # Default system properties included when running spark-submit. # This is useful for setting default environmental settings. # Example: #spark.submit.deployMode client #spark.driver.extraJavaOptions -javaagent:"/data/kyuubi/spark-3.3.0-bin-hadoop2/jars/aspectjweaver-1.9.9.1.jar" spark.submit.deployMode cluster spark.master yarn spark.driver.extraJavaOptions -javaagent:aspectjweaver-1.9.9.1.jar spark.yarn.dist.jars file:///data/kyuubi/aspectjweaver-1.9.9.1.jar spark.yarn.submit.waitAppCompletion false spark.ui.port=4040 spark.driver.port=4060 spark.driver.blockManager.port=4080 spark.blockManager.port=4100 spark.kyuubi.frontend.thrift.binary.bind.port=4120 spark.sql.catalog.spark_catalog=org.apache.iceberg.spark.SparkSessionCatalog spark.sql.catalog.spark_catalog.type=hive spark.sql.extensions=org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions spark.sql.iceberg.vectorization.enabled=false spark.driver.cores=1 spark.driver.memory=6g spark.executor.cores=4 spark.executor.memory=10g spark.memory.storageFraction=0.4 spark.memory.fraction=0.6 spark.scheduler.mode=FAIR spark.shuffle.service.enabled=true spark.shuffle.service.port=7337 spark.dynamicAllocation.enabled=true spark.dynamicAllocation.minExecutors=1 spark.dynamicAllocation.maxExecutors=10 spark.dynamicAllocation.initialExecutors=1 spark.dynamicAllocation.executorIdleTimeout=180s spark.dynamicAllocation.cachedExecutorIdleTimeout=30min spark.dynamicAllocation.executorAllocationRatio=0.5 spark.sql.adaptive.enabled=true spark.sql.adaptive.coalescePartitions.enabled=true spark.sql.adaptive.coalescePartitions.initialPartitionNum=200 spark.sql.adaptive.coalescePartitions.minPartitionSize=16m spark.sql.adaptive.advisoryPartitionSizeInBytes=256m spark.sql.adaptive.skewJoin.skewedPartitionThresholdInBytes=256m spark.sql.adaptive.autoBroadcastJoinThreshold=30m spark.sql.adaptive.skewJoin.skewedPartitionFactor=5 spark.sql.adaptive.forceApply=false spark.sql.adaptive.logLevel=info spark.sql.adaptive.skewJoin.enabled=true spark.sql.adaptive.fetchShuffleBlocksInBatch=true spark.sql.adaptive.nonEmptyPartitionRatioForBroadcastJoin=0.2 spark.sql.adaptive.localShuffleReader.enabled=true spark.ui.killEnabled=true spark.serializer=org.apache.spark.serializer.KryoSerializer spark.kryoserializer.buffer.max=2000m spark.excludeOnFailure.enabled=false spark.sql.legacy.charVarcharAsString=true spark.sql.legacy.allowNegativeScaleOfDecimal=true spark.sql.autoBroadcastJoinThreshold=30m spark.sql.sources.parallelPartitionDiscovery.parallelism=60 spark.sql.legacy.timeParserPolicy=LEGACY spark.sql.sources.partitionOverwriteMode=dynamic