[
https://issues.apache.org/jira/browse/HBASE-20623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16526054#comment-16526054
]
Chia-Ping Tsai commented on HBASE-20623:
----------------------------------------
{quote}After I have finished the code,I want to test the Cell Api what I
encapsulate, then I compile the whole habse code(master-branch includes this
patch) to get the hbase-client-3.0.0-SNAPSHOT.jar which I use to connect to
habse server, i got the following error:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/hadoop/hbase/shaded/protobuf/generated/MasterProtos$MasterService$BlockingInterface
I guess it causes from the version of hbase-protocol,but using the one I
compile or the latest from maven center repo,get the same error.
{quote}
Does the error happen again if you run the command "$ mvn clean install
-DskipTests"
{quote}Giving the method detailed javaDoc is enough? we need document this Cell
Api? if need,where?
{quote}
This new method needs java docs. And it would be better to write the example in
our hbase docs. (see https://hbase.apache.org/book.html#_put_2)
> Introduce the helper method "getCellBuilder()" to Mutation
> ----------------------------------------------------------
>
> Key: HBASE-20623
> URL: https://issues.apache.org/jira/browse/HBASE-20623
> Project: HBase
> Issue Type: Task
> Components: API
> Reporter: Chia-Ping Tsai
> Assignee: maoling
> Priority: Minor
> Fix For: 3.0.0, 2.2.0
>
> Attachments: HBASE-20623.master.001.patch
>
>
> see
> [https://lists.apache.org/thread.html/d05bfaa0134502a47f6e1aca56cb0b096d4dd32ddefbbdf28db4952a@%3Cdev.hbase.apache.org%3E]
> for more details.
> {code:java}
> How about a "getCellBuilder" or "getCellBuilderFactory" method for
> Mutation implementations that gives you a CellBuilder instance that
> already has relevant parts set? Like for a Put instance it should be
> able to already have the Type and Row set.{code}
> mentioned a day or so ago by [~busbey]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)