Details
-
Bug
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
1.2.0, 2.0.0
-
None
Description
when runĀ import-hive.sh, the script raise as follow:
2020-06-11 10:49:01,177 INFO - [main:] ~ Looking for atlas-application.properties in classpath (ApplicationProperties:97) 2020-06-11 10:49:01,181 INFO - [main:] ~ Looking for /atlas-application.properties in classpath (ApplicationProperties:102) 2020-06-11 10:49:01,182 INFO - [main:] ~ Loading atlas-application.properties from null (ApplicationProperties:110) 2020-06-11 10:49:01,199 ERROR - [main:] ~ Import failed (HiveMetaStoreBridge:176) org.apache.atlas.AtlasException: Failed to load application properties at org.apache.atlas.ApplicationProperties.get(ApplicationProperties.java:121) at org.apache.atlas.ApplicationProperties.get(ApplicationProperties.java:73) at org.apache.atlas.hive.bridge.HiveMetaStoreBridge.main(HiveMetaStoreBridge.java:120) Caused by: org.apache.commons.configuration.ConfigurationException: Cannot locate configuration source null at org.apache.commons.configuration.AbstractFileConfiguration.load(AbstractFileConfiguration.java:259) at org.apache.commons.configuration.AbstractFileConfiguration.load(AbstractFileConfiguration.java:238) at org.apache.commons.configuration.AbstractFileConfiguration.<init>(AbstractFileConfiguration.java:197) at org.apache.commons.configuration.PropertiesConfiguration.<init>(PropertiesConfiguration.java:284) at org.apache.atlas.ApplicationProperties.<init>(ApplicationProperties.java:56) at org.apache.atlas.ApplicationProperties.get(ApplicationProperties.java:112) ... 2 more
the script can not find the config file of atlas-application.propertiesĀ