Member since
08-15-2016
189
Posts
63
Kudos Received
22
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
5662 | 01-02-2018 09:11 AM | |
3003 | 12-04-2017 11:37 AM | |
2146 | 10-03-2017 11:52 AM | |
21567 | 09-20-2017 09:35 PM | |
1601 | 09-12-2017 06:50 PM |
10-18-2016
06:57 AM
@Deepak Sharma Yes, but I would expect that if 1 policy (15) says 'yes' and the other (31) says 'no', then it should be 'no' . As is stated in the schema in the manual
... View more
10-18-2016
06:28 AM
@Deepak Sharma added in main question
... View more
10-17-2016
10:29 PM
Hi, I have read the manual but I don't understand the behaviour of 2 policies I have regarding the same Hive table. Policy 15 is a global allow policy on all Hive tables, all columns: then I have policy 31 like this: But whatever I try, user raj_ops still can run 'select * from employee' and get results. Policy 31 is not evaluated as a 'deny' on the resource. I know you can add explicit Deny Conditons to the hive service, and I will try that. But the question is what the EXCLUDE switch (after the Hive column* box ) is good for when it is not picked up.
... View more
Labels:
- Labels:
-
Apache Ranger
10-17-2016
09:57 PM
@Ana Gillan For some reason this is not working for the hive service: curl -u admin:admin sandbox.hortonworks.com:6080/service/public/v2/api/servicedef/3 > hive.json curl -iv -u admin:admin -X PUT -H "Accept: application/json" -H "Content-Type: application/json" -d @hive.json sandbox.hortonworks.com:6080/service/public/v2/api/servicedef/3 < HTTP/1.1 404 Not Found
HTTP/1.1 404 Not Found
< Server: Apache-Coyote/1.1
Server: Apache-Coyote/1.1
< Set-Cookie: RANGERADMINSESSIONID=6E8B950D783DAA6524BF72850E0EF62E; Path=/; HttpOnly
Set-Cookie: RANGERADMINSESSIONID=6E8B950D783DAA6524BF72850E0EF62E; Path=/; HttpOnly
< X-Frame-Options: DENY
X-Frame-Options: DENY
< Content-Length: 0
Content-Length: 0
< Date: Mon, 17 Oct 2016 21:54:02 GMT
Date: Mon, 17 Oct 2016 21:54:02 GMT
< Connection: close
Connection: close
... View more
10-17-2016
07:48 PM
@Greg Keys That article does not cover attaching traits to GUIDs, only creating new types. Good reading though!
... View more
10-17-2016
07:33 PM
Hi, Can anyone post a working example of adding a trait to an entity with the REST API? So suppose I want to attach the tag 'CONF' to GUID 46c471f1-66ba-453c-9816-08ff144efde4 what is the syntax to do so? Tags / Traits also confuse me: If I understand it correctly Atlas traits are what tag based policies in Ranger are build upon. Way down in the Json response below it shows that what I added as a 'tag' in the Atlas WebUI is actually a 'trait_name' here. But the thing 'tag' is also there, but apparently another thing altogether. So what is the standing of a trait vs. a tag in Atlas? curl -u admin:admin http://sandbox.hortonworks.com:21000/api/atlas/v1/entities/46c471f1-66ba-453c-9816-08ff144efde4
gives me: [
{
"href": "http://sandbox.hortonworks.com:21000/api/atlas/v1/entities/46c471f1-66ba-453c-9816-08ff144efde4",
"name": "ssn",
"id": "46c471f1-66ba-453c-9816-08ff144efde4",
"type": "hive_column",
"creation_time": "2016-10-12:21:06:11",
"entityText": "hive_column type string table hive_table createTime Wed Oct 12 21:06:09 UTC 2016 lastAccessTime Wed Oct 12 21:06:09 UTC 2016 retention 0 parameters numFiles 0 COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} transient_lastDdlTime 1476306369 numRows 0 totalSize 0 rawDataSize 0 tableType MANAGED_TABLE temporary false qualifiedName default.employee@Sandbox name employee owner admin qualifiedName default.employee.ssn@Sandbox name ssn owner admin",
"modified_time": "2016-10-17:19:26:21",
"owner": "admin",
"qualifiedName": "default.employee.ssn@Sandbox",
"state": "ACTIVE",
"version": 0,
"super_types": [
"Asset",
"DataSet",
"Referenceable"
],
"table": [
{
"href": "http://sandbox.hortonworks.com:21000/api/atlas/v1/entities/170a5db7-7b32-4888-a361-448be4daa958",
"name": "employee",
"id": "170a5db7-7b32-4888-a361-448be4daa958",
"type": "hive_table"
}
],
"tags": [],
"trait_names": [
"PERS"
],
"traits": []
}
]
... View more
Labels:
- Labels:
-
Apache Atlas
10-12-2016
02:42 PM
Hi, I can't figure out what these pages are meant for exactly within the Ranger component: And the HDFS one: I am asking since the Ranger HDFS / HIVE plugins both seem to work fine, policies can be published but nonetheless the 'TEST Connection' on both service configs can fail without upsetting your Ranger setup. So, what is this about?
... View more
Labels:
- Labels:
-
Apache Ranger
10-12-2016
08:20 AM
@Ancil McBarnett You can also go for a full reset of the ranger_admin databases by following these steps: https://cwiki.apache.org/confluence/display/RANGER/Manual+Reinstallation+of+Ranger-admin I had to go for this option after my manual interventions with the database led to problems on the Ranger WebUI. Downside of this is that the Ranger plugin services also have to be reconfigured, so beware
... View more
10-10-2016
05:48 PM
1 Kudo
Turns out Knox can not be set up easily when you have installed just the local MIT KDC for kerberizing the cluster as per this doc . Or you would have to at least install additional services on top like @Predrag Minovic mentioned. That is the very reason why Knox ships with the example demo LDAP that you can start at the Ambari Knox service config Service Actions > Start Demo LDAP.
... View more
10-10-2016
08:46 AM
@Timothy Spann Unfortunately the link which I assume is the download ( https://network.pivotal.io/api/v2/products/pivotal-hdb/releases/1695/product_files/5595/download ) does not work anymore Is there a working HDB Sandbox download somewhere?
... View more