[
https://issues.apache.org/jira/browse/HBASE-21246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16646733#comment-16646733
]
stack commented on HBASE-21246:
-------------------------------
bq. Like WALIdentity is uniquely identifying a WAL stored in this WALProvider,
this name can be thought of as a human-readable, serialized form of the
WALIdentity. Making sure that developers know that this needs to be
unique/stable is important.
So, a key for an instance of something called a WALIdentity (a 'key' for a
'key'?).
The WALIdentity has a #toString AND a #getName? The #toString would return what
you'd pass to the #getName?
We'd pass WALIdentity around in HBase or we'd pass the String version?
Would hbase have to serialize the WALIdentity ever? If so, the String would be
enough?
We could have a WALIdentity that floats free of a WAL instance? (Interface
does not throw a UnknownWALException...)
> 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
>
>
> 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)