From a729af262d69112c135ce48c049ce2eb1823b4f7 Mon Sep 17 00:00:00 2001 From: TomShawn <1135243111@qq.com> Date: Thu, 27 Feb 2020 10:35:30 +0800 Subject: [PATCH] how-to/get-started: change tispark-sample-data download address --- how-to/get-started/tispark.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/how-to/get-started/tispark.md b/how-to/get-started/tispark.md index 7dd34d15526a0..d76be15eb4106 100644 --- a/how-to/get-started/tispark.md +++ b/how-to/get-started/tispark.md @@ -18,10 +18,10 @@ To make it easy to [try TiSpark](/reference/tispark.md), the TiDB cluster instal spark/jars/tispark-SNAPSHOT-jar-with-dependencies.jar ``` -- TiSpark sample data and import scripts are deployed by default in the TiDB Ansible directory. +- TiSpark sample data and import scripts can be downloaded from [TiSpark sample data](http://download.pingcap.org/tispark-sample-data.tar.gz). ``` - tidb-ansible/resources/bin/tispark-sample-data + tispark-sample-data/ ``` ## Prepare the environment @@ -53,7 +53,9 @@ Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode) Assume that the TiDB cluster is started. The service IP of one TiDB instance is `192.168.0.2`, the port is `4000`, the user name is `root`, and the password is null. ``` -cd tidb-ansible/resources/bin/tispark-sample-data +wget http://download.pingcap.org/tispark-sample-data.tar.gz +tar -zxvf tispark-sample-data.tar.gz +cd tispark-sample-data ``` Edit the TiDB login information in `sample_data.sh`. For example: