Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.16.0
Description
Came around this while converting some UTs from HBASE-22567 to use HBCKMetaTableAccessor. When calling HBCKMetaTableAccessor.deleteRegionInfo, I'm getting error as shown below, because list returned by Arrays.asList apparently does not implement delete method:
java.lang.UnsupportedOperationException at java.util.AbstractList.remove(AbstractList.java:161) at org.apache.hadoop.hbase.client.HTable.delete(HTable.java:522) at org.apache.hbase.HBCKMetaTableAccessor.deleteFromMetaTable(HBCKMetaTableAccessor.java:136) at org.apache.hbase.HBCKMetaTableAccessor.deleteRegionInfo(HBCKMetaTableAccessor.java:89) at org.apache.hbase.TestHBCK2.testReportMissingRegionsInMetaSpecificTblAndNsTblAlsoMissing(TestHBCK2.java:225) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Attachments
Issue Links
- links to