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

Allow for custom filters to be registered within the Thrift interface

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.92.0
    • Fix Version/s: 0.94.0
    • Component/s: Thrift
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      Custom filters work within the Java client API, but are not accessible within the Thrift API. Attempting to use one will generate a "Filter Name x not supported"

      Attached patch allows a user to specify a list of custom filters that are registered at Thrift server startup time within the HBase configuration files:

      <property>
      <name>hbase.thrift.filters</name>
      <value>MyFilter:com.foo.Filter,OtherFilter:com.foo.OtherFilter</value>
      </property>

      Patch created off SVN r1245727

        Attachments

        1. ThriftCustomFilters.patch
          5 kB
          Robert Roland

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                robertroland Robert Roland
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: