hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "Hbase/HdfsSyncSupport" by ToddLipcon
Date Tue, 22 Jun 2010 00:49:37 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The "Hbase/HdfsSyncSupport" page has been changed by ToddLipcon.
http://wiki.apache.org/hadoop/Hbase/HdfsSyncSupport

--------------------------------------------------

New page:
= HDFS Sync Support =

== Overview ==

In order to provide durability of edits, HBase requires that your HDFS installation supports
the ''sync'' call. This call pushes pending data through the HDFS write pipeline and blocks
until it has received an acknowledgement from all three nodes in the pipeline. HBase uses
this feature when writing edits to its write-ahead log (WAL) so that, if a region server should
die, the data may be recovered and replayed on other region servers.

== What versions of HDFS support sync? ==

The necessary feature is available in the ''0.20-append'' branch of HDFS, the unreleased ''0.21''
branch, and Cloudera's soon-to-be-released CDH3b2 release.

*NOTE:* Apache HDFS 0.20 does not support a working sync, even if the ''dfs.support.append''
flag is enabled. You *must* use one of the above versions of Hadoop to have durable edits
in HBase.

== How can I enable sync? ==

To enable sync, first ensure that you have either compiled the 0.20-append branch from Apache,
or installed Cloudera's CDH3b2. Then ensure that you have set the ''dfs.support.append'' flag
to ''true'' in your ''hdfs-site.xml'' both in HDFS's configuration as well as HBase's.

Mime
View raw message