https://issues.apache.org/jira/browse/FLUME-2361