You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2010/06/01 19:01:38 UTC

[jira] Created: (HBASE-2642) Common interface for HBase classes that append, sync, etc.

Common interface for HBase classes that append, sync, etc.
----------------------------------------------------------

                 Key: HBASE-2642
                 URL: https://issues.apache.org/jira/browse/HBASE-2642
             Project: HBase
          Issue Type: Improvement
            Reporter: stack


A suggestion by Cosmin over in review of hbase-2437 (http://review.hbase.org/r/74/)  is as follows:

{code}
....[b]y "writers" I mean the classes that implement the Writer interface (sync, append, etc). There's a HLog.Writer interface and the implementation is SequenceFileLogWriter that encapsulates a SequenceFile.Writer 

We should have a common interface for HBase classes that append, sync, etc. 
If the filesystem doesn't support append - that should be taken care in the Writer implementation that actually talks with HDFS. i.e. do it in a single class and avoid duplicating the appendSupport logic through code.

{code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.