Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and system for preventing mis-deleting of data in HBase

A technology for accidental deletion and data, applied in the field of data security, can solve problems such as data cannot be recovered

Active Publication Date: 2016-01-13
INSPUR BEIJING ELECTRONICS INFORMATION IND
View PDF3 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Sometimes Hbase users do not necessarily realize that the data table has been deleted in a short period of time after the deletion operation. After 5 minutes, the data cannot be recovered at all.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for preventing mis-deleting of data in HBase
  • Method and system for preventing mis-deleting of data in HBase
  • Method and system for preventing mis-deleting of data in HBase

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The core of the present invention is to provide a method and system for preventing accidental deletion of data in HBase, which can prevent accidental deletion of data in HBase and ensure data integrity in HBase.

[0041] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0042] Please refer to figure 1 , figure 1 A flow chart of the method for preventing accidental deletion of data in HBase...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for preventing mis-deleting of data in HBase. The method comprises the following steps: setting and storing the storage file of deleted data file in an HDFS catalogue according to user operation; setting a monitoring time period, and monitoring whether the cache folder of the Hbase in the HDFS catalogue has a newly increased data file according to the time period; if so, storing the newly increased data file to the storage file. The method can prevent mis-deleting of data in the HBase. The invention further discloses a system for preventing mis-deleting of data in HBase.

Description

technical field [0001] The invention relates to the technical field of data security, in particular to a method and system for preventing data from being deleted by mistake in HBase. Background technique [0002] HBase is a distributed, column-oriented open source database. All data files in HBase are stored on Hadoop's distributed file system HDFS. HBase supports horizontal expansion of data nodes, and the storage capacity also depends on the number of nodes. In a production environment, the data volume of HBase tables is generally relatively large, and the recovery cost of accidental deletion is relatively high. Although Hadoop's distributed file system HDFS has a recycle bin policy, it does not take effect for Hbase table data. [0003] Once the operation of deleting the Hbase table is performed, the metadata of Hbase will be deleted first, and then the data of each region (data partition) will be moved to a folder called "archive". Finally, the master main thread of Hb...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F21/64G06F17/30
CPCG06F16/13G06F16/172G06F16/182G06F21/64
Inventor 房体盈
Owner INSPUR BEIJING ELECTRONICS INFORMATION IND
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products