This section covers the configurations required to use Apache Spark with WSO2 DAS.
...
If you want to add additional jars, you can add them to the SPARK_CLASSPATH
in the <DAS_HOME>/bin/external-spark-classpath.conf
file in a UNIX environment.
Tip |
---|
Each path should have a separate line. |
Info |
---|
When WSO2 DAS connects with an external Spark cluster, the distribution of DAS is copied to each node in the Spark cluster. This allows each Spark node to access the jars it needs to work with WSO2 DAS. |
Carbon related configurations
...
Property | Default Value | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
carbon.spark.master | local | The Spark master has three possible states as follows:
| ||||||||
carbon.spark.master.count | 1 | The maximum number of masters allowed at a given time when DAS creates its own Spark cluster.
| ||||||||
carbon.das.symbolic.link
| This links to your DAS home by default. | The symbolic link for the jar files in the Spark class path. In a clustered DAS deployment, the directory path for the Spark Class path is different for each node depending on the location of the
|
...