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

Mikstake in 1.5 Manual section 7.3 Indexing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 1.5.1, 1.6.0
    • docs

    Description

      HashSet<Text> matchingRows = new HashSet<Text>();
      ...
      matchingRows.add(new Text(entry.getKey().getColumnQualifier()));
      ...
      bscan.fetchFamily("attributes");
      ...
      for(Entry<Key,Value> entry : scan)

      Should read:

      HashSet<Range> matchingRows = new HashSet<Range>();
      ...
      matchingRows.add(new Range(entry.getKey().getColumnQualifier()));
      ...
      bscan.fetchColumnFamily("attributes"); // api change?
      ...
      for(Entry<Key,Value> entry : bscan)

      // Now this line will work, since it accepts a collection of range not text
      bscan.setRanges(matchingRows);

      Attachments

        1. ACCUMULO-1673.patch.txt
          2 kB
          Alex Moundalexis

        Activity

          People

            _alexm Alex Moundalexis
            blueraiu Miguel Pereira
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified