Skip to content

liuyq-617/TD-Spark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

What is TD-Flink

a java project,read from TDengine and write to TDengine on Spark.

Building

Install build dependencies

To install openjdk-8 and maven:

sudo apt-get install -y openjdk-8-jdk maven 

To install Spark:

wget https://www.apache.org/dyn/closer.lua/spark/spark-3.2.1/spark-3.2.1-bin-hadoop3.2.tgz
tar zxf spark-3.2.1-bin-hadoop3.2.tgz -C /usr/local

Build

mvn clean package

Run

  • run the job
spark-submit --master local --name TDenginetest --class com.taosdata.java.SparkTest /testSpark-1.0-SNAPSHOT-dist.jar

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages