Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-546

User manual inconsistencies

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.0
    • 1.4.1
    • docs
    • None

    Description

      From Nabeel Hopesor:

      There is some confusion on the following page http://accumulo.apache.org/1.4/user_manual/Table_Design.html#Indexing.

      In the section "Indexing", row ids are fetched by the following code

      for(Entry<Key,Value> entry : indexScanner)

      matchingRows.add(new Text(entry.getValue()));

      According to the diagram within the Indexing section, I would have expected this code

      for(Entry<Key,Value> entry : indexScanner)

      matchingRows.add(new Text(entry.getKey(). getColumnQualifier()));

      Finally, the last line in that same example uses an undeclared variable e.

      System.out.println(e.getValue());

      but I think what was meant was

      System.out.println(entry.getVa lue());

      Attachments

        Activity

          People

            billie Billie Rinaldi
            billie Billie Rinaldi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: