Member since
11-30-2016
10
Posts
0
Kudos Received
0
Solutions
09-05-2018
10:47 AM
@felix Albani
Thanks for the viedo.
Sorry to reply after such a long time period.
I have watched and check, but still dont know what I miss config.
Before reinstall HDF and config again, there are some questions I would like to ask.
In the nifi-app.log:
2018-09-05 17:54:07,793 WARN [Thread-22] o.a.r.admin.client.RangerAdminRESTClient Error getting policies. secureMode=false, user=nifi (auth:SIMPLE), response={"httpStatusCode":400,"statusCode":0}, serviceName=hdf_nifi
Do I need to resolve the WARN message in nifi-app.log.
[Error getting policies. secureMode=false, user=nifi (auth:SIMPLE) user=nifi]
Both NiFi and Ranger had been enabled in SSL mode.
But getting policies does not seems run in secure mode.
I have three NiFi ranger plugin certificate with DN [CN=ambari01.test.com, OU=NiFi、CN=ambari02.test.com, OU=NiFi、CN=ambari03.test.com, OU=NiFi]
A nifi user is manually created in Ranger admin UI as internal.
The following images are my Ranger/Ambari screen shot and question
1.Do the nifi user need to create certificate too?
2.Is the nifi user a OS user in NiFi host or also a NiFi application user?
#nifi user in Ranger admin
#ranger_nifi_policymgr
Thanks for your help.
... View more
09-05-2018
03:36 AM
@Steven Matison Thanks for replay. I will config and tail the log.
... View more
08-30-2018
05:46 AM
@Steven Matison
Thanks for reply.
But It looks like the sync policies failed.
2018-08-30 09:18:28,095 WARN [Thread-22] o.a.r.admin.client.RangerAdminRESTClient Error getting policies. secureMode=false, user=nifi (auth:SIMPLE), response={"httpStatusCode":400,"statusCode":0}, serviceName=hdf_nifi 2018-08-30 09:18:28,095
... View more
08-29-2018
10:15 AM
Hi all,
I tried to integrate secured NiFi with secured Ranger for Authorization Management in HDF-3.1.0.0.
Refer to the article:
https://community.hortonworks.com/content/kbentry/60001/hdf-20-integrating-secured-nifi-with-secured-range.html
After all steps are complete, I run the connection test on Ranger NiFi service and get 403 status code.
It seems authentication success but authorization fail, but I cant figure out the problem in a long time.
(CN=ranger, OU=NiFi is the DN of Ranger's certificate)
(CN=ambari03.xxxx.xxxx, OU=NiFi is the DN of NiFi node's certificate)
(Both DN of Ranger and NiFi nodes user manually created in Ranger admin UI as internal)
Why NiFi cant sync policies from Ranger(message in nifi-app.log).
2018-08-30 09:18:28,095 WARN [Thread-22] o.a.r.admin.client.RangerAdminRESTClient Error getting policies. secureMode=false, user=nifi (auth:SIMPLE), response={"httpStatusCode":400,"statusCode":0}, serviceName=hdf_nifi
2018-08-30 09:18:28,095 WARN [Thread-22] o.a.ranger.plugin.util.PolicyRefresher cache file does not exist or not readable '/etc/ranger/hdf_nifi/policycache/hdf_nifi_hdf_nifi.json'
Here is my config and some log files.
authorizers.xml:
nifi-app.log:
xa_portal.log:
The following are the information of configuration:
(1)HDF:
#3 nodes cluster
#Kerberos security is disabled
(2)NiFi:
#install on node1~3
#SSL enabled with certificates manually installed
#Authenticate by AD using SIMPLE connection
(3)Ranger:
#install on node1(Admin & Usersync)
#SSL enabled
#Authenticate by AD
#Sync User from AD
Thanks for your help.
... View more
Labels:
- Labels:
-
Apache Ranger
12-06-2016
12:38 AM
@Bryan Bende @brosander Thanks a lot.
... View more
12-05-2016
03:55 AM
Hi Bryan, Thanks for your replay. But I tried it with minifi-0.1.0-RC1 from GitHub last week. I try it with rel/minifi-0.1.0 from GitHub today and there is still a problem.
... View more
12-03-2016
10:18 AM
Hi all, I try a simple MiNiFi case to get file and then transmit the file to RPG. The RPG is configurated with HTTP Proxy Server properties. But when I transform template xml into MiNiFi config YAML by minifi-toolkit. The HTTP Proxy Server properties is not automatically generated in the Remote Process Groups section of YAML. The attached minifi.zip is the template & config.yml minifi.zip
Thanks for your help.
... View more
Labels:
- Labels:
-
Apache MiNiFi