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

Allow for custom filters to be registered within the Thrift interface

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.92.0
    • 0.94.0
    • Thrift
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: