On this page

Show all

Selecting an API Type

Updated on 2022-09-15 GMT+08:00

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.

  • All MRS versions support the V1.1 APIs.
  • For MRS 1.X clusters, MRS 1.8.7 or later supports the V2 APIs.
  • For MRS 2.X clusters, MRS 2.0.3 or later supports the V2 APIs.

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.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback