Skip to content

Commit 73d8256

Browse files
author
jackylk
committed
fix CLI bug
2 parents 28e228f + 2e0b42a commit 73d8256

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

examples/spark-hbase-demo1.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
In this example, we create SparkSQL table and map it to a existing HBase table. (a single column map to hbase rowkey)
33

44
Steps:
5+
56
(1) Create table and populate data in HBase shell
67
```
78
$HBase_Home/bin/hbase shell

examples/spark-hbase-demo2.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,10 @@ Tables :
1717
hbase : hbase_teacher
1818

1919
Fields :
20-
2120
[grade,int]
22-
2321
[class,int]
24-
2522
[subject,string]
26-
2723
[teacher_name,string]
28-
2924
[teacher_age,int]
3025

3126
key columns : grade,class,subject

examples/spark-hbase-demo3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## Example 3: Similar to example 2, but with larger sample file
22
In this example, we create a new SparkSQL table and map it to a new HBase table with multiple column in rowkey.
33

4-
(2) Create table in SparkSQL and in HBase
4+
(1) Create table in SparkSQL and in HBase
55
```
66
$SPARK_HBASE_HOME/bin/hbase-sql
77
CREATE TABLE sales1m(id STRING, product STRING, region STRING, sales INTEGER, quantity INTEGER, PRIMARY KEY (id, product, region)) MAPPED BY (hbase_sales1m, COLS=[sales=f.sales, quantity=f.quantity]);

0 commit comments

Comments
 (0)