[ https://issues.apache.org/jira/browse/ATLAS-588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Suma Shivaprasad updated ATLAS-588: ----------------------------------- Attachment: ATLAS-588.1.patch Fixed review comment > import-hive.sh fails while importing partitions for a non-partitioned table > --------------------------------------------------------------------------- > > Key: ATLAS-588 > URL: https://issues.apache.org/jira/browse/ATLAS-588 > Project: Atlas > Issue Type: Bug > Affects Versions: 0.7-incubating > Reporter: Suma Shivaprasad > Assignee: Suma Shivaprasad > Fix For: 0.7-incubating > > Attachments: ATLAS-588.1.patch, ATLAS-588.patch > > > {noformat} > [root@sneethiraj-ambari-atlas-job-160323-0215-1 atlas-server]# export > HIVE_CONF_DIR=/etc/hive/conf > [root@sneethiraj-ambari-atlas-job-160323-0215-1 atlas-server]# > bin/import-hive.sh > Using Hive configuration directory [/etc/hive/conf] > Log file for import is /var/log/atlas/import-hive.log > Exception in thread "main" org.codehaus.jettison.json.JSONException: > JSONArray[0] not found. > at org.codehaus.jettison.json.JSONArray.get(JSONArray.java:193) > at org.codehaus.jettison.json.JSONArray.getString(JSONArray.java:316) > at > org.apache.atlas.hive.bridge.HiveMetaStoreBridge.registerInstance(HiveMetaStoreBridge.java:191) > at > org.apache.atlas.hive.bridge.HiveMetaStoreBridge.registerPartition(HiveMetaStoreBridge.java:452) > at > org.apache.atlas.hive.bridge.HiveMetaStoreBridge.registerPartitions(HiveMetaStoreBridge.java:438) > at > org.apache.atlas.hive.bridge.HiveMetaStoreBridge.importTables(HiveMetaStoreBridge.java:256) > at > org.apache.atlas.hive.bridge.HiveMetaStoreBridge.importDatabases(HiveMetaStoreBridge.java:122) > at > org.apache.atlas.hive.bridge.HiveMetaStoreBridge.importHiveMetadata(HiveMetaStoreBridge.java:114) > at > org.apache.atlas.hive.bridge.HiveMetaStoreBridge.main(HiveMetaStoreBridge.java:608) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)