GitHub user Popo-lth opened a pull request: https://github.com/apache/flume/pull/95
update You can merge this pull request into a Git repository by running: $ git pull https://github.com/Popo-lth/flume trunk Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flume/pull/95.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 #95 ---- commit 71d6ab307c6234e47c0e23084a296b7beccf713f Author: çªäº <liutian...@qiyi.com> Date: 2016-10-21T07:01:17Z Merge pull request #1 from apache/trunk Fix startup order for ExecSource commit e25eb64fff95ffac47581109fec8831a318802e5 Author: Bessenyei Balázs Donát <bes...@apache.org> Date: 2016-10-22T19:39:54Z Add .travis.yml ASF infra has enabled Travis for Apache Flume. This change adds .travis.yml, because the option "Build only if .travis.yml is present" is turned on. With this commit, builds will run with -DskipTests. commit 410d4ae772d54ceaa6aa50c78294ed810add7cdd Author: Bessenyei Balázs Donát <bes...@apache.org> Date: 2016-10-22T20:16:22Z Fix .travis.yml License was missing from .travis.yml, so RAT checks failed. This commit adds the license header to .travis.yml. After this change RAT passes again. This closes #74 commit b1b61f72fca6b66bd79a05122ab20a588e8cb85f Author: Bessenyei Balázs Donát <bes...@apache.org> Date: 2016-10-24T06:44:38Z Set MAVEN_OPTS for Travis-CI Travis builds occasionally fail with Java heap space error. This commit sets higher limits to fix the issue mentioned above. Reviewers: Lior Zeno, Mike Percy This closes #75 commit 7477759d166aa4dd940cbc8fbe7ed67c30545441 Author: Bessenyei Balázs Donát <bes...@apache.org> Date: 2016-10-24T12:27:08Z FLUME-3002. Fix tests in TestBucketWriter Some tests are flaky in TestBucketWriter. This commit fixes the flakiness mentioned before by adding a new constructor with an extra Clock parameter. Reviewers: Attila Simon, Denes Arvay commit ea685d61bed28a4a93805d4d1fb10fd46944ced8 Author: Bessenyei Balázs Donát <bes...@apache.org> Date: 2016-10-24T14:53:29Z Add Developer Section / How to Release from cwiki.apache.org Reviewers: Mike Percy This closes #77 commit 750dec5986acc5d48020aed3742101b84d4dc80c Author: Bessenyei Balázs Donát <bes...@apache.org> Date: 2016-10-25T09:11:02Z Add e-mail templates to HowToRelease.md Reviewers: Attila Simon This closes #78 commit 4753743bf5479e234c3c44f6c57ab3eea00eea82 Author: Bessenyei Balázs Donát <bes...@apache.org> Date: 2016-10-25T11:36:33Z Add Developer Section / How to Contribute from cwiki.apache.org Reviewers: Attila Simon This closes #79 commit 4e041565b45e243107c2bd018662fe2b7f5097b1 Author: Bessenyei Balázs Donát <bes...@apache.org> Date: 2016-10-25T13:13:28Z Add Developer Section / Developers Quick Hack Sheet from cwiki.apache.org Reviewers: Attila Simon This closes #81 commit c111aad2882f8e39c04ac71625e0c1b68861bf1f Author: Attila Simon <s...@cloudera.com> Date: 2016-10-27T11:31:40Z FLUME-2997. Fix flaky test in SpillableMemoryChannel When the mock sinks are slower than sources, testParallelSingleSourceAndSink sometimes fails. In such situations the channel can get full, thus uncaught ChannelFullException breaks the test. Since testCapacityWithOverflow was designed to cover such a scenario, we can safely fix the test by increasing the channel capacity to make sure it won't get full. This commit does the previously mentioned change. Reviewers: Bessenyei Balázs Donát (Attila Simon via Bessenyei Balázs Donát) commit bf616eb313e726cf36e08d4fe466f2ce41d79e39 Author: Bessenyei Balázs Donát <bes...@apache.org> Date: 2016-10-28T10:36:08Z Add Developer Section / How to Commit from cwiki.apache.org Reviewers: Attila Simon This closes #80 commit aac619a2bd4102f2fa72ce069acbf18ca28eb4aa Author: Tristan Stevens <tris...@cloudera.com> Date: 2016-10-28T12:24:02Z FLUME-2857. Make Kafka Source/Channel/Sink restore default values when live updating config This commit changes Kafka Channel, Sink and Source to fix an error where sub-configurations aren't tolerant of the configure() method being called more than once (as happens when a Live Config Update happens). Reviewers: Denes Arvay, Attila Simon, Bessenyei Balázs Donát (Tristan Stevens via Bessenyei Balázs Donát) commit 7e0609f975de12f75db9330371ebc0fc8ce97dad Author: Denes Arvay <de...@cloudera.com> Date: 2016-10-28T15:38:33Z FLUME-2812. Fix semaphore leak causing java.lang.Error: Maximum permit count exceeded in MemoryChannel bytesRemaining.release(putByteCounter) gets called in MemoryTransaction.doRollback while acquire is called only in doCommit. This results in semaphore leak and the number of permits in the semaphore eventually exceeds Integer.MAX_VALUE and Semaphore.release() throws java.lang.Error: Maximum permit count exceeded. This closes #83 Reviewers: Attila Simon, Bessenyei Balázs Donát (Denes Arvay via Bessenyei Balázs Donát) commit 80cf895b9d9688e9478081cfe9729c6080b72f8b Author: Theodore michael Malaska <ted.mala...@gmail.com> Date: 2016-11-09T23:37:23Z FLUME-3020. Improve HDFS Sink escape sequence substitution When using escape sequences, the current code will call InetAddress for every event which results in a huge impact to performance. This patch fixes that issue by caching the local host in a static variable. We can do this because there is zero chance the local host will change for a life of a JVM. Reviewers: Hari Shreedharan, Jeff Holoman, Bessenyei Balázs Donát (Theodore michael Malaska via Bessenyei Balázs Donát) commit d9a13f599155d9b3a642a96e0364b245cfd7a5d6 Author: Peter Ableda <peter.abl...@cloudera.com> Date: 2016-11-18T15:02:02Z Remove hostHeader = hostname property from Host interceptor example We are overriding the host header name from `host` to `hostname` in the example usage section. Due to this example users are overriding the header name too but still use the `%{host}` substitution as shown in the HDFS Sink section. This leads to errors. This change removes the mentioned example config line, thus the default header will be used. This closes #87 Reviewers: Bessenyei Balázs Donát (Peter Ableda via Bessenyei Balázs Donát) commit be07d5ea88d2cc1a6ae3e4092f70e204b1f07d0e Author: Peter Ableda <peter.abl...@cloudera.com> Date: 2016-11-18T15:41:54Z Clean up references to the Flume 0.9 TailSource and recommendations to use Exec source to tail files Flume has Spooling Directory Source and Taildir Source now, so there's no need to use workarounds such as the Exec source to tail files. This closes #88 Reviewers: Denes Arvay, Jeff Holoman (Peter Ableda via Bessenyei Balázs Donát) commit 2192e81d959f938d4a74f99c8d65637ee1d983d9 Author: Gabriel Commeau <gabriel.comm...@gmail.com> Date: 2016-11-20T22:34:48Z FLUME-2171. Add Interceptor to remove headers from event Similar to Flume OG decorators, this introduces an Interceptor to remove headers from an event. Reviewers: Bessenyei Balázs Donát, Jeff Holoman, Denes Arvay, Attila Simon (Gabriel Commeau and Bessenyei Balázs Donát via Jeff Holoman) commit ec9327ace41100e88cbaea1394a0a62304597cc7 Author: Denes Arvay <de...@cloudera.com> Date: 2016-11-21T21:28:22Z FLUME-3025. Expose FileChannel.open on JMX This patch exposes the FileChannel's open flag on JMX to make it possible to detect when it wasn't able to start up. In those cases the open flag is false. This closes #85 Reviewers: Attila Simon, Bessenyei Balázs Donát (Denes Arvay via Bessenyei Balázs Donát) commit 2c6ca82455a1b1d4b80519286141537a69c39da5 Author: Attila Simon <s...@cloudera.com> Date: 2016-11-23T17:39:04Z Fix KafkaSource and KafkaSink example configurations in the user guide This closes #86 Reviewers: Jeff Holoman, Denes Arvay (Attila Simon via Bessenyei Balázs Donát) ---- --- 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. ---