Export table to file system
For single machine deployment target directory can be on local file system (use file: instead of hdfs:)
1 |
hbase org.apache.hadoop.hbase.mapreduce.Export 'myns1:mytable1' 'hdfs://myserver1:9000/mytable1directory' |
Import into table from file system
1 |
hbase org.apache.hadoop.hbase.mapreduce.Import 'myns1:mytable1' 'hdfs://myserver1:9000/mytable1directory' |