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

[refGuide] Addition to performance.xml - use byte-array constants for CF, Cols

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      I realized that we don't have anywhere in the refGuide to use byte-array constants for CF and Column names. Doing this .getBytes() in a loop (especially in a MapReduce job) is surprisingly expensive. Adding to the performance chapter.

      I am also going to update the other code examples in the book, but in another ticket.

      This is one of those "so obvious that it's not" kind of things.

      Attachments

        Activity

          People

            dmeil Doug Meil
            dmeil Doug Meil
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: