iotdb | Apache IoTDB | Time Series Database library

 by   apache Java Version: v1.1.1 License: Apache-2.0

kandi X-RAY | iotdb Summary

kandi X-RAY | iotdb Summary

iotdb is a Java library typically used in Database, Time Series Database applications. iotdb has no bugs, it has build file available, it has a Permissive License and it has medium support. However iotdb has 1 vulnerabilities. You can download it from GitHub, Maven.

IoTDB (Internet of Things Database) is a data management system for time series data, which can provide users specific services, such as, data collection, storage and analysis. Due to its light weight structure, high performance and usable features together with its seamless integration with the Hadoop and Spark ecology, IoTDB meets the requirements of massive dataset storage, high throughput data input, and complex data analysis in the industrial IoT field.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              iotdb has a medium active ecosystem.
              It has 3228 star(s) with 866 fork(s). There are 99 watchers for this library.
              There were 1 major release(s) in the last 12 months.
              There are 240 open issues and 430 have been closed. On average issues are closed in 98 days. There are 130 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of iotdb is v1.1.1

            kandi-Quality Quality

              iotdb has 0 bugs and 0 code smells.

            kandi-Security Security

              iotdb has 1 vulnerability issues reported (0 critical, 1 high, 0 medium, 0 low).
              iotdb code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              iotdb is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              iotdb releases are available to install and integrate.
              Deployable package is available in Maven.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed iotdb and discovered the below as its top functions. This is intended to give you an instant insight into iotdb implemented functionality, and help decide if they suit your requirements.
            • Checks if the plan is actually executed .
            • Merges the paths between a sequence of times .
            • Load a ts file from unSequence list
            • Generate aligning by device .
            • Method executeBatchStatement .
            • Check the match index for the node .
            • Derive the inner hash .
            • Adds a node to the cluster .
            • Prints the chunk .
            • Commit the given commit index to the given commitIndex .
            Get all kandi verified functions for this library.

            iotdb Key Features

            No Key Features are available at this moment for iotdb.

            iotdb Examples and Code Snippets

            No Code Snippets are available at this moment for iotdb.

            Community Discussions

            QUESTION

            Will it writes data in the memory firstly in Apache IoTDB?
            Asked 2022-Apr-15 at 02:21

            Before flushing the data, will it writes data in the memory firstly in Apache IoTDB?

            ...

            ANSWER

            Answered 2022-Apr-15 at 02:21

            The memory cache will be written first, but there is also wal to prevent sudden power failure and data loss. You can try to increase the synchronous disk interval (force_wal_period_in_ms) of the wal, or put the wal on the solid state disk (wal_dir) alone, or even try to turn off the wal (enable_wal).

            Source https://stackoverflow.com/questions/71870685

            QUESTION

            Why did the time of the data change after I used groupby with apache iotdb database
            Asked 2022-Mar-31 at 05:15

            Why did the time of the data change after I used groupby with apache iotdb database?the original timestamp is 17:52:05.050+08:00. run the sql"group by". i found the timestamp became"17:51:44". it looks strange. looing for the explanation. enter image description here

            ...

            ANSWER

            Answered 2022-Mar-31 at 05:15

            when doing “Group by” it will offset the time to align... If you want to keep the original time, change the start time in "Group BY"

            Source https://stackoverflow.com/questions/71676147

            QUESTION

            Confliction between iotdb-session and hive-jdbc when using apache iotdb database
            Asked 2022-Mar-24 at 01:49

            Experts, We have a maven project with following dependencies in porn.xml.

            ...

            ANSWER

            Answered 2022-Mar-24 at 01:49

            This is due to thrift dependency conflict between iotdb-session and hive. Try to use mvn dependency:tree to see which dependency conflicts with iotdb-session. Then, use to remove the dependency

            Source https://stackoverflow.com/questions/71571065

            QUESTION

            query when disk is full and then the error is reported on Apache IoTDB Database
            Asked 2022-Mar-11 at 02:03

            2022-03-09 10:17:10,158 [pool-12-IoTDB-RPC-Client-1] WARN o.a.i.d.u.ErrorHandlingUtils:61 - Status code: INTERNAL_SERVER_ERROR(500), operation: "select count(tenantId$s) from root.benchmark.type.model_850_7.device_model850_15". executeStatement failed java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Invalid input: 95 at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at org.apache.iotdb.db.service.thrift.impl.TSServiceImpl.executeStatement(TSServiceImpl.java:637) at org.apache.iotdb.service.rpc.thrift.TSIService$Processor$executeStatement.getResult(TSIService.java:2853) at org.apache.iotdb.service.rpc.thrift.TSIService$Processor$executeStatement.getResult(TSIService.java:2833) at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:38) at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:38) at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:248) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:750) Caused by: java.lang.IllegalArgumentException: Invalid input: 95 at org.apache.iotdb.tsfile.file.metadata.enums.MetadataIndexNodeType.deserialize(MetadataIndexNodeType.java:70) at org.apache.iotdb.tsfile.file.metadata.MetadataIndexNode.deserializeFrom(MetadataIndexNode.java:107) at org.apache.iotdb.tsfile.read.TsFileSequenceReader.getMetadataAndEndOffset(TsFileSequenceReader.java:980) at org.apache.iotdb.tsfile.read.TsFileSequenceReader.getLeafMetadataIndexPair(TsFileSequenceReader.java:471) at org.apache.iotdb.tsfile.read.TsFileSequenceReader.readTimeseriesMetadata(TsFileSequenceReader.java:443) at org.apache.iotdb.db.engine.cache.TimeSeriesMetadataCache.get(TimeSeriesMetadataCache.java:194) at org.apache.iotdb.db.utils.FileLoaderUtils.loadTimeSeriesMetadata(FileLoaderUtils.java:168)

            ...

            ANSWER

            Answered 2022-Mar-11 at 02:03

            You can do this if you have another disk:

            1. Add the path of the second disk to data_dir in the iOTDB configuration file

            2. Move some TS files from the first disk to the second disk

            Source https://stackoverflow.com/questions/71423289

            QUESTION

            Apache IoTDB compiling error :maven-download-plugin has wget (get-thrift-executable) EOFException
            Asked 2022-Mar-04 at 05:43

            Apache IoTDB compiling error :maven-download-plugin has wget (get-thrift-executable) EOFException

            ran "mvn clean package -pl distribution -am -DskipTests" and then received the error. [INFO] -------------------< org.apache.iotdb:iotdb-thrift >-------------------- [INFO] Building rpc-thrift 0.12.5-SNAPSHOT [4/17] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ iotdb-thrift --- [INFO] Deleting /Users/qiaojialin/Documents/git_workspace/incubator-iotdb/thrift/target [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (validate) @ iotdb-thrift --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven-version) @ iotdb-thrift --- [INFO] Skipping Rule Enforcement. [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-version-convergence) @ iotdb-thrift --- [INFO] Skipping Rule Enforcement. [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (vulnerability-checks) @ iotdb-thrift --- [INFO] Skipping Rule Enforcement. [INFO] [INFO] --- spotless-maven-plugin:2.4.2:check (spotless-check) @ iotdb-thrift --- [INFO] [INFO] --- download-maven-plugin:1.3.0:wget (get-thrift-executable) @ iotdb-thrift --- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Apache IoTDB Project Parent POM 0.12.5-SNAPSHOT: [INFO] [INFO] Apache IoTDB Project Parent POM .................... SUCCESS [ 8.961 s] [INFO] TsFile ............................................. SUCCESS [ 19.869 s] [INFO] sql-antlr .......................................... SUCCESS [ 4.801 s] [INFO] rpc-thrift ......................................... FAILURE [ 0.301 s] [INFO] rpc-thrift-cluster ................................. SKIPPED [INFO] rpc-thrift-sync .................................... SKIPPED [INFO] Service-rpc ........................................ SKIPPED [INFO] IoTDB Jdbc ......................................... SKIPPED [INFO] IoTDB Server ....................................... SKIPPED [INFO] IoTDB Session ...................................... SKIPPED [INFO] IoTDB Cli .......................................... SKIPPED [INFO] IoTDB Grafana ...................................... SKIPPED [INFO] cluster ............................................ SKIPPED [INFO] Compile Tools ...................................... SKIPPED [INFO] Tools: Thrift ...................................... SKIPPED [INFO] Client for cpp ..................................... SKIPPED [INFO] IoTDB Distribution ................................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 34.350 s [INFO] Finished at: 2022-03-02T10:31:28+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.googlecode.maven-download-plugin:download-maven-plugin:1.3.0:wget (get-thrift-executable) on project iotdb-thrift: IO Error: EOFException -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :iotdb-thrift

            ...

            ANSWER

            Answered 2022-Mar-04 at 05:43

            delete directory".m2/repository/.cache/download-maven-plugin". Then compile again. It will work.

            Source https://stackoverflow.com/questions/71347068

            QUESTION

            An error when trying to create continuous query on Apache IoTDB Database
            Asked 2022-Mar-03 at 09:56

            Describe the bug

            Today I wanted to create a continuous query, so I gave it a run. Already when running the first query I got from the documentation I got an error - and whatever I wrote, I got the same error:

            ...

            ANSWER

            Answered 2022-Feb-28 at 02:50

            CQ will come with 0.13.x. You can download IoTDB repo, checkout to the master branch, build and have a try :D

            Source https://stackoverflow.com/questions/71231502

            QUESTION

            Didn't get the ideal result when I COUNT the data GROUP BY day time using Apache IoTDB
            Asked 2022-Feb-25 at 10:15

            I want to COUNT the data GROUP BY day. SQL is shown below. However, the result is wrong. I only got one number rather than each day's number. Hope someone can help me with the SQL writing. Note: I use Apache IoTDB Database and the data is consumed by kafaka and written by flink.

            enter image description here

            ...

            ANSWER

            Answered 2022-Feb-25 at 10:15

            Your endTime in group by clause is less than your startTime, which is not right. And BTW, you should use the Unix timestamp instead.

            Source https://stackoverflow.com/questions/71247994

            QUESTION

            When using Apache IoTDB, an error keeps popping up(as shown below)
            Asked 2022-Feb-23 at 13:42

            org.apache.thrift.transport.TTransportException:java.net.SocketException:断开的管道(Write failed) at ora.apache.thrift.transport.TIOStreamTransport.flush(TIOStreamTransport.iava:213) at org.apache.iotdb.rpc.TElasticFramedTransport.flush(TElasticFramedTransport.java:140) at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:60) at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:38) at ora.apache.thrift.server.TThreadPoolServersWorkerProcess.run(TThreadPoolServer.iava:248) at iava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor,iava:1149) at iava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.iava:624 at java.lang.Thread.run(Thread.java:748) Caused by: java.net.SocketException:断开的管道(Write failed) at java.net.SocketOutputStream.socketWrite0(Native Method) at iava.net.SocketOutputStream.socketWrite(SocketOutputStream.iava:111) at iava.net.SocketOutputStream.write(SocketOutputStream.iava:155) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.iava:82) at java.io.BufferedOutputstream.flush(BufferedOutputStream.java:140) at org.apache.thrift.transport.TIOStreamTransport.flush(TIOStreamTransport.java:208) 7 common frames omittedenter image description here enter image description here

            ...

            ANSWER

            Answered 2022-Feb-23 at 13:42

            It's because creating close connections too frequently. You can use SessionPool to reuse connections.

            Source https://stackoverflow.com/questions/71229706

            QUESTION

            How often the TsFiles in Apache IoTDB be merged?
            Asked 2022-Feb-22 at 09:09

            I'm currently inserting data into IoTDB and I see some small TsFiles is merging into the large files. I would like to know how often the TsFiles be merged and how the merge process is triggered. Thanks!

            ...

            ANSWER

            Answered 2022-Feb-22 at 09:09

            In the 0.12.x IoTDB iotdb-engine.properties file, there is a configuration merge_fileSelection_time_budget=30000, which means if there are enough amount of TsFiles of one level existed (seq_file_num_in_each_level=6 or unseq_file_num_in_each_level=10), the merge task will start. After 30000ms then, IoTDB will check if there still are enough TsFiles existed and start the next merge task.

            Source https://stackoverflow.com/questions/71217704

            QUESTION

            In a 3-node cluster of Apache IoTDB, if one node breaks, will it affect the normal use of the entire cluster?
            Asked 2022-Feb-21 at 10:35

            I want to know more about Apache IoTDB Database too. In a 3-node cluster, if one node breaks, will it affect the normal use of the entire cluster? Thanks!

            ...

            ANSWER

            Answered 2022-Feb-21 at 10:35

            It depends on how many replicas you config. If you set the replica num >= 3, then if one replica breaks, it won't affect the normal use of the entire cluster.

            Source https://stackoverflow.com/questions/71204723

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install iotdb

            This short guide will walk you through the basic process of using IoTDB. For a more detailed introduction, please visit our website's User Guide.
            IoTDB provides three installation methods, you can refer to the following suggestions, choose the one fits you best:. Here in the Quick Start, we give a brief introduction of using source code to install IoTDB. For further information, please refer to User Guide.
            Installation from source code. If you need to modify the code yourself, you can use this method.
            Installation from binary files. Download the binary files from the official website. This is the recommended method, in which you will get a binary released package which is out-of-the-box.
            Using Docker:The path to the dockerfile is https://github.com/apache/iotdb/tree/master/docker/src/main
            Under the root path of iotdb:. After being built, the IoTDB server is located at the folder: "server/target/iotdb-server-{project.version}".
            Under the root path of iotdb:. After being built, the IoTDB cli is located at the folder "cli/target/iotdb-cli-{project.version}".

            Support

            see Frequent Questions when Compiling the Source Code.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link