[ https://issues.apache.org/jira/browse/HBASE-23854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Heil updated HBASE-23854: --------------------------------- Labels: beginner (was: ) > 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 > Labels: beginner > > 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)