You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/11/26 01:12:00 UTC

[jira] [Commented] (ATLAS-2980) fix HBaseBasedAuditRepository.putEventsV2() to store entity-json string

    [ https://issues.apache.org/jira/browse/ATLAS-2980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16698373#comment-16698373 ] 

ASF subversion and git services commented on ATLAS-2980:
--------------------------------------------------------

Commit 618cf361201828faba3b7cf1f47dad2e348db634 in atlas's branch refs/heads/master from Sizhong Du
[ https://git-wip-us.apache.org/repos/asf?p=atlas.git;h=618cf36 ]

ATLAS-2980: fix HBaseBasedAuditRepository.putEventsV2() to store entity-json string

Signed-off-by: Madhan Neethiraj <ma...@apache.org>


> 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
>             Fix For: 1.2.0, 2.0.0
>
>         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)