Skip to content

Commit

Permalink
fix CLI bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jackylk committed Jul 30, 2015
2 parents 28e228f + 2e0b42a commit 73d8256
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions examples/spark-hbase-demo1.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
In this example, we create SparkSQL table and map it to a existing HBase table. (a single column map to hbase rowkey)

Steps:

(1) Create table and populate data in HBase shell
```
$HBase_Home/bin/hbase shell
Expand Down
5 changes: 0 additions & 5 deletions examples/spark-hbase-demo2.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,10 @@ Tables :
hbase : hbase_teacher

Fields :

[grade,int]

[class,int]

[subject,string]

[teacher_name,string]

[teacher_age,int]

key columns : grade,class,subject
Expand Down
2 changes: 1 addition & 1 deletion examples/spark-hbase-demo3.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Example 3: Similar to example 2, but with larger sample file
In this example, we create a new SparkSQL table and map it to a new HBase table with multiple column in rowkey.

(2) Create table in SparkSQL and in HBase
(1) Create table in SparkSQL and in HBase
```
$SPARK_HBASE_HOME/bin/hbase-sql
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]);
Expand Down

0 comments on commit 73d8256

Please sign in to comment.