[
https://issues.apache.org/jira/browse/FLUME-3454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17701948#comment-17701948
]
ASF subversion and git services commented on FLUME-3454:
--------------------------------------------------------
Commit 5a4dd8bab83fae7f059cd3986573487d6bf484b5 in flume's branch
refs/heads/trunk from Ralph Goers
[ https://gitbox.apache.org/repos/asf?p=flume.git;h=5a4dd8bab ]
Merge pull request #397 from nikita15p/bug-fix/FLUME-3454
[FLUME-3454] fixing exception while starting agent configured to jms source
when passwordFile field is missing
> 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
> Assignee: Nikita Pande
> Priority: Major
> Labels: pull-request-available
> Fix For: notrack
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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: [email protected]
For additional commands, e-mail: [email protected]