Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions v3.0/how-to/get-started/tispark.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ To make it easy to [try TiSpark](/v3.0/reference/tispark.md), the TiDB cluster i
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 download [here](http://download.pingcap.org/tispark-sample-data.tar.gz).
Copy link
Copy Markdown
Member

@lilin90 lilin90 Feb 10, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- TiSpark sample data and import scripts can download [here](http://download.pingcap.org/tispark-sample-data.tar.gz).
- TiSpark sample data and import scripts can be downloaded [here](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 @@ -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:
Expand Down