Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
May 10, 2022 8:10:39 AM
Mar 17, 2022 8:35:58 AM
This is part 4 of 4 in a series of articles with information about migrating Spark projects from Compose for Data Lakes 6.6 (C4DL 6.6) to Qlik Compose 2021.8 (Gen2)
Different Migration Modules for customers
Module 4: Migrate Spark projects from C4DL 6.6 to Gen2
There are two paths for Spark project, you can choose one of the paths to finish migration.
Path 1: You can clean up storage database and replicate landing database (including underlaying files for attrep_cdc_partition). Reload replicate task and start the compose tasks as it is new project. It was covered in first demo.
Path 2: You can follow migration path, and we explained all the required steps in this document.
Here are the migration steps (Path 2) if you don’t want to reload the replicate task. You are going to completely migrate your project definition and data to Gen2.
ComposeCli.exe adjust_cfdl_project --project Suresh_Spark_Hive --infile “C:\Program Files\Qlik\C4DL66\Suresh_Spark_Hive_deployment_<datetime>.zip”
- C:\ProgramFiles\Qlik\Compose\data\projects\Suresh_Spark_Hive\deployment_package\ Suresh_Spark_Hive _<datetime>__QlikComposeDLMigration.zip
ComposeCli.exe create_cfdl_data_migration_script --project Suresh_Hive_HDS --infile “C:\Program Files\Qlik\C4DL66\ Suresh_Hive_HDS_deployment_<datetime>.zip” --states_path "/user/admin/spark_storage_66/states/storage"
You can get the storage path from C4DL 6.6 CDC task. You need not provide task no. also in path. Please observe the command and proceed it in your environment.
NOTE:
After migration you can check\run
also set
You can watch demo video How to Migrate Spark projects from C4DL66 to Gen2.
Migration Notes & Limitations
General
e.g., 'hdfs:///user/admin/spark_storage_66/states/storage'
Migration flow
Spark (only HDS)
Hive:
Databricks:
Before the migration, prepare an environment with the following settings
After migration check\run
and also set
The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.