[ https://issues.apache.org/jira/browse/FLUME-3454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nikita Pande updated FLUME-3454: -------------------------------- Description: Error while running flume-ng agent agent with jms source when password field is absent ```2023-03-17T06:54:53,681 ERROR [lifecycleSupervisor-1-0] source.BasicSourceSemantics: Unexpected error performing start: name = fe_source_1 java.lang.IllegalStateException: value is absent at com.google.common.base.Optional$Absent.get(Optional.java:263) ~[guava-11.0.2.jar:?] at org.apache.flume.source.jms.JMSMessageConsumer.<init>(JMSMessageConsumer.java:71) ~[flume-jms-source-1.11.0.jar:1.11.0] at org.apache.flume.source.jms.JMSSource.createConsumer(JMSSource.java:390) ~[flume-jms-source-1.11.0.jar:1.11.0] at org.apache.flume.source.jms.JMSSource.doStart(JMSSource.java:370) ~[flume-jms-source-1.11.0.jar:1.11.0] at org.apache.flume.source.BasicSourceSemantics.start(BasicSourceSemantics.java:83) ~[flume-ng-core-1.11.0.jar:1.11.0] at org.apache.flume.source.PollableSourceRunner.start(PollableSourceRunner.java:71) ~[flume-ng-core-1.11.0.jar:1.11.0] at org.apache.flume.lifecycle.LifecycleSupervisor$MonitorRunnable.run(LifecycleSupervisor.java:249) ~[flume-ng-core-1.11.0.jar:1.11.0] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_352] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) ~[?:1.8.0_352] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) ~[?:1.8.0_352] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) ~[?:1.8.0_352] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_352] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_352] at java.lang.Thread.run(Thread.java:750) ~[?:1.8.0_352] 2023-03-17T06:54:53,713 ERROR [PollableSourceRunner-JMSSource-fe_source_1] source.PollableSourceRunner: Unhandled exception, logging and sleeping for 5000ms org.apache.flume.FlumeException: Source had error configuring or starting at org.apache.flume.source.AbstractPollableSource.process(AbstractPollableSource.java:53) ~[flume-ng-core-1.11.0.jar:1.11.0] at org.apache.flume.source.PollableSourceRunner$PollingRunner.run(PollableSourceRunner.java:133) ~[flume-ng-core-1.11.0.jar:1.11.0] at java.lang.Thread.run(Thread.java:750) ~[?:1.8.0_352]``` was: Error while running flume-ng agent agent with jms source when password field is absent ``` 2023-03-17T06:54:53,681 ERROR [lifecycleSupervisor-1-0] source.BasicSourceSemantics: Unexpected error performing start: name = fe_source_1 java.lang.IllegalStateException: value is absent at com.google.common.base.Optional$Absent.get(Optional.java:263) ~[guava-11.0.2.jar:?] at org.apache.flume.source.jms.JMSMessageConsumer.<init>(JMSMessageConsumer.java:71) ~[flume-jms-source-1.11.0.jar:1.11.0] at org.apache.flume.source.jms.JMSSource.createConsumer(JMSSource.java:390) ~[flume-jms-source-1.11.0.jar:1.11.0] at org.apache.flume.source.jms.JMSSource.doStart(JMSSource.java:370) ~[flume-jms-source-1.11.0.jar:1.11.0] at org.apache.flume.source.BasicSourceSemantics.start(BasicSourceSemantics.java:83) ~[flume-ng-core-1.11.0.jar:1.11.0] at org.apache.flume.source.PollableSourceRunner.start(PollableSourceRunner.java:71) ~[flume-ng-core-1.11.0.jar:1.11.0] at org.apache.flume.lifecycle.LifecycleSupervisor$MonitorRunnable.run(LifecycleSupervisor.java:249) ~[flume-ng-core-1.11.0.jar:1.11.0] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_352] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) ~[?:1.8.0_352] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) ~[?:1.8.0_352] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) ~[?:1.8.0_352] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_352] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_352] at java.lang.Thread.run(Thread.java:750) ~[?:1.8.0_352] 2023-03-17T06:54:53,713 ERROR [PollableSourceRunner-JMSSource-fe_source_1] source.PollableSourceRunner: Unhandled exception, logging and sleeping for 5000ms org.apache.flume.FlumeException: Source had error configuring or starting at org.apache.flume.source.AbstractPollableSource.process(AbstractPollableSource.java:53) ~[flume-ng-core-1.11.0.jar:1.11.0] at org.apache.flume.source.PollableSourceRunner$PollingRunner.run(PollableSourceRunner.java:133) ~[flume-ng-core-1.11.0.jar:1.11.0] at java.lang.Thread.run(Thread.java:750) ~[?:1.8.0_352] ``` > exception while starting jms source when password field is absent in config > file > -------------------------------------------------------------------------------- > > Key: FLUME-3454 > URL: https://issues.apache.org/jira/browse/FLUME-3454 > Project: Flume > Issue Type: Bug > Components: Sinks+Sources > Affects Versions: notrack > Environment: * Flume version : 1.11 > * +OS Details+ > NAME="Red Hat Enterprise Linux Server" > VERSION="7.9 (Maipo)" > ID="rhel" > ID_LIKE="fedora" > * Tested with JMS source > * In flume.conf, passwordFile is not present > Reporter: Nikita Pande > Priority: Major > Fix For: notrack > > > Error while running flume-ng agent agent with jms source when password field > is absent > ```2023-03-17T06:54:53,681 ERROR [lifecycleSupervisor-1-0] > source.BasicSourceSemantics: Unexpected error performing start: name = > fe_source_1 > java.lang.IllegalStateException: value is absent > at com.google.common.base.Optional$Absent.get(Optional.java:263) > ~[guava-11.0.2.jar:?] > at > org.apache.flume.source.jms.JMSMessageConsumer.<init>(JMSMessageConsumer.java:71) > ~[flume-jms-source-1.11.0.jar:1.11.0] > at org.apache.flume.source.jms.JMSSource.createConsumer(JMSSource.java:390) > ~[flume-jms-source-1.11.0.jar:1.11.0] > at org.apache.flume.source.jms.JMSSource.doStart(JMSSource.java:370) > ~[flume-jms-source-1.11.0.jar:1.11.0] > at > org.apache.flume.source.BasicSourceSemantics.start(BasicSourceSemantics.java:83) > ~[flume-ng-core-1.11.0.jar:1.11.0] > at > org.apache.flume.source.PollableSourceRunner.start(PollableSourceRunner.java:71) > ~[flume-ng-core-1.11.0.jar:1.11.0] > at > org.apache.flume.lifecycle.LifecycleSupervisor$MonitorRunnable.run(LifecycleSupervisor.java:249) > ~[flume-ng-core-1.11.0.jar:1.11.0] > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > ~[?:1.8.0_352] > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) > ~[?:1.8.0_352] > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) > ~[?:1.8.0_352] > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) > ~[?:1.8.0_352] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > ~[?:1.8.0_352] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > ~[?:1.8.0_352] > at java.lang.Thread.run(Thread.java:750) ~[?:1.8.0_352] > 2023-03-17T06:54:53,713 ERROR [PollableSourceRunner-JMSSource-fe_source_1] > source.PollableSourceRunner: Unhandled exception, logging and sleeping for > 5000ms > org.apache.flume.FlumeException: Source had error configuring or starting > at > org.apache.flume.source.AbstractPollableSource.process(AbstractPollableSource.java:53) > ~[flume-ng-core-1.11.0.jar:1.11.0] > at > org.apache.flume.source.PollableSourceRunner$PollingRunner.run(PollableSourceRunner.java:133) > ~[flume-ng-core-1.11.0.jar:1.11.0] > at java.lang.Thread.run(Thread.java:750) ~[?:1.8.0_352]``` > -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@flume.apache.org For additional commands, e-mail: issues-h...@flume.apache.org