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

Matthias Weßendorf commented on HBASE-2934:
-------------------------------------------

Perhaps, to not blow up the database, there should be two more lines at the end 
of the "sample" which disables and deletes the table

    // disalbe the previously create table
    hbaseAdmin.disableTable(tableName);
    // delete the disabled table
    hbaseAdmin.deleteTable(tableName);

> Improve Example API Usage (in package-summary.html of 
> org.apache.hadoop.hbase.client package)
> ---------------------------------------------------------------------------------------------
>
>                 Key: HBASE-2934
>                 URL: https://issues.apache.org/jira/browse/HBASE-2934
>             Project: HBase
>          Issue Type: Improvement
>          Components: documentation
>    Affects Versions: 0.20.5
>            Reporter: Matthias Weßendorf
>            Priority: Minor
>         Attachments: simple_doc.patch
>
>
> Going to 
> http://hbase.apache.org/docs/current/api/org/apache/hadoop/hbase/client/package-summary.html
>  
> and simply cut-past the example to Eclipse I got an exception that the 
> suggested table is missing.
> Adding a few lines does create it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to