Support Questions
Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Innovation Accelerator group hub.

How description field will get populate in Apache Atlas ?

Explorer

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

Expert Contributor
@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

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

Explorer

Thanks @Deepak Sharma ,

Explorer

Expert Contributor
@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"

Explorer

Thank You @Sharmadha Sainath , It is working Fine 🙂

Expert Contributor

@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=*