You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Michael Heil (Jira)" <ji...@apache.org> on 2020/02/16 10:01:00 UTC

[jira] [Comment Edited] (HBASE-23854) Documentation update of external_apis.adoc#example-scala-code

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

Michael Heil edited comment on HBASE-23854 at 2/16/20 10:00 AM:
----------------------------------------------------------------

Sorry [~vrodionov] for assigning you to this ticket. As I have cloned it from another Jira ticket you were already assigned and I am not allowed to remove your name and assign it to myself. I plan to get involved in this community and as it is the very first time for me I thought this simple documentation change could be a nice opportunity to learn the contribution process.

 

.... also realised that I cloned this ticket from an unrelated Epic. Is it somehow possible to delete this completely or move it to a separate Story? Apologies for the confusion.


was (Author: michaelheil):
Sorry [~vrodionov] for assigning you to this ticket. As I have cloned it from another Jira ticket you were already assigned and I am not allowed to remove your name and assign it to myself. I plan to get involved in this community and as it is the very first time for me I thought this simple documentation change could be a nice opportunity to learn the contribution process.

> Documentation update of external_apis.adoc#example-scala-code
> -------------------------------------------------------------
>
>                 Key: HBASE-23854
>                 URL: https://issues.apache.org/jira/browse/HBASE-23854
>             Project: HBase
>          Issue Type: Sub-task
>          Components: documentation
>            Reporter: Michael Heil
>            Assignee: Vladimir Rodionov
>            Priority: Trivial
>
> Update the Example Scala Code in the Reference Guide as it contains deprecated content such as 
>  * new HBaseConfiguration()
>  * new HTable(conf, "mytable")
>  * add(Bytes.toBytes("ids"),Bytes.toBytes("id1"),Bytes.toBytes("one"))
> Replace it with:
>  * HBaseConfiguration.create()
>  * TableName.valueOf({color:#6a8759}"mytable"{color})
>  * addColumn(Bytes.toBytes({color:#6a8759}"ids"{color}){color:#cc7832},{color}Bytes.toBytes({color:#6a8759}"id1"{color}){color:#cc7832},{color}Bytes.toBytes({color:#6a8759}"one"{color}))



--
This message was sent by Atlassian Jira
(v8.3.4#803005)