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:43:44 UTC

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

     [ https://issues.apache.org/jira/browse/ATLAS-1583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashutosh Mestry updated ATLAS-1583:
-----------------------------------
    Description: 
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*
bq.
"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 }
bq.
*Should be*
bq.
"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 }
bq.

  was:
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 }
_


> 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*
> bq.
> "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 }
> bq.
> *Should be*
> bq.
> "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 }
> bq.



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