由于某种原因,当调用Apache Atlas V2 API时,所有配置单元资产的GUID都为-1。为什么会这样?
注:
- 这个问题的原因可能很简单,但我认为我应该把它作为问题添加进来,让其他人也能找到它
- 调用
/v2/types/typedefs
时,我得到了类型的guid:s
调用
https://omittedpath/atlas/api/atlas/v2/search/basic?excludeDeletedEntities=true&limit=10&offset=0&typeName=hive_table
我得到以下信息:
{
"queryType":"BASIC",
"searchParameters":{
"typeName":"hive_table",
"excludeDeletedEntities":true,
"includeClassificationAttributes":false,
"includeSubTypes":true,
"includeSubClassifications":true,
"limit":10,
"offset":0
},
"entities":[
{
"typeName":"hive_table",
"attributes":{
},
"guid":"-1",
"status":"ACTIVE",
"displayText":"aaa1",
"classificationNames":[
],
"meaningNames":[
],
"meanings":[
]
},
{
"typeName":"hive_table",
"attributes":{
},
"guid":"-1",
"status":"ACTIVE",
"displayText":"atlas_test_table_03",
"classificationNames":[
],
"meaningNames":[
],
"meanings":[
]
}
]
}
当提出请求的用户被分配权限时"admin";,";guid";属性被分配了一个实际值。
换句话说:观察到的行为是权限不足的结果。