Skip to content

Commit

Permalink
Merge pull request pingcap#852 from pingcap/shenli/hbase-dsn
Browse files Browse the repository at this point in the history
docs: Update hbase docs
  • Loading branch information
shenli committed Jan 18, 2016
2 parents 4b0329e + bc0e191 commit 6066e25
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/HBASE_QUICKSTART.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,18 @@ tidb> select * from t1;
+----+-------+
2 rows in set (0.00 sec)
tidb>
```

Run TiDB server:

```
make server
cd tidb-server
./tidb-server -store=hbase -path="zkaddrs/hbaseTbl?tso=tsoType" -P=4000
DSN parameters:
zkaddrs is the address of zookeeper.
hbaseTbl is the table in hbase to store TiDB data.
tsoaddr is the type of tso sever. Its value could be zk or local.
Here is an example of dsn:
./tidb-server -store=hbase -path="zk1,zk2/test?tso=zk" -P=5000
```

0 comments on commit 6066e25

Please sign in to comment.