-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72960/
-----------------------------------------------------------
(Updated Oct. 19, 2020, 12:42 p.m.)
Review request for atlas, Jayendra Parab, Madhan Neethiraj, Nixon Rodrigues,
and Sarath Subramanian.
Bugs: ATLAS-3994
https://issues.apache.org/jira/browse/ATLAS-3994
Repository: atlas
Description
-------
06:33:41.409 [main] ERROR org.apache.atlas.hive.bridge.HiveMetaStoreBridge -
Import failed for hive_table tobedeleted__wallet
org.apache.atlas.AtlasServiceException: Metadata service API
org.apache.atlas.AtlasClientV2$API_V2@17f2dd85 failed with status 404 (Not
Found) Response Body (
{"errorCode":"ATLAS-404-00-007","errorMessage":"Invalid instance
creation/updation parameters passed : hive_process.userName: mandatory
attribute value missing in type hive_process"}
)
This patch adds the null check for "owner" to fix the bug.
Diffs (updated)
-----
addons/hive-bridge/src/main/java/org/apache/atlas/hive/bridge/HiveMetaStoreBridge.java
24e06dc2b
Diff: https://reviews.apache.org/r/72960/diff/2/
Changes: https://reviews.apache.org/r/72960/diff/1-2/
Testing
-------
Tested import hive script for db, tables
Thanks,
chaitali