InterviewSolution
Saved Bookmarks
| 1. |
Give the commands to add a new column family “(newcolfamily”) to a table (“tablename”) which has a existing column family(“oldcolfamily”). |
Answer» Hbase > disable ‘tablename’Hbase > alter ‘tablename’ {NAME => ‘oldcolfamily’,NAME=>’newcolfamily’}Habse > enable ‘tablename’
|
|