天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

當(dāng)前位置:主頁 > 科技論文 > 計算機(jī)論文 >

基于中間結(jié)果檢查點的MapReduce容錯方法研究與實現(xiàn)

發(fā)布時間:2018-04-28 11:48

  本文選題:檢查點容錯 + 中間結(jié)果; 參考:《內(nèi)蒙古大學(xué)》2017年碩士論文


【摘要】:隨著互聯(lián)網(wǎng)的高速發(fā)展,網(wǎng)絡(luò)所產(chǎn)生的數(shù)據(jù)量開始呈爆發(fā)性的增長,傳統(tǒng)的存儲和計算模式已經(jīng)不能滿足應(yīng)用中的存儲和計算需求,云計算憑借其優(yōu)秀的分布式處理技術(shù)成為目前最流行的數(shù)據(jù)處理技術(shù)。其中,MapReduce作為一種高效的并行計算框架,越來越多的應(yīng)用在大數(shù)據(jù)處理領(lǐng)域。目前MapReduce模型有兩種常見的故障類型:任務(wù)故障和節(jié)點故障。對于任務(wù)故障,MapReduce采用"再執(zhí)行"的處理方式,即當(dāng)任務(wù)執(zhí)行失敗以后,會被重新分配執(zhí)行,任務(wù)的每次重新執(zhí)行不僅浪費了大量的計算資源,也延長了任務(wù)平均完成時間,降低了計算效率。節(jié)點故障一般分為Master節(jié)點故障和Worker節(jié)點故障,對于Master節(jié)點故障,MapReduce常采用雙工的容錯方法。對于Worker節(jié)點故障,由于Map任務(wù)產(chǎn)生的中間結(jié)果存儲在Worker節(jié)點上,故障會導(dǎo)致中間結(jié)果的丟失,已經(jīng)完成的任務(wù)需要被重新分配執(zhí)行。針對這種故障類型,MapReduce計算模型目前還沒有合適、高效的容錯方法。本文針對當(dāng)前MapReduce計算模型中容錯機(jī)制不足所導(dǎo)致的容錯效率低、計算資源浪費等問題,通過檢查點容錯技術(shù),對任務(wù)執(zhí)行狀態(tài)和中間結(jié)果以檢查點文件的方式進(jìn)行保存,保證中間結(jié)果不丟失,當(dāng)故障發(fā)生以后根據(jù)檢查點文件進(jìn)行作業(yè)恢復(fù)時,提高作業(yè)的恢復(fù)執(zhí)行效率。本文主要完成以下三方面的工作。(1)分析Hadoop源碼中MapReduce容錯機(jī)制的不足:通過分析Hadoop源碼,研究MapReduce執(zhí)行過程中如何處理任務(wù)故障和節(jié)點故障及其弊端,為改進(jìn)MapReduce目前的容錯方式提供分析基礎(chǔ)。(2)設(shè)計與實現(xiàn)檢查點容錯機(jī)制:針對MapReduce計算過程中常見的任務(wù)故障和節(jié)點故障,本文設(shè)計和實現(xiàn)了檢查點容錯機(jī)制,將任務(wù)的執(zhí)行狀態(tài)和中間結(jié)果的元數(shù)據(jù)信息以檢查點文件的形式進(jìn)行保存,當(dāng)任務(wù)被重新分配執(zhí)行時利用相應(yīng)的檢查點文件進(jìn)行任務(wù)的快速恢復(fù)執(zhí)行。其中,針對任務(wù)故障設(shè)計實現(xiàn)了本地檢查點容錯機(jī)制,針對節(jié)點故障設(shè)計實現(xiàn)了遠(yuǎn)程和查詢元數(shù)據(jù)檢查點容錯機(jī)制。(3)檢查點容錯機(jī)制的測試運行:在設(shè)計和實現(xiàn)了檢查點容錯機(jī)制后,通過搭建Hadoop集群,編寫應(yīng)用程序,對應(yīng)用程序進(jìn)行故障注入,驗證當(dāng)故障發(fā)生時檢查點容錯機(jī)制能否提供有效的容錯功能,并通過實驗測試檢查點容錯機(jī)制的容錯效率。
[Abstract]:With the rapid development of the Internet, the amount of data generated by the network began to increase explosively. The traditional storage and computing mode can no longer meet the storage and computing needs in applications. Cloud computing has become the most popular data processing technology with its excellent distributed processing technology. As an efficient parallel computing framework, MapReduce is more and more used in big data processing field. At present, MapReduce model has two common fault types: task fault and node fault. In the case of task failure, MapReduce uses a "re-execution" approach, that is, when the task fails, it is reassigned to execute. Each reexecution of the task not only wastes a lot of computing resources, but also prolongs the average task completion time. The calculation efficiency is reduced. Node faults are generally divided into Master node faults and Worker node failures. For Master node faults MapReduce often adopts duplex fault-tolerant method. For Worker node failure, because the intermediate results generated by the Map task are stored on the Worker node, the failure will lead to the loss of the intermediate results, so the completed tasks need to be reassigned and executed. At present, there is no suitable and efficient fault-tolerant method for this kind of fault type. Aiming at the problems of low fault-tolerant efficiency and waste of computing resources caused by the deficiency of fault-tolerant mechanism in the current MapReduce computing model, this paper uses checkpoint fault-tolerant technology to save the task execution state and intermediate results in the way of checkpoint files. Ensure that the intermediate result is not lost and improve the efficiency of job recovery when the fault occurs and the job is restored according to the checkpoint file. This paper mainly completes the following three aspects of work. 1) analyzing the shortcomings of MapReduce fault-tolerant mechanism in Hadoop source code: by analyzing the Hadoop source code, how to deal with the task fault, node fault and its malpractice in the MapReduce execution process is studied. In order to improve the current fault-tolerant mode of MapReduce, we design and implement the fault-tolerant mechanism of checkpoint. Aiming at the common task faults and node faults in the process of MapReduce calculation, this paper designs and implements the fault-tolerant mechanism of checkpoint. The metadata information of the execution state and intermediate result of the task is saved in the form of checkpoint file. When the task is reallocated and executed, the corresponding checkpoint file is used to quickly resume the execution of the task. Among them, the fault tolerant mechanism of local checkpoint is designed and implemented for the task fault. The fault-tolerant mechanism of remote and query metadata checkpointing is designed and implemented in this paper. After designing and implementing the fault-tolerant mechanism of checkpoint, the application program is written by setting up a Hadoop cluster. Fault injection is carried out to verify whether the fault tolerance mechanism can provide effective fault tolerance when the fault occurs, and the fault tolerance efficiency of the checkpoint fault-tolerant mechanism is tested by experiments.
【學(xué)位授予單位】:內(nèi)蒙古大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2017
【分類號】:TP302.8;TP311.13

【參考文獻(xiàn)】

相關(guān)碩士學(xué)位論文 前6條

1 王浩;基于自適應(yīng)策略的MapReduce檢查點技術(shù)的研究與優(yōu)化[D];上海交通大學(xué);2015年

2 陳洪江;MapReduce下容錯機(jī)制的研究與優(yōu)化[D];哈爾濱工業(yè)大學(xué);2014年

3 趙志龍;Hadoop容錯能力測試平臺的設(shè)計與實現(xiàn)[D];哈爾濱工業(yè)大學(xué);2013年

4 朱浩;云環(huán)境下MapReduce容錯技術(shù)的研究[D];上海交通大學(xué);2012年

5 郭銳;MapReduce故障恢復(fù)機(jī)制設(shè)計與實現(xiàn)[D];華中科技大學(xué);2012年

6 施巖;云計算研究及Hadoop應(yīng)用程序的開發(fā)與測試[D];北京郵電大學(xué);2011年



本文編號:1815158

資料下載
論文發(fā)表

本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1815158.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權(quán)申明:資料由用戶27793***提供,本站僅收錄摘要或目錄,作者需要刪除請E-mail郵箱bigeng88@qq.com
噜噜中文字幕一区二区| 日韩精品一区二区三区av在线| 国产不卡的视频在线观看| 亚洲午夜av一区二区| 日本精品理论在线观看| 日韩熟妇人妻一区二区三区| 亚洲精品福利视频在线观看| 大香蕉久草网一区二区三区| 中文字幕有码视频熟女| 高清国产日韩欧美熟女| 有坂深雪中文字幕亚洲中文| 成人国产激情福利久久| 一区二区三区人妻在线| 嫩草国产福利视频一区二区| 国产亚洲视频香蕉一区| 午夜福利国产精品不卡| 欧美成人国产精品高清| 婷婷色国产精品视频一区| 国产精品日韩欧美一区二区 | 欧美老太太性生活大片| 国产日产欧美精品视频| 欧美日韩三区在线观看| 91人妻人澡人人爽人人精品| 日本不卡一本二本三区| 国产日韩综合一区在线观看| 深夜日本福利在线观看| 色婷婷日本视频在线观看| 欧美精品亚洲精品日韩专区| 精品国产成人av一区二区三区| 国产精品蜜桃久久一区二区| 亚洲欧美日本国产有色| 欧美日韩人妻中文一区二区| 一区二区三区四区亚洲另类| 免费高清欧美一区二区视频| 日韩一区二区三区久久| 午夜午夜精品一区二区| 欧美日韩综合综合久久久| 91在线爽的少妇嗷嗷叫| 色小姐干香蕉在线综合网| 午夜资源在线观看免费高清| 久久国产精品亚州精品毛片|