Skip to Content
HBASE技術手冊
book

HBASE技術手冊

by Lars George
December 2012
Intermediate to advanced
572 pages
13h 8m
Chinese
GoTop Information, Inc.
Content preview from HBASE技術手冊
架構
|
355
插曲: HDFS appendhflushsyncsync……等等
append HBase 保證持久性所需的特性,但先前Hadoop 的版本並不提
供。這項特性,開始於HADOOP-1700
http://issues.apache.org/jira/browse/
HADOOP-1700
),經過一個長久的時間及一系列的修正檔才被支援。在 Hadoop
0.19.0 就已提交,且是為了要解決此問題。但情況並非如此:在 Hadoop 0.19.0
append 是很難相配的,以至於
hadoop fsck
會因為 HBase 中打開的那些日誌檔
案,而向 HDFS 回報資料損壞錯誤。
所以在該問題又在HADOOP-4379,即HDFS-200
http://issues.apache.org/jira/
browse/HDFS-200
),被重新提出。之後實作了一個
syncFs()
方法讓同步改變檔
案的過程變得更可靠。有段時間,我們有一個客製化的程式碼─見 HBASE-1470
http://issues.apache.org/jira/browse/HBASE-1470
)—來偵測 Hadoo 版本是否包含
了該 API
接著 HDFS-265
http://issues.apache.org/jira/browse/HDFS-265
),又重新回顧一般
append 的概念。同時也加入一個
Syncable
介面,公開了
hsync()
hflush()
需要注意的是,
SequenceFile.Writer.sync() ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Java数据科学实战

Java数据科学实战

Michael R. Brzustowicz, PhD
SQL经典实例(第2版)

SQL经典实例(第2版)

Anthony Molinaro, Robert de Graaf
機器學習|工作現場的評估、導入與實作

機器學習|工作現場的評估、導入與實作

有賀康顕, 中山心太, 西林孝

Publisher Resources

ISBN: 9789862765968