Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

How description field will get populate in Apache Atlas ?

avatar
Contributor

In Atlas , Description fields is available in Table level & Column Level , I want to update the description for my Table ?

While table creation we are giving comments but where we need to give Description for the table ?

Please help to solve this issue

Thanks in Advance...!!!

1 ACCEPTED SOLUTION

avatar
Super Collaborator
@Satya Nittala

Entity attributes can be updated using Entity Rest APIs (http://atlas.apache.org/api/v2/resource_EntityREST.html)

Simple way to update an attribute using PUT using curl :

<GUID of table> is the GUID of the hive_table entity :

curl -v -u admin:admin -H "Content-Type: application/json" -X PUT -d '"table_description"' "http://localhost:21000/api/atlas/v2/entity/guid/<GUID of table>?name=description"

View solution in original post

6 REPLIES 6

avatar

entity properties updation is not supported through UI , you can update it using the rest call.

following blog will help you:

https://community.hortonworks.com/repos/62020/sample-update-hive-table-atlas-properties-through.html

avatar
Contributor

Thanks @Deepak Sharma ,

avatar
Contributor

avatar
Super Collaborator
@Satya Nittala

Entity attributes can be updated using Entity Rest APIs (http://atlas.apache.org/api/v2/resource_EntityREST.html)

Simple way to update an attribute using PUT using curl :

<GUID of table> is the GUID of the hive_table entity :

curl -v -u admin:admin -H "Content-Type: application/json" -X PUT -d '"table_description"' "http://localhost:21000/api/atlas/v2/entity/guid/<GUID of table>?name=description"

avatar
Contributor

Thank You @Sharmadha Sainath , It is working Fine 🙂

avatar
Super Collaborator

@Satya Nittala ,

hive_table entity can be edited on UI if the property is set in conf/application-properties file of Atlas

To edit hive_table entities alone :

atlas.ui.editable.entity.types=hive_table

To edit entities of all types:

atlas.ui.editable.entity.types=*