Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
how-to/get-started: change tispark-sample-data download address for v…
…3.0 (#1878)
  • Loading branch information
TomShawn committed Feb 27, 2020
1 parent 5fc4712 commit 42b295b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions how-to/get-started/tispark.md
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 42b295b

Please sign in to comment.