检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
IoTDB Sample Project To obtain an MRS sample project, visit https://github.com/huaweicloud/huaweicloud-mrs-example and switch to the branch that matches the MRS cluster version. Download the package to the local PC and decompress it to obtain the sample project of each component.
IoTDB Environment Preparations Preparing the Local Application Development Environment Preparing the Configuration Files for Connecting to the IoTDB Cluster Configuring and Importing a Sample Project Parent topic: IoTDB Development Guide (Normal Mode)
IoTDB Java API IoTDB provides a connection pool (SessionPool) for native APIs. When using the APIs, you only need to specify the pool size to obtain connections from the pool. If you cannot get a connection in 60 seconds, a warning log will be printed, but the program continues to
Application IoTDB Development IoTDB JDBC Sample Program IoTDB Session Sample Program IoTDB Flink Sample Program IoTDB Kafka Sample Program IoTDB UDF Sample Program Parent topic: IoTDB Development Guide (Security Mode)
IoTDB Development Process This section describes how to use Java APIs to develop IoTDB applications. Figure 1 and Table 1 describe the stages in the development process. Figure 1 IoTDB application development process Table 1 Description of the IoTDB application development process
Restoring IoTDB Metadata Scenario To ensure IoTDB metadata security and prevent the IoTDB service from being unavailable due to IoTDB file damage, IoTDB metadata needs to be backed up. In this way, the system can restore data timely when an exception is reported or an operation does
IoTDB Basic Principles Database for Internet of Things (IoTDB) is a software system that collects, stores, manages, and analyzes IoT time series data. Apache IoTDB uses a lightweight architecture and features high performance and rich functions. IoTDB sorts time series and stores
Manually Importing IoTDB Data Scenario This section describes how to use import-csv.sh to import data in CSV format to IoTDB. Prerequisites The client has been installed. For details, see . For example, the installation directory is /opt/client. The client directory in the following
Manually Exporting IoTDB Data Scenario This section describes how to use export-csv.sh to export data from IoTDB to a CSV file. Exporting data to CSV files may cause injection risks. Exercise caution when performing this operation. Prerequisites The client has been installed. For
Adding an IoTDB Data Source This section applies to MRS 3.2.0 or later. Add an IoTDB JDBC data source on HSConsole of a cluster in security mode. Prerequisites for Adding an IoTDB Data Source The domain name of the cluster where the data source is located must be different from that
IoTDB User Permission Management IoTDB User Permission Description Creating an IoTDB Permission Role Parent topic: Using IoTDB
IoTDB User Permission Description MRS supports users, user groups, and roles. Permissions must be assigned to roles and then roles are bound to users or user groups. Users can obtain permissions only by binding a role or joining a group that is bound with a role. In security mode,
Creating an IoTDB Permission Role Create and configure an IoTDB role on Manager as an MRS cluster administrator. An IoTDB role can be configured with IoTDB administrator permissions or a common user's permissions to read, write, or delete data. Prerequisites The MRS cluster administrator
IoTDB Common Configuration Parameters Scenario IoTDB uses the multi-replica deployment architecture to implement cluster high availability. Each region (DataRegion and SchemaRegion) has three replicas by default. You can also configure more replicas. If a node is faulty, replicas
IoTDB Application Development Overview Introduction to IoTDB IoTDB is a data management engine that integrates collection, storage, and analysis of time series data. It features lightweight, high performance, and ease of use. It perfectly interconnects with the Hadoop and Spark ecosystems
IoTDB UDF Sample Program Description This section describes how to implement a simple IoTDB user-defined function (UDF). For details, see section UDF Sample Code and Operations. Sample Code The following is an example code snippet: package com.huawei.bigdata.iotdb; import org.apache.iotdb.udf.api.UDTF
IoTDB Application Development Overview Introduction to IoTDB IoTDB is a data management engine that integrates collection, storage, and analysis of time series data. It features lightweight, high performance, and ease of use. It perfectly interconnects with the Hadoop and Spark ecosystems
IoTDB UDF Sample Program Description This section describes how to implement a simple IoTDB user-defined function (UDF). For details, see section UDF Sample Code and Operations. Sample Code The following is an example code snippet: package com.huawei.bigdata.iotdb; import org.apache.iotdb.udf.api.UDTF
IoTDB Session Sample Program Description Run the IoTDB SQL statement in Session connection mode. Sample Code The following code snippet is used as an example. For complete code, see com.huawei.bigdata.SessionExample. Change HOST_1, HOST_2, and HOST_3 to the service IP addresses of
IoTDB Kafka Sample Program Description This section describes how to use Kafka to send data to IoTDB. Sample Code Producer.java: This example shows how to send time series data to a Kafka cluster. Change the value of the public final static String TOPIC variable in the KafkaProperties.java