Overview
Data Lake Insight (DLI) software development kits (SDKs) encapsulate the RESTful APIs provided by DLI to simplify development.
DLI offers support for two types of SDKs: one is the general SDK V3, and the other is the SDK developed by DLI (including DLI SDK V1 and DLI SDK V2).
This document describes how to use the SDK developed by DLI.
SDK |
Version |
Description |
How to Use |
---|---|---|---|
General SDK |
V3 |
The SDK V3 APIs are automatically generated from the YAML files defining the APIs, ensuring parameter consistency with the service's own APIs. You can directly call the API functions offered by SDK V3 to submit both DLI SQL and DLI Spark jobs, streamlining the development process. The SDK you download on the API Explorer page is the universal version SDK V3. |
|
SDK developed by DLI |
DLI SDK V1 |
SDKs developed by DLI, corresponding to the dli-sdk-x-1.x.x version in the DLI SDK installation package. |
This version will be deprecated and is not recommended. |
DLI SDK V2 |
SDKs developed by DLI based on the general SDK V3, corresponding to the dli-sdk-x-2.x.x version in the DLI SDK installation package. You can directly call DLI SDK V2 to submit both DLI SQL and DLI Spark jobs, streamlining the development process. Download the DLI SDK V2 installation package on the DLI management console.
NOTE:
Starting May 2024, new users can directly use DLI's SDK V2 without needing to have their accounts whitelisted. For users who started using DLI before May 2024, to use this function, they must submit a service ticket to have their accounts whitelisted. |
Submitting a SQL Job Using an SDK Submitting a Spark Job Using an SDK |

The DLI SDK calls APIs using HTTPS, with certificates utilized by the server.
DLI SDK Introduction
DLI SDKs encapsulate the RESTful APIs provided by DLI to simplify development. You can directly call the API functions offered by DLI SDKs to submit both DLI SQL and DLI Spark jobs.
- (Recommended )DLI SDK V3: automatically generates APIs from the YAML files defining the APIs, ensuring parameter consistency with the service's own APIs.
For details, see SDK V3.
- DLI SDK (self-developed): SDKs developed by the DLI team. This manual introduces the usage of DLI's self-developed SDKs.
- Operation guidance of DLI SDK V2:
- For details about how to use the Java SDK, see Java SDK (DLI SDK V2).
- For details about how to use the Python SDK, see Python SDK (DLI SDK V2).
- Operation guidance of DLI SDK V1 (not recommended):
- For details about how to use the Java SDK, see Java SDK (DLI SDK V1).
- For details about how to use the Python SDK, see Python SDK (DLI SDK V1).
- Operation guidance of DLI SDK V2:

The DLI SDK calls APIs using HTTPS, with certificates utilized by the server.
Feedback
Was this page helpful?
Provide feedbackThank 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