[
https://issues.apache.org/jira/browse/ATLAS-4456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17515514#comment-17515514
]
Halana Silva commented on ATLAS-4456:
-------------------------------------
Duplicated [#4483|https://issues.apache.org/jira/browse/ATLAS-4483]
Could you please approve the merge with the fix?
[https://github.com/apache/atlas/pull/152]
> Atlas fails to start if Solr wait-searcher property is not set
> --------------------------------------------------------------
>
> Key: ATLAS-4456
> URL: https://issues.apache.org/jira/browse/ATLAS-4456
> Project: Atlas
> Issue Type: Bug
> Components: atlas-core
> Affects Versions: 2.2.0
> Reporter: Robert Yokota
> Assignee: Ashutosh Mestry
> Priority: Major
>
> Atlas fails to start if Solr wait-searcher property is not set. This is due
> to the following line
> [https://github.com/apache/atlas/blob/release-2.2.0-rc1/intg/src/main/java/org/apache/atlas/ApplicationProperties.java#L365]
> which will throw the following exception:
> {code:java}
> Exception in thread "main" org.apache.atlas.AtlasException: Failed to load
> application properties
> at
> org.apache.atlas.ApplicationProperties.get(ApplicationProperties.java:150)
> at
> org.apache.atlas.ApplicationProperties.get(ApplicationProperties.java:103)
> at org.apache.atlas.Atlas.main(Atlas.java:111)
> Caused by: java.util.NoSuchElementException:
> 'atlas.graph.index.search.solr.wait-searcher' doesn't map to an existing
> object
> at
> org.apache.commons.configuration.AbstractConfiguration.getBoolean(AbstractConfiguration.java:644)
> at
> org.apache.atlas.ApplicationProperties.setDefaults(ApplicationProperties.java:365)
> at
> org.apache.atlas.ApplicationProperties.get(ApplicationProperties.java:141)
> ... 2 more
> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)