Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.4.11
-
None
Description
ROWPREFIXFILTER doesn't work when execute deleteall with table hbase:meta。
def _deleteall_internal(row, column = nil, timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, args = {}, all_version = true) # delete operation doesn't need read permission. Retaining the read check for # meta table as a part of HBASE-5837. if is_meta_table? raise ArgumentError, 'Row Not Found' if _get_internal(row).nil? end if row.is_a?(Hash) _deleterows_internal(row, column, timestamp, args, all_version) else d = _createdelete_internal(row, column, timestamp, args, all_version) @table.delete(d) end end
If we allow ROWPREFIXFILTER of deleteall on hbase:meta, we should fix the check condition,
If we don't allow, we should modify the exception message.