[
https://issues.apache.org/jira/browse/ATLAS-2980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Madhan Neethiraj updated ATLAS-2980:
------------------------------------
Description:
HBaseBasedAuditRepository.putEventsV2() currently stores entity.toString()
value in audit record field 'definition'. This should be fixed to store JSON
string of the entity, since the listEventsV2() API interprets the 'definition'
field value as JSON to convert into AtlasEntity.
Issue was reported and patch provided via pull request
https://github.com/apache/atlas/pull/19/commits, by TomDu.
was:HBaseBasedAuditRepository.putEventsV2() currently stores
entity.toString() value in audit record field 'definition'. This should be
fixed to store JSON string of the entity, since the listEventsV2() API
interprets the 'definition' field value as JSON to convert into AtlasEntity.
> fix HBaseBasedAuditRepository.putEventsV2() to store entity-json string
> ------------------------------------------------------------------------
>
> Key: ATLAS-2980
> URL: https://issues.apache.org/jira/browse/ATLAS-2980
> Project: Atlas
> Issue Type: Bug
> Components: atlas-core
> Affects Versions: 1.0.0, 1.1.0
> Reporter: Madhan Neethiraj
> Priority: Major
> Attachments: ATLAS-2980.patch
>
>
> HBaseBasedAuditRepository.putEventsV2() currently stores entity.toString()
> value in audit record field 'definition'. This should be fixed to store JSON
> string of the entity, since the listEventsV2() API interprets the
> 'definition' field value as JSON to convert into AtlasEntity.
> Issue was reported and patch provided via pull request
> https://github.com/apache/atlas/pull/19/commits, by TomDu.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)