[
https://issues.apache.org/jira/browse/ATLAS-3886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17267903#comment-17267903
]
Harvey Li commented on ATLAS-3886:
----------------------------------
Some observations:
When atlas.run.mode is set to PROD, it throws error (screenshot attached above):
{color:#de350b}org.apache.atlas.AtlasException: Failed to load application
propertiesorg.apache.atlas.AtlasException: Failed to load application
properties at
org.apache.atlas.ApplicationProperties.get(ApplicationProperties.java:147)
~[atlas-intg-2.1.0.jar:2.1.0] at
org.apache.atlas.ApplicationProperties.get(ApplicationProperties.java:100)
~[atlas-intg-2.1.0.jar:2.1.0] at
org.apache.atlas.hive.bridge.HiveMetaStoreBridge.main(HiveMetaStoreBridge.java:123)
[hive-bridge-2.1.0.jar:2.1.0]Caused by:
org.apache.commons.configuration.ConversionException:
'atlas.graph.index.search.solr.wait-searcher' doesn't map to a List object:
true, a java.lang.Boolean{color}
{color:#172b4d}When atlas.run.mode is set to DEV, it throws another error
(screenshot attached above):{color}
{color:#de350b}org.apache.atlas.AtlasException: Failed to load application
propertiesorg.apache.atlas.AtlasException: Failed to load application
properties at
org.apache.atlas.ApplicationProperties.get(ApplicationProperties.java:147)
~[atlas-intg-2.1.0.jar:2.1.0] at
org.apache.atlas.ApplicationProperties.get(ApplicationProperties.java:100)
~[atlas-intg-2.1.0.jar:2.1.0] at
org.apache.atlas.hive.bridge.HiveMetaStoreBridge.main(HiveMetaStoreBridge.java:123)
[hive-bridge-2.1.0.jar:2.1.0]Caused by:
org.apache.commons.configuration.ConversionException:
'atlas.graph.index.search.max-result-set-size' doesn't map to a List object:
150, a java.lang.Integer{color}
{color:#172b4d}Located the line that triggers the exception:
[https://github.com/apache/atlas/blob/release-2.1.0-rc3/intg/src/main/java/org/apache/atlas/ApplicationProperties.java#L142]{color}
{color:#172b4d}It seems to be related to org.apache.commons.configuration
jar.{color}
{color:#172b4d}cc [~nixon] hope you could help offer more insights based on
this. Thanks!{color}
> Import hive metastore failed for ConversionException error
> ----------------------------------------------------------
>
> Key: ATLAS-3886
> URL: https://issues.apache.org/jira/browse/ATLAS-3886
> Project: Atlas
> Issue Type: Bug
> Components: atlas-core, hive-integration
> Affects Versions: 2.1.0
> Environment: os: CentOS Linux release 7.6.1810 (Core)
> jdk: java version "1.8.0_221"
> Java(TM) SE Runtime Environment (build 1.8.0_221-b11)
> Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode)
> hive: 2.3.2
> atlas: 2.1.0-rc2
> Reporter: Lijun Ye
> Priority: Major
> Attachments: Screenshot 2021-01-19 at 10.00.33 PM.png, Screenshot
> 2021-01-19 at 9.59.59 PM.png
>
>
> When I import hive metastore, it occur this exception:
> {code:java}
> // code placeholder
> org.apache.atlas.AtlasException: Failed to load application
> propertiesorg.apache.atlas.AtlasException: Failed to load application
> properties at
> org.apache.atlas.ApplicationProperties.get(ApplicationProperties.java:147)
> ~[atlas-intg-2.1.0.jar:2.1.0] at
> org.apache.atlas.ApplicationProperties.get(ApplicationProperties.java:100)
> ~[atlas-intg-2.1.0.jar:2.1.0] at
> org.apache.atlas.hive.bridge.HiveMetaStoreBridge.main(HiveMetaStoreBridge.java:123)
> [hive-bridge-2.1.0.jar:2.1.0]Caused by:
> org.apache.commons.configuration.ConversionException:
> 'atlas.graph.index.search.solr.wait-searcher' doesn't map to a List object:
> true, a java.lang.Boolean at
> org.apache.commons.configuration.AbstractConfiguration.getList(AbstractConfiguration.java:1144)
> ~[commons-configuration-1.6.jar:1.6] at
> org.apache.commons.configuration.AbstractConfiguration.getList(AbstractConfiguration.java:1109)
> ~[commons-configuration-1.6.jar:1.6] at
> org.apache.commons.configuration.AbstractConfiguration.interpolatedConfiguration(AbstractConfiguration.java:1274)
> ~[commons-configuration-1.6.jar:1.6] at
> org.apache.atlas.ApplicationProperties.get(ApplicationProperties.java:142)
> ~[atlas-intg-2.1.0.jar:2.1.0] ... 2 moreFailed to import Hive Meta Data!!!
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)