Member since
02-24-2018
66
Posts
1
Kudos Received
0
Solutions
03-20-2018
10:38 AM
@Shu , Thank You...its working..
... View more
03-20-2018
07:28 AM
@Ashutosh Mestry , Its Syntax Mistake, Now working Fine..Thanks....!!!
... View more
03-16-2018
07:30 AM
@Laura Ngo , I tried with POST also , Same issue, Its not reflecting
... View more
03-16-2018
06:03 AM
@Laura Ngo , I tried with POST also , Same issue, Its not reflecting
... View more
03-15-2018
02:19 PM
Hi Team, I unable to open the Atlas taxonomies , i used below link http://localhost:21000/api/atlas/v2/taxonomies/Catalog/terms http://localhost:21000/api/atlas/v2/taxonomies/ http://localhost:21000/api/atlas/v1/taxonomies/
... View more
Labels:
- Labels:
-
Apache Atlas
03-15-2018
10:18 AM
Hi Team, I want to retrieve the recent uploaded records in that day , My table dont have Date column , But Time stamp column is availble Example : Last uploaded date is 2018-03-15 Upload happens in below Time 2018-03-07 01:13:26
2018-03-07 01:13:34
2018-03-07 01:13:39
2018-03-07 01:13:43
2018-03-07 01:13:50
2018-03-07 01:13:54 Now i want to find latest upload date , In that date how many records are uploaded ? In where condition i can able to give only one time stamp ( Max time stamp ), So In that day remaining time stamps how can i give ?
... View more
Labels:
- Labels:
-
Apache Hive
03-15-2018
08:23 AM
@Laura Ngo , Thanks for u r quick response, I tried with POST and http://localhost:21000/api/atlas/v2/types/typedef/name/hive_table, Command executed fine and no errors are showing But new value is not reflected , Still its showing old attributes for that table New attribute not added Can you please help on this...!!! Thanks in Advance
... View more
03-15-2018
08:21 AM
@Laura Ngo , Thanks for u r quick response, I tried with POST and http://localhost:21000/api/atlas/v2/types/typedefs , Command executed fine and no errors are showing But new value is not reflected , Still its showing old Typedefs New Typedef not added Can you please help on this...!!! Thanks in Advance
... View more
03-14-2018
12:16 PM
Hi, Please let me know where i need to put the description value in below CURL command curl -v -u admin:admin -H "Content-Type: application/json" -X PUT -d '[
{
"typeName": "Test",
"attributes": {
"attr1":"valu1",
"attr2":true,
"attr3": 60
} },
{
"typeName": "Test",
"attributes": {
"attr4":"valu1",
"attr5":true,
"attr6": 60
}}
]' http://localhost:21000/api/atlas/v2/entity/guid/686bbea3-0c7b-41f1-98af-9feddb6f741f/classifications Thanks in advance..!!!
... View more
Labels:
- Labels:
-
Apache Atlas
03-14-2018
11:09 AM
Hi , I am issue with below CURL command while adding new attribute in hive_table Type in ATLAS curl -v -u admin:admin -H "Content-Type: application/json" -X POST -d '{
"entityDefs": [
{
"category": "ENTITY",
"guid": "a4cd0760-dbf1-41c8-a737-c423ca62e905",
"createdBy": "atlas",
"updatedBy": "atlas",
"version": 2,
"name": "hive_table",
"description": "hive_table",
"typeVersion": "1.1",
"options": {
"schemaElementsAttribute": "columns"
},
"attributeDefs": [
{
"name": "new_attrib",
"typeName": "string",
"isOptional": true,
"cardinality": "SINGLE",
"valuesMinCount": 1,
"valuesMaxCount": 1,
"isUnique": false,
"isIndexable": false
},
{
"name": "db",
"typeName": "hive_db",
"isOptional": false,
"cardinality": "SINGLE",
"valuesMinCount": 1,
"valuesMaxCount": 1,
"isUnique": false,
"isIndexable": false
},
{
"name": "createTime",
"typeName": "date",
"isOptional": true,
"cardinality": "SINGLE",
"valuesMinCount": 0,
"valuesMaxCount": 1,
"isUnique": false,
"isIndexable": false
},
{
"name": "lastAccessTime",
"typeName": "date",
"isOptional": true,
"cardinality": "SINGLE",
"valuesMinCount": 0,
"valuesMaxCount": 1,
"isUnique": false,
"isIndexable": false
},
{
"name": "comment",
"typeName": "string",
"isOptional": true,
"cardinality": "SINGLE",
"valuesMinCount": 0,
"valuesMaxCount": 1,
"isUnique": false,
"isIndexable": false
},
{
"name": "retention",
"typeName": "int",
"isOptional": true,
"cardinality": "SINGLE",
"valuesMinCount": 0,
"valuesMaxCount": 1,
"isUnique": false,
"isIndexable": false
},
{
"name": "sd",
"typeName": "hive_storagedesc",
"isOptional": true,
"cardinality": "SINGLE",
"valuesMinCount": 0,
"valuesMaxCount": 1,
"isUnique": false,
"isIndexable": false,
"constraints": [
{
"type": "ownedRef"
}
]
},
{
"name": "partitionKeys",
"typeName": "array<hive_column>",
"isOptional": true,
"cardinality": "SINGLE",
"valuesMinCount": 0,
"valuesMaxCount": 1,
"isUnique": false,
"isIndexable": false,
"constraints": [
{
"type": "ownedRef"
}
]
},
{
"name": "aliases",
"typeName": "array<string>",
"isOptional": true,
"cardinality": "SINGLE",
"valuesMinCount": 0,
"valuesMaxCount": 1,
"isUnique": false,
"isIndexable": false
},
{
"name": "columns",
"typeName": "array<hive_column>",
"isOptional": true,
"cardinality": "SINGLE",
"valuesMinCount": 0,
"valuesMaxCount": 1,
"isUnique": false,
"isIndexable": false,
"constraints": [
{
"type": "ownedRef"
}
]
},
{
"name": "parameters",
"typeName": "map<string,string>",
"isOptional": true,
"cardinality": "SINGLE",
"valuesMinCount": 0,
"valuesMaxCount": 1,
"isUnique": false,
"isIndexable": false
},
{
"name": "viewOriginalText",
"typeName": "string",
"isOptional": true,
"cardinality": "SINGLE",
"valuesMinCount": 0,
"valuesMaxCount": 1,
"isUnique": false,
"isIndexable": false
},
{
"name": "viewExpandedText",
"typeName": "string",
"isOptional": true,
"cardinality": "SINGLE",
"valuesMinCount": 0,
"valuesMaxCount": 1,
"isUnique": false,
"isIndexable": false
},
{
"name": "tableType",
"typeName": "string",
"isOptional": true,
"cardinality": "SINGLE",
"valuesMinCount": 0,
"valuesMaxCount": 1,
"isUnique": false,
"isIndexable": false
},
{
"name": "temporary",
"typeName": "boolean",
"isOptional": true,
"cardinality": "SINGLE",
"valuesMinCount": 0,
"valuesMaxCount": 1,
"isUnique": false,
"isIndexable": true
}
],
"superTypes": [
"DataSet"
],
"subTypes": []
}]
}' http://localhost:21000/api/atlas/v2/entity/guid/a4cd0760-dbf1-41c8-a737-c423ca62e905/classifications I replaced POST to PUT , Even i am getting error , Can u please help on this
... View more
Labels:
- Labels:
-
Apache Atlas
- « Previous
-
- 1
- 2
- Next »