检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
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.
" : "2x414788a5112333a02390e2eb0ea227" } Status Codes Status Code Description 200 OK 400 500 bad request server error Error Codes For details, see Error Codes.
Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize.
The rules for matching ports and security protocols must be as follows: port 21007 matches the security mode (SASL_PLAINTEXT), and port 9092 matches the common mode (PLAINTEXT). monTime 0 (Disabled) Specifies the thread monitoring threshold.
Software Versions Required by Different Models A resource pool for elastic clusters can use either Elastic Bare Metal Servers (BMSs) or Elastic Cloud Servers (ECSs) as nodes. Each node model has its own operating system (OS) and compatible CCE cluster versions.
Pushing Device Model Addition Notifications Typical Scenario After an NA subscribes to device model addition notifications (the notification type is deviceModelAdded) on the IoT platform, the IoT platform sends a notification message to the NA when a device profile file is added on
Pushing Device Model Deletion Notifications Typical Scenario After an NA subscribes to device model deletion notifications (the notification type is deviceModelDeleted) on the IoT platform, the IoT platform sends a notification message to the NA when a device profile file is deleted
Pushing Device Model Addition Notifications Typical Scenario After an NA subscribes to device model addition notifications (the notification type is deviceModelAdded) on the IoT platform, the IoT platform sends a notification message to the NA when a device profile file is added on
API Description Callback URL https://server:port/v1.0.0/messageReceiver Callback API def handleDeviceModelAdded(self) Class PushMessageReceiver Parameter Description The input parameter is request.json.
Pushing Device Model Deletion Notifications Typical Scenario After an NA subscribes to device model deletion notifications (the notification type is deviceModelDeleted) on the IoT platform, the IoT platform sends a notification message to the NA when a device profile file is deleted
API Description Callback URL https://server:port/v1.0.0/messageReceiver Callback API def handleDeviceModelDeleted(self) Class PushMessageReceiver Parameter Description The input parameter is request.json.
Logging In to an MRS Cluster Node This section describes how to log in to a node in an MRS cluster and manage or maintain the cluster. You can log in to a cluster node using VNC provided on the Elastic Cloud Server (ECS) console. For more information about ECS, see What Is ECS?
Synchronization for Existing Nodes (labels and taints) and Synchronization for Existing Nodes (labels) can be modified synchronously for existing nodes (by selecting the check boxes). The updated resource tag information in the node pool is synchronized to its nodes.
SBD volume High I/O Shared disk (SCSI) 10 GB /usr/sap volume High I/O Non-shared disk 100 GB Swap volume High I/O Non-shared disk 10 GB Table 6 Recommended log and data volume specifications for E3 ECSs Flavor Log Volume Size (GB) Data Volume Size e3.7xlarge.12 200 2 x 250 GB EVS
/services/cce/v3/model" region "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/cce/v3/region" ) func main() { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great security risks.
Table 5 Recommended number of master nodes Cluster Size Recommended Number of Master Nodes Performance Expectation Small (< 10 nodes) 3 Basic high availability Medium (50 > number of nodes ≥ 10) 3 or 5 Balanced performance and high availability Large (≤ 50 nodes) 5 or 7 Enhanced fault
Table 5 Recommended number of master nodes Cluster Size Recommended Number of Master Nodes Performance Expectation Small (< 10 nodes) 3 Basic high availability Medium (50 > number of nodes ≥ 10) 3 or 5 Balanced performance and high availability Large (≤ 50 nodes) 5 or 7 Enhanced fault
/cce/v3/model" region "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/cce/v3/region" ) func main() { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great security risks.
e) { e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId()); System.out.println(e.getErrorCode()); System.out.println(e.getErrorMsg()); } } } Create a node pool
Scenarios System disk When a server is created, a system disk is automatically initialized with Master Boot Record (MBR). New data disk If a data disk is created together with a server, EVS automatically attaches it to the server.