You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Robert Yokota (Jira)" <ji...@apache.org> on 2021/10/19 20:09:00 UTC

[jira] [Created] (ATLAS-4456) Atlas fails to start if Solr wait-searcher property is not set

Robert Yokota created ATLAS-4456:
------------------------------------

             Summary: 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


Atlas fails to start if Solr wait-searcher property 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.3.4#803005)