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

stack commented on HBASE-12585:
-------------------------------

You missed this one [~misty]

HTableInterface table = connection.getTable("myTable");

Drop this line. I don't think there is a flush in Table any more, they are 
flushed when you add your edits to the method.  Just say for sure close:

        Before a `Table` or `HTable` instance is discarded, invoke either 
`close()` or `flushCommits()`, so `Put`s will not be lost.

Drop this too...

        NOTE: `table.delete(Delete);` does not go in the writebuffer! This only 
applies to Puts.

Since it no longer makes sense given you are purging talk of buffering from the 
lines above.

Fix above on commit because rest is great.

> Fix refguide so it does hbase 1.0 style API everywhere with callout on how we 
> used to do it in pre-1.0
> ------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-12585
>                 URL: https://issues.apache.org/jira/browse/HBASE-12585
>             Project: HBase
>          Issue Type: Bug
>          Components: documentation
>            Reporter: stack
>            Assignee: Misty Stanley-Jones
>             Fix For: 1.0.1, 1.1.0
>
>         Attachments: HBASE-12585-v1.patch, HBASE-12585.patch
>
>
> Over in HBASE-12400, made a start on this project writing up how the new 
> HBase 1.0 API looks.  I started in on the refguide removing all HTable 
> references replacing with new style and in the hbase client chapter added 
> leadoff that has users go get a cluster Connection first....
> Doing a thorough job of rinsing the doc of old style foregrounding the new 
> mode is a big job.
> [~misty] Any chance of help on this one?  Thanks boss.



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

Reply via email to