Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
hbase [2015/08/18 10:26]
steve
hbase [2015/08/18 10:28]
steve
Line 74: Line 74:
 <​code>​ <​code>​
 hbase org.apache.hadoop.hbase.mapreduce.Export table_name /​tmp/​table_name hbase org.apache.hadoop.hbase.mapreduce.Export table_name /​tmp/​table_name
 +</​code>​
 +
 +** Importing a table: **
 +
 +From the docs: "​Import is a utility that will load data that has been exported back into HBase."​ [[http://​hbase.apache.org/​book.html#​_import|Source]]
 +
 +<​code>​
 +hbase -Dhbase.import.version=0.94 org.apache.hadoop.hbase.mapreduce.Import <​tablename>​ <​inputdir>​
 </​code>​ </​code>​