[ 
https://issues.apache.org/jira/browse/HBASE-21246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16659691#comment-16659691
 ] 

Ted Yu commented on HBASE-21246:
--------------------------------

I have updated the link to point to the actual thread on the design doc.

bq. Is there a 'design' for WI?
Quoting my response from the discussion (for people who didn't have time to 
read the full thread):
{code}
>From my experiments over HBASE-21246, I think it is preferable to have 
>WALIdentity (please see the patch attached on HBASE-21246).
In hbase, we have the following related pairs:
HTable <-> TableName
HRegion <-> HRegionInfo

The pair of WAL instance and WALIdentity is similar.

* WALIdentity is light weight - the classes referencing WAL by WALIdentity 
wouldn't hold onto much resource
* WALProvider handles deserialization from String form of WAL name to 
WALIdentity
{code}
bq. Where is the 'outline'?

There is code snippet for the paragraph where the discussion thread was 
centered around.
Please also see subsequent paragraph below the code snippet.

> Introduce WALIdentity interface
> -------------------------------
>
>                 Key: HBASE-21246
>                 URL: https://issues.apache.org/jira/browse/HBASE-21246
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Major
>             Fix For: HBASE-20952
>
>         Attachments: 21246.003.patch, 21246.HBASE-20952.001.patch, 
> 21246.HBASE-20952.002.patch, 21246.HBASE-20952.004.patch, 
> 21246.HBASE-20952.005.patch, 21246.HBASE-20952.007.patch, 
> 21246.HBASE-20952.008.patch
>
>
> We are introducing WALIdentity interface so that the WAL representation can 
> be decoupled from distributed filesystem.
> The interface provides getName method whose return value can represent 
> filename in distributed filesystem environment or, the name of the stream 
> when the WAL is backed by log stream.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to