Computer and Modernization

Previous Articles     Next Articles

Transaction Design and Implementation for HDFS Access Middleware

  

  1. (College of IOT Engineering, Hohai University, Changzhou 213022, China)
  • Received:2016-06-16 Online:2017-01-12 Published:2017-01-11

Abstract: To settle the problem of Hadoop distributed file system (HDFS) not supporting transaction and difficult to recover from failure, a HDFS access middleware to support transaction for its application systems was proposed. Accessing to HDFS data, the solution can provide transaction supporting. Firstly, the transaction requirements for those applications systems accessing to HDFS were analyzed. Transaction process, transaction log and transaction recovery were described. Secondly, the transaction process and architecture of the middleware were designed. Thirdly, J2EE was used to implement the design of the proposed middleware. Finally, a test case was designed to test the proposed middleware design and implementation. It illustrates the proposed middleware can simplify both the process of accessing to HDFS and the process of recovering from failure.

Key words: HDFS, middleware, transaction, DFS, Hadoop

CLC Number: