Section 2.1.3 says that Hadoop 1.0.4 works with HBase-0.94.x [1]. And
Section 2.1.3.3 says that 1.0.4 has a working durable sync. But when I
check the source code of DFSClient.DFSOutputStream's sync method, I
finds the following javadoc:

    /**
     * All data is written out to datanodes. It is not guaranteed
     * that data has been flushed to persistent store on the
     * datanode. Block allocations are persisted on namenode.
     */

So it seems that sync does not support a durable sync. It contradicts
with [1].

Can anybody help me on this confusion? Thanks.

[1] http://hbase.apache.org/book.html

--
Jingguo

Reply via email to