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

Aditya Gupta commented on ATLAS-5064:
-------------------------------------

I reproduced the above scenario:

I am able to see hive_tables on UI.

1. Created hive_db

curl -u admin:admin -X POST http://localhost:21000/api/atlas/v2/entity \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
  "entity": {
    "typeName": "hive_db",
    "attributes": {
      "name": "default",
      "qualifiedName": "default@primary",
      "clusterName": "primary",
      "description": "Database for storing Employee INFO!",
      "owner": "hive"
    }
  }
}'
{"mutatedEntities":\{"CREATE":[{"typeName":"hive_db","attributes":{"owner":"hive","qualifiedName":"default@primary","name":"default","description":"Database
 for storing Employee 
INFO!"},"guid":"c0a1118c-d843-44ec-8e01-a0f307f3f4c0","status":"ACTIVE","displayText":"default","classificationNames":[],"classifications":[],"meaningNames":[],"meanings":[],"isIncomplete":false,"labels":[]}]},"guidAssignments":\{"-3282188380831":"c0a1118c-d843-44ec-8e01-a0f307f3f4c0"}}

 

2. Created hive_table:

curl -u admin:admin -X POST http://localhost:21000/api/atlas/v2/entity \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
  "entity": {
    "typeName": "hive_table",
    "attributes": {
      "name": "employee1",
      "qualifiedName": "default.employee1@primary",
      "clusterName": "primary",
      "owner": "hive",
      "tableType": "MANAGED_TABLE",
      "temporary": false
    },
    "relationshipAttributes": {
      "db": {
        "typeName": "hive_db",
        "uniqueAttributes": {
          "qualifiedName": "default@primary"
        }
      }
    }
  }
}'
{"mutatedEntities":\{"UPDATE":[{"typeName":"hive_db","attributes":{"owner":"hive","qualifiedName":"default@primary","name":"default","description":"Database
 for storing Employee 
INFO!"},"guid":"c0a1118c-d843-44ec-8e01-a0f307f3f4c0","status":"ACTIVE","displayText":"default","classificationNames":[],"meaningNames":[],"meanings":[],"isIncomplete":false,"labels":[]}],"CREATE":[\{"typeName":"hive_table","attributes":{"owner":"hive","createTime":0,"qualifiedName":"default.employee1@primary","name":"employee1","description":""},"guid":"514b9402-358c-4e35-a831-1939d7f768f7","status":"ACTIVE","displayText":"employee1","classificationNames":[],"classifications":[],"meaningNames":[],"meanings":[],"isIncomplete":false,"labels":[]}]},"guidAssignments":\{"-3282188380833":"514b9402-358c-4e35-a831-1939d7f768f7"}}

 

3. DSL Search:

curl -u admin:admin 
"http://localhost:21000/api/atlas/v2/search/dsl?query=hive_table";

{"queryType":"DSL","queryText":"hive_table","entities":[\{"typeName":"hive_table","attributes":{"owner":"","createTime":0,"qualifiedName":"default.employee@primary","name":"employee","description":""},"guid":"be016f23-bfe4-46eb-a88f-9b9f008546a7","status":"DELETED","displayText":"employee","classificationNames":[],"classifications":[],"meaningNames":[],"meanings":[],"isIncomplete":false,"labels":[]},\{"typeName":"hive_table","attributes":{"owner":"hive","createTime":0,"qualifiedName":"default.employee1@primary","name":"employee1","description":""},"guid":"514b9402-358c-4e35-a831-1939d7f768f7","status":"ACTIVE","displayText":"employee1","classificationNames":[],"classifications":[],"meaningNames":[],"meanings":[],"isIncomplete":false,"labels":[]}],"approximateCount":-1}

 

!Screenshot from 2026-01-19 11-35-52.png!

> Hive tables not appearing on Atlas UI
> -------------------------------------
>
>                 Key: ATLAS-5064
>                 URL: https://issues.apache.org/jira/browse/ATLAS-5064
>             Project: Atlas
>          Issue Type: Bug
>          Components: hive-integration
>    Affects Versions: 2.4.0
>            Reporter: karthik varakantham
>            Assignee: Aditya Gupta
>            Priority: Major
>         Attachments: Screenshot 2025-06-26 at 10.16.38 PM.png, Screenshot 
> 2025-06-26 at 10.17.23 PM.png, Screenshot from 2026-01-19 11-35-52.png
>
>
> Hive metadata import and Atlas REST API queries are working correctly, and 
> the Hive tables are being listed as expected using the atlas curl command. 
> However, the same tables do not appear in the Atlas UI.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to