Method and device for storing and reading data in hadoop distributed file system (HDFS)
A data and cold data technology, applied in the field of data storage and reading, can solve the problems of high storage and reading costs of cold data, and achieve the effect of reducing high storage costs, reducing the number of losses, and reducing storage costs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0023] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0024] refer to figure 1 , shows a flow chart of an embodiment of a method for storing data in HDFS of the present invention, including: step S11, obtaining the hot and cold values of file data blocks in HDFS through a data cold and hot discrimination mechanism, and comparing the cold and hot values with The set discrimination threshold is compared; step S12, if the hot and cold values are not greater than the discrimination threshold, then the file data block is cold data; step S13, the file data block of the cold data is divided into n blocks , and calculate the m check code blocks corresponding to the n data blocks, wherein m, n are positive integers, and m<n; step S14, the n data blocks and the m check code blocks to st...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com