Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

How description field will get populate in Apache Atlas ?

avatar
New Member

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
New Member

Thanks @Deepak Sharma ,

avatar
New Member

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
New Member

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