Flume
  1. Flume
  2. FLUME-1937

Issue with maxUnderReplication in HDFS sink

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v1.4.0
    • Component/s: None
    • Labels:
      None

      Description

      It's not hitting its max as expected

        Issue Links

          Activity

          Hide
          Hudson added a comment -

          Integrated in flume-trunk #370 (See https://builds.apache.org/job/flume-trunk/370/)
          FLUME-1937. Issue with maxUnderReplication in HDFS sink. (Revision b28b87b58b2b08d31cac055cb3f9f8762f65b469)

          Result = FAILURE
          hshreedharan : http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=b28b87b58b2b08d31cac055cb3f9f8762f65b469
          Files :

          • flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestHDFSEventSinkOnMiniCluster.java
          • flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/BucketWriter.java
          Show
          Hudson added a comment - Integrated in flume-trunk #370 (See https://builds.apache.org/job/flume-trunk/370/ ) FLUME-1937 . Issue with maxUnderReplication in HDFS sink. (Revision b28b87b58b2b08d31cac055cb3f9f8762f65b469) Result = FAILURE hshreedharan : http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=b28b87b58b2b08d31cac055cb3f9f8762f65b469 Files : flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestHDFSEventSinkOnMiniCluster.java flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/BucketWriter.java
          Hide
          Hari Shreedharan added a comment -

          Patch committed, rev: b28b87b. Thanks Mike!

          Show
          Hari Shreedharan added a comment - Patch committed, rev: b28b87b. Thanks Mike!
          Hide
          Hari Shreedharan added a comment -

          +1. Looks good. Will run tests and commit.

          Show
          Hari Shreedharan added a comment - +1. Looks good. Will run tests and commit.
          Hide
          Mike Percy added a comment -

          Patch to enforce maxUnderReplication and a unit test for it.

          Show
          Mike Percy added a comment - Patch to enforce maxUnderReplication and a unit test for it.

            People

            • Assignee:
              Mike Percy
              Reporter:
              Mike Percy
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development