[
https://issues.apache.org/jira/browse/ATLAS-4483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17445768#comment-17445768
]
wuzhiguo commented on ATLAS-4483:
---------------------------------
duplicated with
[#4479|https://issues.apache.org/jira/projects/ATLAS/issues/ATLAS-4479]
> NullPointerException when Starting Atlas server
> -----------------------------------------------
>
> Key: ATLAS-4483
> URL: https://issues.apache.org/jira/browse/ATLAS-4483
> Project: Atlas
> Issue Type: Bug
> Components: atlas-intg
> Affects Versions: 2.2.0
> Reporter: 毕博
> Priority: Major
>
>
> start Atlas server fail,the error message is as follows
> atlas.20211116-191403.err
> {code:java}
> //代码占位符
> Exception't map to an existing object 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:110)
> 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}
>
> application.log
> {code:java}
> //代码占位符
> 2021-11-16 19:19:17,458 INFO - [main:] ~ Loading
> atlas-application.properties from
> file:/home/mfw_hadoop/apache-atlas-2.2.0/conf/atlas-application.properties
> (ApplicationProperties:137)
> 2021-11-16 19:19:17,466 INFO - [main:] ~ Using graphdb backend 'janus'
> (ApplicationProperties:317)
> 2021-11-16 19:19:17,466 INFO - [main:] ~ Using storage backend 'hbase2'
> (ApplicationProperties:328)
> 2021-11-16 19:19:17,466 INFO - [main:] ~ Using index backend 'elasticsearch'
> (ApplicationProperties:339)
> 2021-11-16 19:19:17,467 INFO - [main:] ~ Setting
> atlas.graph.index.search.max-result-set-size = 500000
> (ApplicationProperties:364)
> 2021-11-16 19:19:17,472 INFO - [shutdown-hook-0:] ~ ==> Shutdown of Atlas
> (Atlas$1:63)
> 2021-11-16 19:19:17,475 ERROR - [shutdown-hook-0:] ~ Failed to shutdown
> (Atlas$1:67)
> java.lang.NullPointerException
> at org.apache.atlas.Atlas.shutdown(Atlas.java:76)
> at org.apache.atlas.Atlas.access$100(Atlas.java:45)
> at org.apache.atlas.Atlas$1.run(Atlas.java:65)
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> 2021-11-16 19:19:17,477 INFO - [shutdown-hook-0:] ~ <== Shutdown of Atlas
> (Atlas$1:69)
> {code}
>
> In atlas-application.properties ,THE Configuration item
> "atlas.graph.index.search.backend=elasticsearch"
--
This message was sent by Atlassian Jira
(v8.20.1#820001)