From b7250afd634e520a741943212d9982fa6d4e99d0 Mon Sep 17 00:00:00 2001 From: TomShawn <1135243111@qq.com> Date: Thu, 27 Feb 2020 10:48:27 +0800 Subject: [PATCH] how-to/get-started: change tispark-sample-data download address for v3.0 --- 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 f01e2550524a0..43017cc58645a 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-${name_with_version}.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 @@ -62,7 +62,9 @@ Assume that the TiDB cluster is started. The service IP of one TiDB instance is {{< copyable "shell-regular" >}} ```bash -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: