Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page
Help Center/ Data Security Center/ User Guide/ Data Asset Protection/ (Optional) Configuring GaussDB(DWS) and MRS Hive

(Optional) Configuring GaussDB(DWS) and MRS Hive

Updated on 2025-01-17 GMT+08:00

Before using database watermarks, you have to:

  1. Modify GaussDB(DWS) cluster parameters.

    To identify sensitive data and enable privacy protection, you must submit a service ticket to adjust the parameter javaudf_disable_feature of the GaussDB(DWS) cluster. If GaussDB(DWS) data is not involved, you do not need to change the value.

  2. Modify Hive User Rights

    To perform data watermark operations on MRS Hive data, you must assign related permissions to Hive users as the administrator Ranger.

Modifying Hive User Rights

  1. Log in to the management console.
  2. Click in the upper left corner and select a region or project.
  3. In the navigation tree on the left, click , and choose Analytics > MapReduce Service. The Dashboard page is displayed.
  4. In the cluster list, click the name of the target cluster. The cluster information page is displayed.
  5. Click Access Manager next to MRS Manager. In the dialog box that is displayed, click OK. The Manager login page is displayed.
  6. Enter the default username admin and the password set during cluster creation, and click Log In. The Manager page is displayed.
  7. Choose Cluster > Service > Ranger. The Ranger service overview page is displayed.
  8. Click RangerAdmin in the Basic Information area to go to the Ranger web UI. The type of the admin user in the Ranger is User. Therefore, only the Access Manager and Security Zone pages can be viewed. You need to switch to the rangeradmin user or another user who has the Ranger administrator rights.

    1. On the Ranger WebUI, click the username in the upper right corner and choose Log Out to log out the current user.
    2. Log in to the system again as user rangeradmin or another user who has the Ranger administrator rights.

  9. On the home page, click the plug-in name in the HADOOP SQL area, for example, Hive.
  10. On the Access tab page, click Add New Policy to add a Hive permission control policy.
  11. Set related parameters based on permission requirements. Set the key parameters described in Table 1. Retain the default values for other parameters.

    Table 1 Hive permission parameters

    Parameter

    Description

    Example Value

    Policy Name

    Policy name, which can be customized and must be unique in the service.

    dataarts_dsc

    Database

    Name of the Hive database to which the policy applies

    Change database to global. *, the policy takes effect globally.

    global: *

    Allow Conditions

    Policy allowed condition. You can configure permissions and exceptions allowed by the policy. In the Select Role, Select Group, and Select User columns, select the role, user group, or user to which the permission is to be granted, click Add Conditions, add the IP address range to which the policy applies, and click Add Permissions to add the corresponding permission.

    You need to configure the Select Group, Select User, and Add Permissions columns.

    • Select Group: Select the user group you want to use to watermark MRS Hive data.
    • Select User: Select the user you want to use to watermark MRS Hive data. If the user is already in the selected user group, you do not need to select it again.
    • Add Permissions: Select Select/Deselect All to select all permissions.

    Example:

    • Select Group: dayu_user
    • Select User: dgc_test
    • Add Permissions: All

  12. Click Add to view the basic policy information.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback