Member since
08-03-2018
9
Posts
0
Kudos Received
0
Solutions
08-16-2018
10:18 AM
Thanks Chiran, one last thing, do you know the .java file in hive where there are doing this rest call? This would help me a lot. Im trying to understanding from the starting point of the rest call to the build up of cache and successive hits to cache. Thus it will help me if I can get the class name where this Rest call happens. I checked PrivilegeSynchonizer.java. But not sure whether thats the right place.
... View more
08-16-2018
09:58 AM
@Chiran RavaniThank you so much, do you know how the policies are pulled from the Ranger? Is it a thrift communication or something else?
... View more
08-16-2018
07:30 AM
I want to know whether Hive syncs the Ranger policies and uses that cache to provide authorization or will it hit Ranger for every request that needs to be authorized
... View more
Labels:
03-21-2018
10:04 AM
@Jordan Moore Thanks it worked
... View more
03-20-2018
04:30 PM
How to get the details of the Hive table from the HDFS path? I dont want to use "show create table", cuz I need to get the info from the HDFS path to the table and not from the table to the path
... View more
Labels:
03-02-2018
12:43 PM
Type: Organization
{ "enumTypes": [],
"structTypes": [],
"traitTypes": [],
"classTypes": [{
"superTypes": ["DataSet"],
"hierarchicalMetaTypeName": "org.apache.atlas.typesystem.types.ClassType",
"typeName": "Organization",
"typeDescription": Organization,
"attributeDefinitions": [
{
"name": "organizationName",
"dataTypeName": "string",
"multiplicity": "required",
"isComposite": false,
"isUnique": false,
"isIndexable": true,
"reverseAttributeName": null
}]
}]
}
Type: Employee
{
"enumTypes": [],
"structTypes": [],
"traitTypes": [],
"classTypes": [{
"superTypes": ["DataSet"],
"hierarchicalMetaTypeName": "org.apache.atlas.typesystem.types.ClassType",
"typeName": "Employee",
"typeDescription": null,
"attributeDefinitions": [
{
"name": "organization",
"dataTypeName": "Organization",
"multiplicity": "required",
"isComposite": false,
"isUnique": false,
"isIndexable": true,
"reverseAttributeName": null
}]
}]
}
Here in the above example there exists a type Employee and type Organization is a nested object to it. If lets say there exists an organization instance called "ABCD" and If I need to create a new employee and link exisitng organization to the newly created employee as nested Object I'm using the ID as shown below. Is this the only way? As we may have to store this guid some where which is not a good approach. Is there a way to create Employee by using only qualified name of the Organization thus avoiding the use of IDs? {
"jsonClass": "org.apache.atlas.typesystem.json.InstanceSerialization$_Reference",
"id": {
"jsonClass": "org.apache.atlas.typesystem.json.InstanceSerialization$_Id",
"version": 0,
"typeName": "Employee"
},
"typeName": "Employee",
"values": {
"name": "tom",
"qualifiedName":"tom",
"organization":{
"jsonClass": "org.apache.atlas.typesystem.json.InstanceSerialization$_Id",
"id":"f246b041-e87e-497c-a0d2-ecb90532934f",
"version": 0,
"typeName": "Organization",
"state": "ACTIVE",
"values":{
"qualifiedName": "ABCD"
}
}
},
"traitNames": [],
"traits": {}
}
... View more
Labels:
02-22-2018
09:05 AM
service/public/v2/api/service/{service}/policy/{policyname} service/public/v2/api/service/{service}/policy/{policyname} service/public/v2/api/service/Sandbox_hadoop/policy/raj_opsdeny%2F not working
... View more
Labels:
02-20-2018
08:49 AM
Hi Nixon, thanks a lot it worked. 1. Is there any way to give multiple user names in the API to filter policies with 2 users 2. Is there any way I can filter the resources according to Resource path
... View more
02-13-2018
03:54 PM
If I have a user can 'admin', how to know what all polices this user have been associated with.
... View more
Labels: