LDMS Groups
After registering databases and tables in LDMS, you can manage Hudi tables by group. This includes performing operations such as asynchronous compaction, cleaning, and archiving.
This section describes how to add, edit, and delete groups in LDMS.
Prerequisites
- The LDMS and its dependent services have been installed in the cluster and are running properly.
- A user who is in the ldmsadmin or supergroup user group has been created. For details, see LDMS User Permission Management.
- The Hudi tables to be grouped have been registered on LDMS.
Adding a Group
- Log in to FusionInsight Manager as an LDMS administrator and choose Cluster > Services > LDMS.
- In the Basic Information area on the Dashboard tab page, click the link next to LDMSServer UI. The LDMSServer UI is displayed.
- Choose Groups > Add Group and set group parameters.
- For details about how to set group parameters, see Table 1.
Table 1 LDMS group parameters Parameter
Description
Default Value
Group
Name of the job group.
None
Group Type
Type of the job group. The value is Hudi table management.
Hudi table management
First Scheduling Latency(second)
Delay, in seconds, before the first scheduling attempt begins.
0
Scheduling Period(second)
Interval, in seconds, between successive job scheduling cycles.
None
- For details about how to set resource parameters, see Table 2.
Table 2 LDMS resource parameters Parameter
Description
Default Value
driver-cores
Number of driver cores required for Spark job submission
2
driver-memory
Memory size required by the driver for Spark job submission
2 GB
executor-cores
Number of executor cores required for Spark job submission
2
executor-memory
Memory size required by the executor for Spark job submission
2 GB
num-executor
Number of executors required for Spark job submission
2
queue
Resource queue used for job submission
None
When you create a group for the first time, the resource parameters are empty. If you do not configure these parameters, the system uses the default values.
- Custom parameters
To configure additional parameters for the grouping task, toggle on Custom and enter them using the following format: set key1=value1;set key2=value2;set key3=value3
Example: set hoodie.compact.inline = true;set hoodie.compact.inline.max.delta.commits = 2;set hoodie.cleaner.commits.retained = 1;set hoodie.clean.automatic = true;set hoodie.keep.min.commits = 2;set hoodie.keep.max.commits = 3;set hoodie.archive.automatic = true;
- For details about how to set group parameters, see Table 1.
- Select a database, select the Hudi tables to be managed, and move them from the Not grouped area to the Grouped area.
- Click OK. The group is added.
After a group is created, its scheduling status transitions from INIT to RUNNING and finally to FINISHED. The FINISHED status indicates that the initial scheduling task is complete.
Managing Groups
- Log in to FusionInsight Manager as an LDMS administrator and choose Cluster > Services > LDMS.
- In the Basic Information area on the Dashboard tab page, click the link next to LDMSServer UI. The LDMSServer UI is displayed.
Editing a group
- Choose Groups and click Edit in the Operation column for the target group to modify its information. For detailed parameters, see 3.
Deleting a group
- Choose Groups. In the Operation column for the target group, click Delete. In the displayed dialog box, click OK to confirm the deletion.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot