1. Start by creating a table to support multiple versions of hbase
create 'dsi2018s03:testVersion',{NAME => 'f1', VERSIONS => 2}
2.put few test data
put 'dsi2018s03:testVersion','10001','f1:name','jack1' put 'dsi2018s03:testVersion','10001','f1:name','jack2'
3. Read multiple versions of data
get way
get 'dsi2018s03:testVersion','10001',{VERSIONS => 2}
scan mode
scan 'dsi2018s03:testVersion',{VERSIONS => 2}