You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Ashutosh Mestry (JIRA)" <ji...@apache.org> on 2017/02/22 00:41:44 UTC

[jira] [Created] (ATLAS-1583) Import API: Ambiguous Metrics

Ashutosh Mestry created ATLAS-1583:
--------------------------------------

             Summary: Import API: Ambiguous Metrics
                 Key: ATLAS-1583
                 URL: https://issues.apache.org/jira/browse/ATLAS-1583
             Project: Atlas
          Issue Type: Bug
          Components: atlas-webui
    Affects Versions: 0.8-incubating
            Reporter: Ashutosh Mestry
            Assignee: Ashutosh Mestry
            Priority: Minor
             Fix For: 0.8-incubating


Metrics reported by Import API result can be confusing. The format <entity type>:<entity name>:created and <entity type>:<entity name>:updated can appear like duplication.
Please see example below:
Existing
_ "metrics":
{ "typedef:enum": 0, "typedef:struct": 0, "entity:hive_column:created": 7, "entity:hive_column:updated": 7, "entity:hive_storagedesc:created": 1, "entity:hive_storagedesc:updated": 1, "entity:hive_process:created": 1, "entity:hive_process:updated": 1, "entity:hive_db:created": 1, "entity:hive_db:updated": 1, "Duration": 654, "entity:hive_table:created": 1, "entity:hive_table:updated": 1, "entity:hdfs_path:created": 1, "entity:hdfs_path:updated": 1, "typedef:entitydef": 6, "typedef:classification": 0 }
,_
Should be
_ "metrics":
{ "typedef:enum": 0, "typedef:struct": 0, "entity:hive_column:created": 7, "entity:hive_storagedesc:created": 1, "entity:hive_process:created": 1, "entity:hive_db:created": 1, "Duration": 9454, "entity:hive_table:created": 1, "entity:hdfs_path:created": 1, "typedef:entitydef": 6, "typedef:classification": 0 }
_



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)