Unlock instant, AI-driven research and patent intelligence for your innovation.

A metadata reading method and device based on a Hive data warehouse

A technology of data warehouse and reading device, which is applied in the field of data reading and can solve problems such as inflexible use

Pending Publication Date: 2019-06-14
AEROSPACE INFORMATION
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The emergence of Apache Sentry has basically solved the security management and control problem of the Hive data warehouse, but it has a disadvantage: for business systems that need to control the operation security of the Hive data warehouse, a data table from roles to permissions is maintained, and each time the user needs to operate the Hive data Warehouse, Sentry will check the legitimacy of permissions before operation to achieve the purpose of control
[0009] As for the solution to read the metadata database, because the metadata database configuration of the business system is different in different environments, and in many cases, the user password of the metadata database will not be disclosed for security, so the use is still inflexible

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
  • A metadata reading method and device based on a Hive data warehouse
  • A metadata reading method and device based on a Hive data warehouse

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] In order to achieve more efficient and convenient reading of the metadata of the Hive data warehouse, the embodiment of the present invention provides a method for reading metadata based on the Hive data warehouse. The process of the method is as follows figure 1 As shown, the execution steps are as follows:

[0055] S11: Receive a read request carrying key fields sent by the security management and control system.

[0056] There are a lot of metadata in the Hive data warehouse. When users need to read some of the metadata, they can send key fields to read. The security control system will only send the key fields after screening the user identity. read request.

[0057] S12: Determine whether the metadata corresponding to the key field is stored in the local cache, if it is determined that the metadata corresponding to the key field is stored in the local cache, then execute S13; if it is determined that the metadata corresponding to the key field is not stored in the...

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 metadata reading method and device based on a Hive data warehouse. The method comprises the steps of receiving a reading request which is sent by a security management and control system and carries a key field; determining whether metadata corresponding to the key field is stored in a local cache or not; if it is determined that the metadata corresponding to the key field is stored in the local cache, sending a reading response carrying the metadata corresponding to the key field to the security management and control system; and if it is determined that the metadatacorresponding to the key field is not stored in the local cache, reading the metadata corresponding to the key field from the Hive data warehouse in a currently effective first reading mode, and sending a reading response carrying the metadata corresponding to the key field to the security management and control system. According to the scheme, an efficient and convenient metadata reading mode can be realized.

Description

technical field [0001] The invention relates to the technical field of data reading, in particular to a metadata reading method and device based on a Hive data warehouse. Background technique [0002] With the improvement of big data technology, more and more enterprises start to use Hadoop platform to manage their own data resources. Hive is a data warehouse tool based on Hadoop, which can map structured data files into a database table, and provides a simple structured query language (Structured Query Language, SQL) query function, which can convert SQL statements into MapReduce tasks to run. Its advantage is that the learning cost is low, and simple MapReduce statistics can be quickly realized through SQL statements, without the need to develop special MapReduce applications, which is very suitable for statistical analysis of data warehouses. At the same time, as a member of the Hadoop ecosystem, Hive has the ability to manage massive data, and can perform statistical a...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/28G06F16/2455
Inventor 赖新明林文辉王杰斌杨硕邓应强
Owner AEROSPACE INFORMATION