Support Questions

Find answers, ask questions, and share your expertise
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

Unable to import hive with atlas


Im installing atlas and trying to import hive. But is failing with below exception. Not sure which path the script is refering for the configuration file. I have copied to all locations possible.

2017-05-05 13:06:07,154 INFO - [main:] ~ Looking for in classpath (ApplicationProperties:73) 2017-05-05 13:06:07,157 INFO - [main:] ~ Looking for / in classpath (ApplicationProperties:78) 2017-05-05 13:06:07,157 INFO - [main:] ~ Loading from null (ApplicationProperties:86) Exception in thread "main" org.apache.atlas.AtlasException: Failed to load application properties at org.apache.atlas.ApplicationProperties.get( at org.apache.atlas.ApplicationProperties.get( at org.apache.atlas.hive.bridge.HiveMetaStoreBridge.main( Caused by: org.apache.commons.configuration.ConfigurationException: Cannot locate configuration source null at org.apache.commons.configuration.AbstractFileConfiguration.load( at org.apache.commons.configuration.AbstractFileConfiguration.load( at org.apache.commons.configuration.AbstractFileConfiguration.<init>( at org.apache.commons.configuration.PropertiesConfiguration.<init>( at org.apache.atlas.ApplicationProperties.<init>( at org.apache.atlas.ApplicationProperties.get( ... 2 more Failed to import Hive Data Model!!!


THis has been resolved by changing the to

View solution in original post



THis has been resolved by changing the to


But unable to finish import with below error.

2017-05-05 15:04:34,016 INFO - [main:] ~ Client has only one service URL, will use that for all actions: (AtlasClient:265) 2017-05-05 15:04:35,219 WARN - [main:] ~ Unable to load native-hadoop library for your platform... using builtin-java classes where applicable (NativeCodeLoader:62) 2017-05-05 15:04:36,205 DEBUG - [main:] ~ Using resource for 0 times (AtlasClient:784) 2017-05-05 15:04:36,233 DEBUG - [main:] ~ API returned status 200 (AtlasClient:1191) Exception in thread "main" org.json4s.package$MappingException: No usable value for classTypes No usable value for typeDescription Did not find value which can be converted into java.lang.String at org.json4s.reflect.package$.fail(package.scala:96) at org.json4s.Extraction$$json4s$Extraction$ClassInstanceBuilder$$buildCtorArg(Extraction.scala:462) at org.json4s.Extraction$ClassInstanceBuilder$$anonfun$14.apply(Extraction.scala:482)

Rising Star

The latest error that you posted usually means that the data is not being sent correctly to atlas server. Hence when trying to serve the request, atlas fails to process the call. Can you share the application logs from atlas ?

THis has been resolved by changing the to

Cloudera Employee

Please note '' file is present in '/etc/atlas/conf/' folder so you need to rename it to '' with permissions of 744, owner as atlas and group as hadoop.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.