All Products
Search
Document Center

DataWorks:Handle governance issues

Last Updated:Aug 15, 2023

After you enable a governance plan template provided by DataWorks and configure the governance items, the system detects governance issues based on the configured governance items for the specified tenant. On the Workbench page of DataWorks, you can view the total numbers of governance issues for tables and nodes, the ranking list of workspaces based on the number of governance issues that need to be handled, the types of governance issues, and the details of the related nodes or tables. This allows you to handle the issues at the earliest opportunity. This topic describes how to view and handle governance issues.

Prerequisites

Background information

  • Governance issues are detected based on the governance items that you configure for checking data of the current account. DataWorks can help you handle governance issues.

  • The health score is calculated based on the governance items and the built-in health assessment model. A rating grade is provided based on your health score. For more information about health scores, see Health scores.

DataWorks allows you to view the governance issues for the specified tenant from different perspectives, such as global perspective, workspace perspective, and personal perspective. The health score decreases with the increase in the number of governance issues. If the health score is low, a low rating grade is given. To achieve your data governance goals, you must handle issues at the earliest opportunity.

Limits

  • Only Alibaba Cloud accounts or RAM users to which the AliyunDataWorksFullAccess policy is attached can view governance issues from the global perspective. To view governance issues from the global perspective as a RAM user, make sure that the RAM user that you use is granted the required permissions. For more information, see User roles.

  • Only workspace administrators can view governance issues from the workspace perspective. To view the governance issues of a workspace, you must be the administrator of the workspace. For more information, see Manage permissions on workspace-level services.

  • A common user can view governance issues only from the personal perspective. In this case, the ranking list for governance issues is not displayed.

Precautions

Data Governance Center allows you to handle governance issues of only MaxCompute and E-MapReduce (EMR) data sources. For information about the types of data sources to which each governance item can apply, check the Applicable Connection column on the Development tab of the Knowledge Base page.

View and handle governance issues

  1. Log on to the DataWorks console. In the left-side navigation pane, choose Data Governance > Data Governance Center. On the page that appears, select the desired workspace from the drop-down list and click Go to Data Governance Center.

  2. Click Workbench in the top navigation bar. In the left-side navigation pane, click Governance issues. The Governance issues page appears.

  3. View and handle governance issues.

    On the Governance issues page, you can view the numbers and types of governance issues for the current account or a specific workspace from the global, personal, or workspace perspective. You can also view the details of the nodes and tables on which the issues are detected. DataWorks provides solutions to help you resolve different issues in a quick manner. This helps you improve data quality and achieve your data governance goals. The following figure shows the Governance issues page from the global perspective. The following table describes the areas on the Governance issues page. Data Governance Center - Workbench

    Area

    Description

    1

    You can select a perspective to view the governance issues in this area.

    • Global perspective: displays the governance issues of all DataWorks workspaces of the specified tenant.

    • Workspace perspective: displays the governance issues of the workspace of which the current account is the administrator. From this perspective, you can select a workspace from the Workspace drop-down list to the right of Personal perspective.

      Note

      You can select all workspaces by using an Alibaba Cloud account or a RAM user to which the AliyunDataWorksFullAccess policy is attached.

    • Personal perspective: displays the governance issues for data of the current account. In this case, the value of the Owner parameter is the name of the current account.

    Note
    • Only Alibaba Cloud accounts or RAM users to which the AliyunDataWorksFullAccess policy is attached can view governance issues from the global perspective. To view governance issues from the global perspective as a RAM user, make sure that the RAM user that you use is granted the required permissions. For more information, see User roles.

    • Only workspace administrators can view governance issues from the workspace perspective. To view the governance issues of a workspace, you must be the administrator of the workspace. For more information, see Manage permissions on workspace-level services.

    • A common user can view governance issues only from the personal perspective. In this case, the ranking list for governance issues is not displayed.

    2

    In this area, you can view the total numbers of nodes and tables of the data sources and related governance issues that need to be optimized from the current perspective. In addition, you can view the number of detected governance issues and the result of data governance on a daily basis.

    3

    This area displays the ranking list of workspaces based on the number of governance issues that need to be handled on the R&D, quality, security, computing, and storage tabs. You can handle governance issues of the workspace that ranks high in the list.

    Find the desired workspace and click the number in the Number of optimizable items column. Then, you can view the details of the governance issues that can be optimized in the workspace in Area 4.

    4

    In this area, you can view governance issues on the R&D, quality, security, computing, and storage tabs. On each tab, you can specify filter conditions, including Workspace, Target, Optimizable item, Connection, and Owner, to view the number and details of governance issues that meet your filter conditions. The details of the governance issues include the table or node on which the issue is detected, workspace, IDs of conflicted nodes, and deducted points from the health score. Click to view details is displayed below the Owner field. You can click this option to view solutions for governance issues.

    Note

    Data Governance Center allows you to handle governance issues of only MaxCompute and E-MapReduce (EMR) data sources. For information about the types of data sources to which each governance item can apply, check the Applicable Connection column on the Development tab of the Knowledge Base page.

    In addition, you can perform the following operations for data governance based on your business requirements:

    1. View a table in a panoramic view.

      Find the desired table and click Table 360 in the Actions column to view the information about the table in the sections such as Basic information, Governance issues, Task execution information on the table details page.

    2. Handle governance issues.

      If a governance issue does not need to be handled, find the governance issue and click Add whitelist in the Operation column to add the governance issue to a whitelist. This way, DataWorks no longer detects this governance issue within the validity period of the whitelist. You can also select multiple governance issues and add them to the whitelist at the same time. After you add governance issues to a whitelist, you can manage the whitelist on the White list page. For more information, see Add invalid governance issues to a whitelist.

What to do next

After you handle the governance issues, you can go to the Assessment page and view the governance results on the Report and Rank tabs. For more information, see View data governance results.