Updated on 2024-11-29 GMT+08:00

Selecting an API Type

Currently, MRS provides two types (V1.1 and V2) of APIs for cloud services with customized specifications. Only part of V2 APIs is available and mainly used for submitting jobs and SQL statements. If the API functions are the same, you are advised to use the V2 APIs first.

Based on the V1.1 APIs, the V2 APIs have the following enhancements:

  • Jobs can be submitted in a security cluster.
  • The HiveSQL, Spark Python, and Flink jobs are supported.
  • The SparkSQL and SparkScript results can be queried.

For details about the APIs and their functions, see API Overview.