Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.96.1, 0.94.14, 0.98.1, 0.99.0
    • Fix Version/s: 0.99.0
    • Component/s: mapreduce
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      On the RowCounter mapreduce class, there is a "scan.setFilter(new FirstKeyOnlyFilter());" statement which is not required at line 125 since we have this on line 141:

          if (qualifiers.size() == 0) {
            scan.setFilter(new FirstKeyOnlyFilter());
          } else {
            scan.setFilter(new FirstKeyValueMatchingQualifiersFilter(qualifiers));
          }
      

      Should the line 125 simply be removed?

        Attachments

        1. HBASE-7088.patch
          0.7 kB
          Jean-Marc Spaggiari
        2. HBASE-7088-v1-trunk.patch
          0.6 kB
          Jean-Marc Spaggiari
        3. HBASE-7088-v2-trunk.patch
          0.6 kB
          Jean-Marc Spaggiari

          Activity

            People

            • Assignee:
              jmspaggi Jean-Marc Spaggiari
              Reporter:
              jmspaggi Jean-Marc Spaggiari
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified