[ https://issues.apache.org/jira/browse/ATLAS-3886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17311951#comment-17311951 ]
Kenny commented on ATLAS-3886: ------------------------------ add `atlas.graph.index.search.solr.wait-searcher` to atlas-application.properties for the error related to that. for `atlas.graph.index.search.max-result-set-size`, the following code worked for me but I'm using this strictly for spark-atlas-connector: {code:java} // setting value for 'atlas.graph.index.search.max-result-set-size' (default = 500000) int indexMaxResultSetSize = getInt(INDEX_SEARCH_MAX_RESULT_SET_SIZE, 500000); Object indexMaxResultObj = indexMaxResultSetSize; List<Object> indexMaxResultList = Arrays.asList(indexMaxResultObj); clearPropertyDirect(INDEX_SEARCH_MAX_RESULT_SET_SIZE); addPropertyDirect(INDEX_SEARCH_MAX_RESULT_SET_SIZE, indexMaxResultList); {code} > 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 10.08.21 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)