From da8abccead2a56855ad0de47337ada6b2d6e70db Mon Sep 17 00:00:00 2001 From: cooper-lzy <78672629+cooper-lzy@users.noreply.github.com> Date: Thu, 1 Jun 2023 14:23:44 +0800 Subject: [PATCH] update the jar files required for exchange --- .../use-exchange/ex-ug-import-from-kafka.md | 8 ++++++++ .../use-exchange/ex-ug-import-from-mysql.md | 2 ++ 2 files changed, 10 insertions(+) diff --git a/docs-2.0/nebula-exchange/use-exchange/ex-ug-import-from-kafka.md b/docs-2.0/nebula-exchange/use-exchange/ex-ug-import-from-kafka.md index 0af0d53066c..b81d2ef100a 100644 --- a/docs-2.0/nebula-exchange/use-exchange/ex-ug-import-from-kafka.md +++ b/docs-2.0/nebula-exchange/use-exchange/ex-ug-import-from-kafka.md @@ -28,6 +28,14 @@ Before importing data, you need to confirm the following information: - Spark has been installed. +- The following JAR files have been downloaded and placed in the directory `SPARK_HOME/jars` of Spark: + + - [spark-streaming-kafka_xxx.jar](https://mvnrepository.com/artifact/org.apache.spark/spark-streaming-kafka) + + - [spark-sql-kafka-0-10_xxx.jar](https://mvnrepository.com/artifact/org.apache.spark/spark-sql-kafka-0-10) + + - [kafka-clients-xxx.jar](https://mvnrepository.com/artifact/org.apache.kafka/kafka-clients) + - Learn about the Schema created in NebulaGraph, including names and properties of Tags and Edge types, and more. - The Kafka service has been installed and started. diff --git a/docs-2.0/nebula-exchange/use-exchange/ex-ug-import-from-mysql.md b/docs-2.0/nebula-exchange/use-exchange/ex-ug-import-from-mysql.md index 4d5ea6dc01a..76e075378dd 100644 --- a/docs-2.0/nebula-exchange/use-exchange/ex-ug-import-from-mysql.md +++ b/docs-2.0/nebula-exchange/use-exchange/ex-ug-import-from-mysql.md @@ -76,6 +76,8 @@ Before importing data, you need to confirm the following information: - Spark has been installed. +- [mysql-connector-java-xxx.jar](https://mvnrepository.com/artifact/mysql/mysql-connector-java) has been downloaded and placed in the directory `SPARK_HOME/jars` of Spark. + - Learn about the Schema created in NebulaGraph, including names and properties of Tags and Edge types, and more. - The Hadoop service has been installed and started.