Scenario:
Because "SNAPPY" is not installed in hbase in the Intranet test environment
Alter 'trojaninfo', {NAME => 'I', COMPRESSION => 'snappy '}
Force Delete table:
1. Force delete all files of the table on hdfs (The Path depends on the actual situation ):
./Hadoop fs-rmr/hbase/TrojanInfo
2. Delete the record of the table in HBase system table. META:
A. First, query the rowkey of the table TrojanInfo in. META. From. META., you can use scan '. META.' And then manually filter it;
B. Delete the three fields under the rowkey (assume that the queried rowkey is TrojanInfo, and 1361433390076.2636b5a2b3d08f23d2af9582f29bd8 .)
Delete 'trojaninfo', 'trojaninfo, 1361433390076.2636b5a2b3d08f23d2af9582f29bd8. ', 'info: Server'
Delete 'trojaninfo', 'trojaninfo, 1361433390076.2636b5a2b3d08f23d2af9582f29bd8. ', 'info: serverstartcode'
Delete 'trojaninfo', 'trojaninfo, 1361433390076.2636b5a2b3d08f23d2af9582f29bd8. ', 'info: regioninfo'
C. Restart hbase to delete the table TrojanInfo.