This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hbase(main):029:0> list 'personalnew' | |
TABLE | |
personalnew | |
1 row(s) in 0.0010 seconds | |
=> ["personalnew"] | |
hbase(main):030:0> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hbase(main):020:0> delete_snapshot 'personalSnapshot' | |
0 row(s) in 0.0380 seconds |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hbase(main):011:0> drop 'personal' | |
0 row(s) in 2.3520 seconds |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hbase shell> disable 'tableName' | |
hbase shell> snapshot 'tableName', 'tableSnapshot' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hbase(main):016:0> disable 'personal' | |
0 row(s) in 4.3270 seconds | |
hbase(main):017:0> snapshot 'personal', 'personalSnapshot' | |
0 row(s) in 0.4090 seconds |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hbase(main):016:0> disable 'personal' | |
0 row(s) in 4.3270 seconds | |
hbase(main):017:0> snapshot 'personal', 'personalSnapshot' | |
0 row(s) in 0.4090 seconds |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hbase(main):018:0> clone_snapshot 'personalSnapshot', 'test:personal' | |
0 row(s) in 0.4410 seconds |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hbase(main):019:0> scan 'test:personal' | |
ROW COLUMN+CELL | |
1 column=personal_data:age, timestamp=1517381138957, value=25 | |
1 column=personal_data:city, timestamp=1517381134473, value=Bengaluru | |
1 column=personal_data:name, timestamp=1517381128393, value=Ram | |
1 row(s) in 0.0260 seconds |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hbase(main):020:0> delete_snapshot 'personalSnapshot' | |
0 row(s) in 0.0380 seconds |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hbase(main):020:0> delete_snapshot 'personalSnapshot' | |
0 row(s) in 0.0380 seconds |