hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Dimiduk (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13298) Clarify if Table.{set|get}WriteBufferSize() is deprecated or not
Date Tue, 24 Mar 2015 16:37:53 GMT

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

Nick Dimiduk commented on HBASE-13298:
--------------------------------------

IIRC, the intention is that {{BufferedMutator}} and it's write buffer are an implementation
detail of {{Table}}, *not* exposed to the user in that interface. Since there's no buffer
concept in {{Table}}, there's nothing to flush either. That detail is *the* explicit concern
of a {{BufferedMutator}}, so they are exposed in that API. Actually, the write buffer is really
the only concern of {{BufferedMutator}}. See HBASE-12895 for a proposed {{Table}} adaptor...
you think we need this [~larsgeorge]?

For the purposes of the "1.0 API", {{HTable}} does not exist at the user level and is an implementation
detail. For the long discussion, see HBASE-12728.

That sound right to you guys, [~sduskis], [~enis]?

> Clarify if Table.{set|get}WriteBufferSize() is deprecated or not
> ----------------------------------------------------------------
>
>                 Key: HBASE-13298
>                 URL: https://issues.apache.org/jira/browse/HBASE-13298
>             Project: HBase
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 1.0.0
>            Reporter: Lars George
>            Priority: Critical
>             Fix For: 1.0.1
>
>
> For some reason {{Table.{set|get}WriteBufferSize()}} is _not_ deprecated in {{Table}},
but it is in {{HTable}} and {{HTableInterface}}. We need to settle on what the right thing
is.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message