Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-23854

Documentation update of external_apis.adoc#example-scala-code

    XMLWordPrintableJSON

Details

    • documentation

    Description

      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("mytable")
      • addColumn(Bytes.toBytes("ids"),Bytes.toBytes("id1"),Bytes.toBytes("one"))

      Attachments

        1. HBASE-23854.patch
          2 kB
          Michael Heil

        Activity

          People

            michaelheil Michael Heil
            michaelheil Michael Heil
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: