Spark 2.4.5 usage
Dedicated configuration for Spark 2.4.5.
We recommend that you use Spark 3 or later.
Submit jobs
To submit a job by using the Spark client, add the following parameters to specify the version. Download the client.
# For enabling Kube mode and eventlog spark.hadoop.odps.kube.mode=true spark.hadoop.odps.cupid.data.proxy.enable=true spark.hadoop.odps.cupid.fuxi.shuffle.enable=true spark.hadoop.odps.spark.version=spark-2.4.5-odps0.47.0 spark.hadoop.odps.spark.libs.public.enable=true spark.eventLog.enabled=true spark.eventLog.dir=/workdir/eventlog/ # For reading from and writing to MaxCompute spark.sql.catalogImplementation=hive spark.sql.sources.default=hiveTo submit a job by using a DataWorks node, add the following parameter to specify the version.
spark.hadoop.odps.spark.version=spark-2.4.5-odps0.47.0
Parameters
Parameter | Value | Description |
| Set to | |
| Set to | |
| Default: | The number of rows per batch for vectorized reads. |
| Default: | Enables vectorized reads. |
| Default: | Enables vectorized writes. |
| Default: | Controls the read concurrency on MaxCompute tables. Default split size per partition is 256 MB. |
| Default: |
|