|
|
+
Toby Lazar 2013-02-22, 18:41
-
Re: attributes - basic questionHarsh J 2013-02-22, 21:24
The attributes are serialized along with the base operation request.
There's perhaps no immediate client-side usage of this, it is used by the Mutation class to set a cluster ID in HBase's Replication context: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/client/Mutation.java?view=markup I suppose it could also be used to tag client requests, and used along with Coprocessors that way for some behavior differences. On Sat, Feb 23, 2013 at 12:11 AM, Toby Lazar <[EMAIL PROTECTED]> wrote: > What is the purpose of the getAttribute and setAttribute methods for > classes implementing OperationWithAttributes? I don't see much > documentation about them, haven't seen much discussion on this list about > them, and am wondering what people use them for. Or, are they mostly just > used internally? Any insights about these methods are appreciated. > > Thanks! > > Toby -- Harsh J +
Toby Lazar 2013-02-22, 22:37
+
Anoop Sam John 2013-02-23, 05:15
+
James Taylor 2013-02-23, 05:21
|