Search code examples
hadoopinfluxdb

How to connect influxDB to hadoop to store influxdb data into hdfs?


Time series data are stored in the influxdb, but how to further connect influxdb with hadoop hdfs to store all influxdb data into HDFS.

How the data in influxDB can be transferred to hadoop for storage ?


Solution

  • InfluxDB doesn't have any customized tools for HDFS, but there are a few ways to export your data into a text file so that you can then insert the data into HDFS.

    The influx_inspect export CLI tool will create a text file in line protocol format. You can adjust formats by using the -format flag in the CLI if you need another type (CSV, JSON, and column are available). Getting that data into HDFS would then (hopefully) be much easier for you.