Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FLUME-3468] fix default value of passwordFile property when userName is set for jms source #405

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

nikita15p
Copy link
Contributor

In jms source, when passwordFile property in agent config is not set, currently null value is getting passed which causes exception due to password = Optional.absent(); in https://github.com/apache/flume/blob/trunk/flume-ng-sources/flume-jms-source/src/main/java/org/apache/flume/source/jms/JMSSource.java#L173.

This PR, sets default value to empty string in case passwordFile property is not set.

@nikita15p
Copy link
Contributor Author

@rgoers can u please review this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant