DataWorks lets you create Hive, MR, Presto, and Impala nodes for CDH (Cloudera's Distribution Including Apache Hadoop) and CDP (Cloudera Data Platform) clusters. You can configure CDP/CDH workflows, schedule tasks, and manage metadata to support efficient and stable data production and management. This topic describes the basic workflow for using CDP/CDH in DataWorks, including billing, environment preparation, and access control.
Background information
-
CDH is Cloudera's open-source platform distribution. It includes out-of-the-box features like cluster management, monitoring, and diagnostics, and supports various components for running end-to-end big data workflows.
-
CDP is a public data platform that collects and consolidates customer data from multiple platforms. It gathers real-time data to create individual user data profiles.
You can register CDH and CDP clusters in DataWorks for task development, scheduling, metadata management in Data Map, and Data Quality checks.
Limits
Only serverless resource groups (recommended) and legacy exclusive resource groups for scheduling can run tasks on CDH or CDP clusters.
NoteServerless resource groups (recommended) are general-purpose resource groups that support various task types, such as data synchronization and task scheduling. For purchase instructions, see Use serverless resource groups. You can also use existing legacy exclusive resource groups for scheduling to run tasks on CDH or CDP clusters.
New users can purchase only serverless resource groups.
If you register a Custom Version cluster with DataWorks, you can use only legacy exclusive resource groups for scheduling. For information about cluster versions, see Step 2: Register a CDH or CDP cluster.
You can register CDH or CDP clusters only in the China (Beijing), China (Shanghai), China (Hangzhou), China (Shenzhen), China (Zhangjiakou), China (Chengdu), and Germany (Frankfurt) regions.
Prerequisites
DataWorks is activated. For more information, see Purchase guide.
A CDP or CDH cluster is deployed and registered.
DataWorks supports CDP and CDH clusters deployed outside Alibaba Cloud ECS. The deployment environment must be connected to an Alibaba Cloud virtual private cloud (VPC). You can use services such as Express Connect or VPN Gateway to establish network connectivity. For more information, see DataStudio (legacy): Register a CDH computing resource.
A serverless resource group is purchased.
A newly purchased serverless resource group has no network connectivity to other cloud services by default. Before you use CDP or CDH, establish network connectivity between the cluster and the serverless resource group. For purchase instructions, see Use serverless resource groups.
A DataWorks workspace is created. For more information, see Configure a workspace.
Usage guide
The following table describes how to use DataWorks on CDP/CDH.
Item | Description |
When you develop CDP or CDH tasks in DataWorks, you incur charges for other services in addition to DataWorks charges. | |
Before you develop CDP or CDH tasks in DataWorks, purchase a suitable DataWorks edition and the required resource groups, register your CDP or CDH cluster, and prepare the development environment. | |
DataWorks provides product-level and module-level access control. You can grant different permissions to users based on your business requirements for fine-grained access management. | |
Data Integration in DataWorks supports reading data from and writing data to CDP/CDH Hive. It supports scenarios such as batch synchronization and full and incremental synchronization. | |
DataWorks provides data modeling to organize large volumes of unordered, complex data. It also provides Data Studio for developing scheduled tasks, together with Operation Center for monitoring and maintaining them. | |
DataWorks provides metadata management and data governance for CDP and CDH. | |
Data Analysis in DataWorks provides data analysis and service sharing for CDP and CDH. | |
DataWorks provides open capabilities to help you quickly integrate application systems with DataWorks, manage data workflows, govern data, and perform O&M. This enables you to respond promptly to changes in the business status of integrated applications. |
Billing
1. DataWorks charges
These charges appear on your DataWorks bill. For more information about DataWorks billing, see Billable items of DataWorks.
Charge | Description |
DataWorks edition fee | Before you can develop tasks, you must activate DataWorks. Standard Edition, Professional Edition, and Enterprise Edition require a paid subscription. |
Scheduling resource fee | Tasks require scheduling resources to run on a schedule. You can use a serverless resource group (recommended) or an old-version exclusive resource group. Note A serverless resource group can be used for both task scheduling and data synchronization. |
Synchronization resource fee | Data synchronization tasks require dedicated synchronization resources in addition to scheduling resources. You can use a serverless resource group (recommended) or an old-version exclusive resource group for data integration. |
No scheduling fees are charged for tasks that are run using the Run or Run with Parameters feature on the DataStudio page.
No scheduling fees are charged for tasks that fail to run or are run as dry runs.
For information about how DataWorks dispatches scheduling tasks to help you better understand the billing details, see How DataWorks dispatches scheduling tasks.
2. Charges for other services
The following charges are excluded from your DataWorks bills.
Charges for other services are calculated based on the billing rules of each service. For details, see the billing documentation of the relevant service. For more information, see Billing.
Charge | Description |
Database charges | During data synchronization, reading from and writing to upstream and downstream databases may incur database charges. |
Compute and storage charges | Running tasks on a compute engine may incur compute and storage charges. |
Network service charges | Connecting DataWorks to other services may incur network service charges. For example, charges apply when you use Express Connect, Internet Shared Bandwidth, or Elastic IP Address (EIP) to establish network connectivity. |
Prepare the environment
1. Prepare resources
Category | Description | Documentation |
Select an edition | DataWorks Basic Edition supports basic data migration to the cloud, data development, scheduled production, and basic data governance for CDP or CDH. For more advanced data governance and data security capabilities, select Standard, Professional, or Enterprise Edition based on your requirements. | |
Select a resource group | CDP and CDH clusters support serverless resource groups (recommended) and legacy exclusive resource groups for scheduling. |
2. Prepare the development environment
Register your CDP or CDH cluster in a DataWorks workspace before you develop data in Data Studio. Manage members within the workspace to enable collaborative development.
Category | Description | Documentation |
Prepare the data synchronization environment | Before you run data synchronization tasks with the Hive component of a cluster, add the component as a DataWorks data source. | |
Prepare the environment for data development and data analysis | Add your cluster to DataWorks before you schedule compute engine tasks to run periodically. You can then use the cluster for data development, data analysis, and periodically scheduled tasks. | |
Prepare the collaborative development environment | To enable RAM users to collaborate within a workspace, perform the following steps:
|
Access control
DataWorks provides product-level and module-level access control. You can grant different permissions to users based on your business requirements, as described in the following sections.
1. Data access control
For RAM users who join a DataWorks workspace to develop CDP or CDH tasks, configure cluster account mappings. Each workspace member (RAM user) then has the permissions of the mapped cluster account. For more information, see Set up cluster identity mapping.
2. Module access control
Before you develop data, follow the guide to granting permissions to RAM users to grant the required permissions. The following types of access control are available:
Use Permission control for global services to manage permissions on DataWorks modules and the DataWorks console. For example, you can prevent users from accessing Data Map or allow them to delete workspaces.
Use Manage permissions on workspace-level services to manage permissions on workspace-level and global modules. For example, you can allow users to develop data in Data Studio or prevent them from accessing Data Masking.
Get started
DataWorks provides multiple modules. Develop scheduled tasks in Data Studio, and then monitor and maintain them in the production environment of Operation Center. DataWorks also controls the task development and deployment process to help you standardize development and keep the process secure.
1. Data Integration
Data Integration in DataWorks supports reading data from and writing data to CDP/CDH Hive and HBase. Add the Hive or HBase component as a DataWorks Hive or HBase data source. You can then synchronize data from other data sources to Hive or HBase, or from Hive or HBase to other data sources. Select a synchronization scenario, such as batch synchronization or full and incremental synchronization, as needed. For more information, see Data Integration.
2. Data Development and O&M
Module | Description | Documentation |
Data Modeling | Data Modeling is the first step in end-to-end data governance. Based on Alibaba's data mid-end modeling methodology, it describes business data through data warehouse planning, data standards, dimensional modeling, and data metrics. This gives teams a shared understanding of data and helps them exchange it efficiently. | |
Data Studio | DataWorks encapsulates CDP and CDH compute engine capabilities to let you run data synchronization and data development tasks for CDP or CDH.
| |
Combine general-purpose nodes and compute engine nodes in DataWorks to implement complex processing logic. The main node types are as follows:
| ||
After you develop a node task, perform the following operations as needed:
| ||
Operation Center | Operation Center is a one-stop platform for big data O&M and monitoring. It displays task status in real time and provides intelligent diagnosis, reruns, and other operations for failed or abnormal tasks. Intelligent baselines help you control the output times of critical tasks and monitor large numbers of tasks to ensure timely data output. | |
Data Quality | Data Quality safeguards data availability throughout the data development lifecycle. It efficiently checks data quality rules and integrates with task scheduling to detect quality issues early and prevent them from spreading, providing reliable and trustworthy data for your business. |
3. Data Governance
After you register a CDP/CDH cluster, DataWorks automatically collects metadata from your data sources. Go to Overview to view the metadata. You can also go to Overview to view governance issues detected by DataWorks and take appropriate action.
Module | Description | Documentation |
Data Map | Data Map in DataWorks is an enterprise-level data management platform built on unified metadata. It provides data object management and inventory, lineage viewing, and tools to quickly find and understand data objects. Note Table-level and column-level lineage is supported for CDH Hive, CDH Spark, CDH Spark SQL, and CDH Impala nodes. For more information, see Lineage support for each data source. | |
Security Center Data Masking Approval Center | Security Center, Data Masking, and Approval Center provide a one-stop interface for data security governance. They combine data asset classification and grading, sensitive data identification, data authorization, data masking, sensitive data access auditing, and risk identification and response to help you implement data security governance. Note Approval Center does not support custom approval processes for CDH/CDP tables. | |
Data Governance Center | Data Governance Center helps you proactively and systematically govern data across multiple areas. It uses governance rules for data domains, automatically identifies assets that need optimization, and provides governance strategies before and after issues occur. Note You can use only the global check items and governance items in Data Governance Center to address CDH/CDP data issues. The available features in the console take precedence. |
4. Data analysis and services
DataWorks provides data processing, analysis, and service capabilities, with centrally managed APIs for efficient data sharing.
Module | Description | Related documentation |
DataAnalysis | Run online SQL queries, gain business insights, and edit and share data. You can also save query results as chart cards to build visual data reports. | |
DataService Studio | DataService Studio provides comprehensive data service and sharing capabilities, helping enterprises centrally manage API services for internal and external use. |
5. Open Platform
DataWorks Open Platform helps you integrate application systems with DataWorks for development process control, data governance, O&M, and real-time response to business status changes.
Category | Description | Related documentation |
OpenAPI | OpenAPI provides APIs for interaction between on-premises services and DataWorks, improving big data processing efficiency while reducing manual operations, O&M overhead, data risks, and costs. | |
OpenEvent | OpenEvent provides a message subscription service. By subscribing to DataWorks events, your applications receive real-time status changes for timely responses and personalized decision-making. | |
Extensions | Extensions let you register a service program to intercept and respond to subscribed OpenEvent messages, enabling notifications and process control for specific events. |