[
https://issues.apache.org/jira/browse/HBASE-23854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17042645#comment-17042645
]
Michael Heil commented on HBASE-23854:
--------------------------------------
Hi [~busbey] , thank you for your comment and letting me know how to best
approach the reviewers!
> 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: Task
> Components: documentation
> Reporter: Michael Heil
> Assignee: Michael Heil
> Priority: Trivial
> Labels: beginner
> Fix For: 3.0.0, 2.3.0, 2.2.4, 2.1.10
>
> Attachments: HBASE-23854.patch
>
>
> 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)