You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Venkatesh Seetharam (JIRA)" <ji...@apache.org> on 2015/07/11 01:13:04 UTC

[jira] [Commented] (ATLAS-61) Inconsistent metadata content

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

Venkatesh Seetharam commented on ATLAS-61:
------------------------------------------

I'm pretty sure hive hook has triggered and added the missing types before adding the query metadata. Can you please verify in the logs?

> Inconsistent metadata content
> -----------------------------
>
>                 Key: ATLAS-61
>                 URL: https://issues.apache.org/jira/browse/ATLAS-61
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: David Kaspar
>
> Steps to reproduce:
> build Atlas binaries and install it to a fresh directory (aka in untar the binary artifact to new/empty directory) and run:
> {code}
> apache-atlas-0.6-incubating-SNAPSHOT/bin/atlas_start.sh
> sleep 30
> curl http://127.0.0.1:21000/api/atlas/types
> # it prints: {"results":["Process","Infrastructure","DataSet"],"count":3,"requestId":"1244107514@qtp-1475081618-0 - 4ced54d8-a726-4384-8e97-3f3d5535d307"}
> apache-atlas-0.6-incubating-SNAPSHOT/bin/atlas_stop.sh
> apache-atlas-0.6-incubating-SNAPSHOT/bin/atlas_start.sh
> sleep 30
> curl http://127.0.0.1:21000/api/atlas/types
> # it prints: {"results":["hive_function_type","hive_index","Process","hive_column","hive_serde","hive_function","hive_resourceuri","hive_table","hive_storagedesc","hive_principal_type","hive_process","hive_resource_type","hive_type","hive_object_type","Infrastructure","hive_order","hive_role","DataSet","hive_partition","hive_db"],"count":20,"requestId":"500065027@qtp-1586292005-0 - 22906b64-8c9e-4f1d-97b6-6eadf2a71bbf"}
> {code}
> Note that I have not been load any types - I just started, stopped and then started the atlas again and it printed inconsistent types.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)