Deploy Kyvos through Kubernetes and Query Engine
You can use no Spark model processing to deploy Kyvos through Query Engine or Kubernetes for Azure and GCP. For
AWS
...
: You can use no Spark model processing to deploy Kyvos through Query Engine.
To deploy Kyvos through Kubernetes (K8s) on:
Azure: Azure: For Kubernetes, Kyvos processes the semantic model using Azure’s managed service AKS (Azure Kubernetes Service). The Azure cluster is deployed via ARM templates. You can create a cluster without Spark or process the semantic model utilizing Spark Mode within ARM templates.
GCP: For Kubernetes, Kyvos builds processes the semantic model using Google Cloud's managed service GKE (Google Kubernetes Engine). The GKE cluster is deployed through Google Deployment Manager scripts GCP Installation Files. Using the scripts, you can select a No-Spark-based cluster or process the semantic model using Spark Mode. Currently, to
To proceed with a no-spark-based deployment mode, you must use a Dataproc cluster (either new or existing).
For more details about how to deploy Kyvos on GCP using the no-Spark model, see the following section:
...
Azure:
GCP:
Post deployment steps for all clouds (AWS, Azure and GCP)
Set property in connections: Users must add the following property from the Kyvos connections page:
After deploying Kyvos using no-Spark processing model, perform the following post deployment steps.
Add the kyvos.connection.readUsingCustomFS.jobs.internal=NONE
...
Set properties at Cube level: Users should modify property from the Kyvos connections page
Modify the values of the following properties in the advance properties of Cube buildsemantic model job:
...
kyvos.process.compute.type=KYVOS_COMPUTE
...
kyvos.build.aggregate.type=TABULAR
Set below property on Hadoop connection properties and restart kyvos services
Property - kyvos.process.datastore.properties
Value - SET disabled_optimizers = 'join_order';SET memory_limit='40GB';SET threads TO 1;
Restart Kyvos services.
Post deployment steps for Azure
The post-deployment steps must be executed since the Data Lake connection is blank on the Azure no Spark cluster.
SSH Kyvos Manager from terminal.
Navigate to /data/kyvos/app/kyvos/olapengine/conf/
In the providerInfo.xml file, add Hadoop cluster for Azure provider list, including all necessary details.
Code Block |
---|
<DEPLOYMENT_PROVIDER_MAPPING PROVIDERLIST="5">
<TYPE NAME="AZURE"></TYPE>
</DEPLOYMENT_PROVIDER_MAPPING>
<PROVIDERLIST NAME="5">
<ALLOWED_PROVIDERS><![CDATA[HADOOP_CLUSTER,LOCAL_PROCESS_CLUSTER,DATABRICKS,PRESTO,ATHENA,POSTGRESQL,AZURESQLDB,GENERIC,SNOWFLAKE]]></ALLOWED_PROVIDERS>
</PROVIDERLIST> |
Update the snapshot Bundle for Kyvos BI server configurations.
Restart the services.
Important points to know
To process semantic model without spark, you must do the following:
From the Kyvos Connection page, do the following:
For ROLAP queries, set the kyvos.connection.defaultsqlengine property’s value as True.
Add the kyvos.connection.isRead property and set is value as True.
Modify the value of the following semantic model advanced properties on Kyvos Web Portal:
kyvos.sqlwarehouse.catalog = ‘Your catalog name’
kyvos.sqlwarehouse.tempdb = ‘Your Database name’
kyvos.build.aggregate.type = TABULAR
Kyvos.process.compute.type = Kyvos Compute
You can also set subtype to select no Spark model processing for semantic model via property.
To do this, navigate to the Kyvos Properties page and update the KYVOS_PROCESS_COMPUTE_SUBTYPE property
...
and restart Kyvos services.