Updated on 2026-06-27 GMT+08:00

LakeHouse Data Management Service

LDMS Introduction

Lakehouse Data Management Service (LDMS) is a critical service management component in the Lakehouse ecosystem. It is designed to simplify and enhance the management and use of Lakehouse table formats such as Hudi. With the asynchronous table service, and monitoring and alarm functions, LDMS helps you manage and maintain the Lakehouse component more efficiently.

The LDMS has the following features:

  • Scalability: Developed based on Spring Boot, LDMS is highly scalable to meet varying scales of services.
  • Table hosting: LDMS can access and scan the Hive Metastore to host and maintain Lakehouse table formats.
  • Job scheduling: LDMS submits hosted table service jobs to YARN based on scheduling and grouping policies, and then performs O&M operations on asynchronous table services through Spark. For example, you can create a scheduled asynchronous compaction job for the Hudi table to optimize table performance.
  • Scheduled monitoring: LDMS periodically monitors the health status of the hosted Lakehouse tables.
  • Exception detection: LDMS triggers an alarm when it detects an exception in the table status, such as long-time inactivity of compaction on the Hudi MOR tables, oversized log files, or excessive metadata. This helps handle the exception in a timely manner to prevent further deterioration of the table status.

Notes and Constraints for Using LDMS

  1. Currently, LDMS supports only asynchronous execution of compaction, clean, and archive operations on Hudi tables.
  2. Currently, LDMS supports up to two LDMS Servers for serving external systems. This configuration allows a maximum of 100 group tasks, with each group task capable of managing up to 20 standard Hudi tables.
  3. To manage ultra-large Hudi tables—those exceeding 100 million records or 1 TB of storage—you must add a group task and allocate appropriate resources for maintenance.

LDMS Structure

Figure 1 LDMS structure
  1. A user accesses the LDMS Server through the Web UI.
  2. LDMS internal metadata is stored in an independent database of DBService. The LDMS Server connects to DBService through a JDBC connector to perform CRUD operations.
  3. The LDMS Server periodically accesses HMS through the Hive Metastore API to obtain metadata of all Lakehouse tables. (Currently, only the metadata of Hudi tables can be obtained.)
  4. The LDMS Server periodically submits the generated asynchronous table service jobs to YARN and monitors the job running status in real time. (Currently, only Spark tasks can be submitted.)