-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57055/
-----------------------------------------------------------
(Updated Feb. 25, 2017, 7:04 p.m.)
Review request for atlas and Madhan Neethiraj.
Changes
-------
Refactoring based on review comments.
Bugs: ATLAS-1503
https://issues.apache.org/jira/browse/ATLAS-1503
Repository: atlas
Description
-------
*CURL*
```
curl -X POST -u admin:admin -H "Content-Type: application/json" -H
"Cache-Control: no-cache" -d '{
"itemsToExport": [
{
"typeName": "hive_db",
"uniqueAttributes": {
"qualifiedName": "default@cl1"
}
},
{
"typeName": "hdfs_path",
"uniqueAttributes": {
"path": "/apps/hive/warehouse/"
}
}
],
"options": null
}
' "http://localhost:21000/api/atlas/admin/export" > ../docs/DefaultDB-HDFS.zip
```
Diffs (updated)
-----
intg/src/main/java/org/apache/atlas/AtlasErrorCode.java 542b659
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasEntityChangeNotifier.java
feada34
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasEntityStoreV1.java
c0355d9
webapp/pom.xml a431e02
webapp/src/main/java/org/apache/atlas/web/resources/ExportService.java
bbd48bc
webapp/src/main/java/org/apache/atlas/web/resources/ZipSource.java e69a139
Diff: https://reviews.apache.org/r/57055/diff/
Testing
-------
Steps:
- Use 'Create Entity' from Atlas Web UI.
- Create 2 HDFS paths:
- /apps/hive/warehouse/largedb.db
- /apps/hive/warehouse/largedb.db/testtable_c_9
- Have some hive_db present as well.
- Run export with the parameters specified above (see description section for
curl). Please see attached *.zip* file for reference.
File Attachments
----------------
hive_db and hdfs_path exported
https://reviews.apache.org/media/uploaded/files/2017/02/24/efeb095d-eb14-41a3-b5c4-04be47a2c61e__DefaultDB-HDFS.zip
Thanks,
Ashutosh Mestry