You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently have 76 open PRs: #470 and 75 PRs dating from 2014 to 2023.
I asked an LLM to review the remaining PRs to see which could still be useful and which should be closed. Summary:
24 PRs are still useful, the problem they address is still present on trunk, though most need a rebase or partial rework.
45 PRs should be closed here, they target components that moved to a satellite repository, are already fixed, or are superseded. A few of the moved-component fixes may still apply in their new home (I did not verify them against the satellite repos), so the close note can invite authors to re-open there.
6 PRs need a maintainer decision (project direction or design questions).
Still useful after adaptation (24)
Taildir source and file channel bug fixes (11)
This is the most valuable cluster. All of these bugs are still present on current trunk:
File channel: int overflow sizing the checkpoint file for capacity above ~268M events
One-character (long) cast, still applies cleanly
If we consolidate the rename/duplication/leak family, #336 plus the close logic of #295 plus the atomic attribute read of #368 cover the whole cluster, and #313 (with #367) covers position-file durability.
Gap still exists, but the patch targets Jetty 6, needs a full Jetty 12 rework
Proposed for closing (45)
Component moved to a satellite repository (35)
These PRs target code that no longer lives in this repository. They should be closed here; where noted, the fix may still be relevant in the component's new home and the author can be invited to re-open there.
Add a simple split interceptor #14: a delimiter-split interceptor; the surviving RegexExtractorInterceptor already extracts body substrings into headers, and the motivating use case (partitioning HDFS sink paths) moved out with the HDFS sink
While checking the PRs, two leftovers from the module moves turned up on trunk:
src/site/antora/modules/ROOT/pages/FlumeUserGuide.adoc still documents the HDFS Sink and references the Kafka channel, both of which moved to their satellite repositories.
Close the 45 PRs above with a short note pointing to this discussion; for the moved components, the note should name the satellite repository and invite the author to re-open there if the fix still applies.
Treat the 11 taildir/file-channel fixes as a consolidated effort rather than 11 separate rebases.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
We currently have 76 open PRs: #470 and 75 PRs dating from 2014 to 2023.
I asked an LLM to review the remaining PRs to see which could still be useful and which should be closed. Summary:
Still useful after adaptation (24)
Taildir source and file channel bug fixes (11)
This is the most valuable cluster. All of these bugs are still present on current trunk:
inodeOnlytrackingReliableTaildirEventReaderstill reopens a renamed file at position 0 (path check inupdateTailFiles)RandomAccessFileis still never closed before replacementgetInode()andlastModified()/length()resets position to 0 on rotationprocess(), the position writer and the idle checker threadsexistingInodesis cleared while iterated,tailFilesis a plainHashMapnew FileWriter(file)still truncates before writing; most of the diff is whitespace noise, needs cleanupidleTimeoutafter rotation or deletionNoSuchFileExceptionaborts the checker)idleInodeswhen the channel is fullList<File> result;variable inTaildirMatcherintoverflow sizing the checkpoint file for capacity above ~268M events(long)cast, still applies cleanlyIf we consolidate the rename/duplication/leak family, #336 plus the close logic of #295 plus the atomic attribute read of #368 cover the whole cluster, and #313 (with #367) covers position-file durability.
Core, SDK, scripts and packaging (13)
JSONEvent.setBodyuses the platform default charsetChannelProcessorsuppresses the original exceptionCounterGroupfromStressSourceMapResolver.resolvePropertiescallbin/flume-ngclobbers caller-setFLUME_CLASSPATH,JAVA_OPTS, etc.${VAR:-default}fix, still appliesContext's new home influme-ng-sdkRollingFileSinkFIXME: Rotate on sizeis still in the code;PathManagerbecame an interface sinceRollingFileSinkshould create or checksink.directorytestMinimumRequiredSpaceTooSmallforPutflume.root.logger-style overrides inconf/log4j2.xmllog4j2.xmlhunk survives, and it has an unclosed-brace bugsink.event.drain.sucesscounter typoProposed for closing (45)
Component moved to a satellite repository (35)
These PRs target code that no longer lives in this repository. They should be closed here; where noted, the fix may still be relevant in the component's new home and the author can be invited to re-open there.
flume-hdfs-sinkin apache/logging-flume-hadoop: Add BucketWriterOptions to simplify the BucketWriter's constructor #103, fix "eventCounter" increase bug in append() #104, FLUME-3023 {variable} substitution doesn't work for property 'fileSuffix' #110, "idleFuture" should reset to "null" after idle bucket closed #114, Doc fix: Size of files created by HDFS Sink won't necessarily match the configured rollSize value #115, FLUME-3190: flume shutdown hook issue when both hbase and hdfs sink a… #180, FLUME-3268:Introducing micro batch processing to HDFSEventSink #223, FLUME-3146 Use public API HdfsDataOutputStream#getCurrentBlockReplica… #250, FLUME-3304.patch.hdfs sink rename empty file #256, hdfs close from async to sync and roll back after retry 3 #345flume-hive-sinkin apache/logging-flume-hadoop: FLUME-2956 - hive sink not sending heartbeat correctly #206, FLUME-3354. Fix compilation error against Hive 2.3.5 and above. #315flume-hbase2-sinkin apache/logging-flume-hadoop (the HBase 1 sink these PRs target was dropped): fixed typo and close Serializer in HBaseSink #20, Create JsonHbaseEventSerializer.java #30 (the one-character javadoc typo from fixed typo and close Serializer in HBaseSink #20,IllegalArguemntException, still exists influme-ng-sdkContextand can be fixed directly)flume-rpc-avroin apache/logging-flume-rpc: Flume 2866 #38, FLUME-2459 Spooling Directory Source support for gzip files #41, a EventDeserializer for spooldir #76, Read header and footer if available #99, FLUME-3207:Fix some typos in TestReliableSpoolingFileEventReader #193flume-rpc-thriftin apache/logging-flume-rpc: FLUME-2984: Fix OOM in thrift source. Make transport buffer configurable. #102TestRateLimiter, was fixed separately in Make TestRateLimiter locale-independent #469)NettyAvroRpcClientjavadoc; the class is now influme-rpc-avroin apache/logging-flume-rpc), Fixes to address 2K message size limit when using SyslogUDPSource. #45 (syslog UDP 2K limit; the source stayed here but was rewritten on Netty 4, which already grows the buffer to 64K), FLUME-3205:Remove unnecessary 'synchronized' in ResettableFileInputStream #192 (ResettableFileInputStreamstayed influme-ng-sdkbut its only consumer, the spooling directory reader, moved to logging-flume-rpc), add redis channel #176 (new redis channel; new integrations belong in satellite repositories, not here)Superseded or already fixed (6)
RegexExtractorInterceptoralready extracts body substrings into headers, and the motivating use case (partitioning HDFS sink paths) moved out with the HDFS sinkChannelSelectorConfigurationcomparison bug is already fixed on trunk--conf-uri)ExternalProcessConfigFiltercovers the use case); was explicitly WIPWrong or not a bug (4)
Sink.process()contract violation no in-tree sink triggers, and the fix would busy-looprun_flumeNeeds a maintainer decision (6)
logging-flume-*repository rather than here; both diffs are 2017-era and would need a full rework either way.Side findings
While checking the PRs, two leftovers from the module moves turned up on trunk:
src/site/antora/modules/ROOT/pages/FlumeUserGuide.adocstill documents the HDFS Sink and references the Kafka channel, both of which moved to their satellite repositories.IllegalArguemntExceptionjavadoc typo influme-ng-sdkContext(from fixed typo and close Serializer in HBaseSink #20 above).Proposed next steps
All reactions