Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-4761

Reduce memory footprint of hbase plugin

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Ranger
    • None

    Description

      • Map<String, Set> getColumnFamilies(Map<byte[], ? extends Collection<?>> families) becomes a bottleneck in multiget and multiput workloads wherein hundred/thousands of columns may be accessed together in a single request as it is a computationally heavy function converting bytes to string and type-casting Collection to set of strings.

      The implementation needs to be revisited to reduce memory footprint

      make lazy memory allocation for family map instead of ahead of time memory allocation for family map of type Map<String, Set>. With this approach, memory footprint will get reduced even further when enabling column auth optimization supported by RANGER-4670

      Attachments

        Activity

          People

            fateh288 Fateh Singh
            fateh288 Fateh Singh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

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