GitHub user mcsanady opened a pull request:
https://github.com/apache/flume/pull/146
FLUME-3128: Fix TestHDFSEventSinkOnMiniCluster.java due to incompatibâ¦
â¦le changes in hadoop-hdfs lib.
Our test in
flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestHDFSEventSinkOnMiniCluster.java
Uses the getLeaseByPath(String src) method of Lease class which is to be
replaced by getLeaseForPath(Namenode n, String src) method.
This change is to make Flume compatible after the hadoop change is made
effective.
See https://issues.apache.org/jira/browse/HDFS-6757
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mcsanady/flume FLUME-3128
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flume/pull/146.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #146
commit 20ec70a896f2e869a78ade8db2023c4c3bb96c32
Author: Denes Arvay
Date: 2017-05-02T13:05:23Z
FLUME-3128: Fix TestHDFSEventSinkOnMiniCluster.java due to incompatible
changes in hadoop-hdfs lib.
Our test in
flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestHDFSEventSinkOnMiniCluster.java
Uses the getLeaseByPath(String src) method of Lease class which is to be
replaced by getLeaseForPath(Namenode n, String src) method.
This change is to make Flume compatible after the hadoop change is made
effective.
See https://issues.apache.org/jira/browse/HDFS-6757
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---