Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-2063

Add Configurable charset to RegexHbaseEventSerializer

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.1
    • Fix Version/s: 1.4.0
    • Component/s: Sinks+Sources
    • Labels:
      None

      Description

      Since HBase operates at the level of byte arrays Flume's RegexHbaseEventSerializer has to specify the encoding charset for strings. It is currently hardcoded to UTF-8 but it would be nice if it was tweakable.

        Activity

        Hide
        brocknoland Brock Noland added a comment -

        Looks good to me. I'd run tests and commits but I am on reserve battery.

        Show
        brocknoland Brock Noland added a comment - Looks good to me. I'd run tests and commits but I am on reserve battery.
        Hide
        brocknoland Brock Noland added a comment -

        Thanks Roman! I committed this to trunk and 1.4.

        Show
        brocknoland Brock Noland added a comment - Thanks Roman! I committed this to trunk and 1.4.
        Hide
        hudson Hudson added a comment -

        Integrated in flume-trunk #418 (See https://builds.apache.org/job/flume-trunk/418/)
        FLUME-2063: Add Configurable charset to RegexHbaseEventSerializer (Revision d63c378b551bba338677d50a36d254dd8c62fe4a)

        Result = SUCCESS
        brock : http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=d63c378b551bba338677d50a36d254dd8c62fe4a
        Files :

        • flume-ng-sinks/flume-ng-hbase-sink/src/test/java/org/apache/flume/sink/hbase/TestRegexHbaseEventSerializer.java
        • flume-ng-sinks/flume-ng-hbase-sink/src/main/java/org/apache/flume/sink/hbase/RegexHbaseEventSerializer.java
        Show
        hudson Hudson added a comment - Integrated in flume-trunk #418 (See https://builds.apache.org/job/flume-trunk/418/ ) FLUME-2063 : Add Configurable charset to RegexHbaseEventSerializer (Revision d63c378b551bba338677d50a36d254dd8c62fe4a) Result = SUCCESS brock : http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=d63c378b551bba338677d50a36d254dd8c62fe4a Files : flume-ng-sinks/flume-ng-hbase-sink/src/test/java/org/apache/flume/sink/hbase/TestRegexHbaseEventSerializer.java flume-ng-sinks/flume-ng-hbase-sink/src/main/java/org/apache/flume/sink/hbase/RegexHbaseEventSerializer.java

          People

          • Assignee:
            rvs Roman Shaposhnik
            Reporter:
            rvs Roman Shaposhnik
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development