You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Will McQueen (Updated) (JIRA)" <ji...@apache.org> on 2012/04/06 21:01:24 UTC
[jira] [Updated] (FLUME-1108) FILE_ROLL sink doesn't accept value 0
for unlimited wait time before rolling file
[ https://issues.apache.org/jira/browse/FLUME-1108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Will McQueen updated FLUME-1108:
--------------------------------
Summary: FILE_ROLL sink doesn't accept value 0 for unlimited wait time before rolling file (was: FILE_ROLL sink doesn't accept value 0 for unlimited wait tail before rolling fail)
> FILE_ROLL sink doesn't accept value 0 for unlimited wait time before rolling file
> ---------------------------------------------------------------------------------
>
> Key: FLUME-1108
> URL: https://issues.apache.org/jira/browse/FLUME-1108
> Project: Flume
> Issue Type: Bug
> Components: Sinks+Sources
> Affects Versions: v1.2.0
> Environment: [CentOS 5.7 64-bit]
> Reporter: Will McQueen
> Assignee: Hari Shreedharan
> Fix For: v1.2.0
>
>
> Using FILE_ROLL sink and the following props for it:
> sink.directory=/home/will/logs
> sink.rollInterval=0
> ...the logical expectation should should be that the file never gets rolled -- all output should go to single file.
> 2012-04-06 10:50:33,272 ERROR lifecycle.LifecycleSupervisor: Unable to start SinkRunner: { policy:org.apache.flume.sink.DefaultSinkProcessor@d6089a5 counterGroup:{ name:null counters:{} } } - Exception follows.
> java.lang.IllegalArgumentException
> at java.util.concurrent.ScheduledThreadPoolExecutor.scheduleAtFixedRate(ScheduledThreadPoolExecutor.java:420)
> at org.apache.flume.sink.RollingFileSink.start(RollingFileSink.java:104)
> at org.apache.flume.sink.DefaultSinkProcessor.start(DefaultSinkProcessor.java:43)
> at org.apache.flume.SinkRunner.start(SinkRunner.java:79)
> at org.apache.flume.lifecycle.LifecycleSupervisor$MonitorRunnable.run(LifecycleSupervisor.java:221)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:662)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira