[jira] [Commented] (ATLAS-3886) Import hive metastore failed for ConversionException error

2021-03-30 Thread Kenny (Jira)


[ 
https://issues.apache.org/jira/browse/ATLAS-3886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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 = 
50)int indexMaxResultSetSize = 
getInt(INDEX_SEARCH_MAX_RESULT_SET_SIZE, 50);Object 
indexMaxResultObj = indexMaxResultSetSize;List 
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)


[jira] [Commented] (ATLAS-3886) Import hive metastore failed for ConversionException error

2021-01-19 Thread Harvey Li (Jira)


[ 
https://issues.apache.org/jira/browse/ATLAS-3886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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)


[jira] [Commented] (ATLAS-3886) Import hive metastore failed for ConversionException error

2021-01-19 Thread Harvey Li (Jira)


[ 
https://issues.apache.org/jira/browse/ATLAS-3886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17267881#comment-17267881
 ] 

Harvey Li commented on ATLAS-3886:
--

I encountered same error when using 2.1.0 build.

 

The Hadoop version used is 2.9.2 and the Hive version is 2.3.2.

 

Do you folks happen to have some clues now?

 

[~yeleeo], [~hiahia0727], [~nixon]

> 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
>
> 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)


[jira] [Commented] (ATLAS-3886) Import hive metastore failed for ConversionException error

2020-12-21 Thread WenjieLee (Jira)


[ 
https://issues.apache.org/jira/browse/ATLAS-3886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17252886#comment-17252886
 ] 

WenjieLee commented on ATLAS-3886:
--

[~yeleeo],
Hi,Have you solved your problem,the same problem I had.

I am using the 2.1.0-rc2 branch.
The hadoop version used is 2.7.3,hive version used is 2.1.0,also the config 
file atlas-application.properties is in the hive conf path,

Do you have an answer?

 

> 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
>
> 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)


[jira] [Commented] (ATLAS-3886) Import hive metastore failed for ConversionException error

2020-07-12 Thread Lijun Ye (Jira)


[ 
https://issues.apache.org/jira/browse/ATLAS-3886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17156223#comment-17156223
 ] 

Lijun Ye commented on ATLAS-3886:
-

Hi,

The config file atlas-application.properties is in the hive conf path, I am 
sure it is exist.

> 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
>
> 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)


[jira] [Commented] (ATLAS-3886) Import hive metastore failed for ConversionException error

2020-07-12 Thread Lijun Ye (Jira)


[ 
https://issues.apache.org/jira/browse/ATLAS-3886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17156221#comment-17156221
 ] 

Lijun Ye commented on ATLAS-3886:
-

Hi,
Hive version is 2.3.2 not 2.7.3 for the  mistake




> 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
>
> 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)


[jira] [Commented] (ATLAS-3886) Import hive metastore failed for ConversionException error

2020-07-12 Thread Lijun Ye (Jira)


[ 
https://issues.apache.org/jira/browse/ATLAS-3886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17156220#comment-17156220
 ] 

Lijun Ye commented on ATLAS-3886:
-

Hi,
I am using the 2.1.0-rc2 branch.
After building, and start the atlas,
then execute bin/import-hive.sh command.
Also the hive version usd is 2.7.3.

On Sat, Jul 11, 2020 at 1:43 PM Nixon Rodrigues (Jira) 



> 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
>
> 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)


[jira] [Commented] (ATLAS-3886) Import hive metastore failed for ConversionException error

2020-07-10 Thread Nixon Rodrigues (Jira)


[ 
https://issues.apache.org/jira/browse/ATLAS-3886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17155891#comment-17155891
 ] 

Nixon Rodrigues commented on ATLAS-3886:


[~yeleeo],

Can you provide steps you followed to step the atlas hive hooks libs ?
Which hive version are you using ?

Looks like there are multiple commons-configuration jar which execution, can 
you confirm this too.

> 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
>
> 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)


[jira] [Commented] (ATLAS-3886) Import hive metastore failed for ConversionException error

2020-07-10 Thread Nixon Rodrigues (Jira)


[ 
https://issues.apache.org/jira/browse/ATLAS-3886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17155488#comment-17155488
 ] 

Nixon Rodrigues commented on ATLAS-3886:


[~yeleeo], 

Is your atlas-application.properties file present path in /etc/hive/conf. Can 
you check this ?
Also can you share the atlas-application.properties file you are using.

LMK
Nixon

> 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
>
> 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)