Member since
03-20-2018
2
Posts
0
Kudos Received
0
Solutions
05-18-2018
01:26 PM
I have been trying your suggestion, added the host via the above API call and get the following: 18 May 2018 14:18:37,613 INFO [qtp-ambari-agent-326] TopologyManager:637 - TopologyManager.onHostRegistered: Entering
18 May 2018 14:18:37,613 INFO [qtp-ambari-agent-326] TopologyManager:698 - TopologyManager: Queueing available host node5
18 May 2018 14:19:37,959 WARN [alert-event-bus-1] AlertReceivedListener:497 - Unable to process alert ambari_agent_disk_usage for cluster idp and host node5 because the host is not a part of the cluster.
18 May 2018 14:20:06,779 INFO [ambari-client-thread-74] TopologyManager:485 - TopologyManager.scaleHosts: Entering
18 May 2018 14:20:06,779 INFO [ambari-client-thread-74] ClusterTopologyImpl:158 - ClusterTopologyImpl.addHostTopology: added host = node5 to host group = host_group_1
18 May 2018 14:20:06,780 INFO [ambari-client-thread-74] HostRequest:205 - Skipping Start task creation since provision action = INSTALL_ONLY
18 May 2018 14:20:06,782 INFO [ambari-client-thread-74] HostRequest:244 - Skipping create of START task for KAFKA_BROKER on PENDING HOST ASSIGNMENT : HOSTGROUP=host_group_1.
18 May 2018 14:20:06,783 INFO [ambari-client-thread-74] HostRequest:244 - Skipping create of START task for ZOOKEEPER_SERVER on PENDING HOST ASSIGNMENT : HOSTGROUP=host_group_1.
18 May 2018 14:20:06,784 INFO [ambari-client-thread-74] HostRequest:244 - Skipping create of START task for METRICS_MONITOR on PENDING HOST ASSIGNMENT : HOSTGROUP=host_group_1.
18 May 2018 14:20:06,784 INFO [ambari-client-thread-74] HostRequest:244 - Skipping create of START task for NIFI_MASTER on PENDING HOST ASSIGNMENT : HOSTGROUP=host_group_1.
18 May 2018 14:20:06,785 INFO [ambari-client-thread-74] HostRequest:244 - Skipping create of START task for LOGSEARCH_LOGFEEDER on PENDING HOST ASSIGNMENT : HOSTGROUP=host_group_1.
18 May 2018 14:20:06,786 INFO [ambari-client-thread-74] HostRequest:244 - Skipping create of START task for ZOOKEEPER_CLIENT on PENDING HOST ASSIGNMENT : HOSTGROUP=host_group_1.
18 May 2018 14:20:06,786 INFO [ambari-client-thread-74] HostRequest:99 - HostRequest: Created request for host: node5
18 May 2018 14:20:06,786 INFO [ambari-client-thread-74] LogicalRequest:437 - LogicalRequest.createHostRequests: all host requests size 1 , outstanding requests size = 0
18 May 2018 14:20:06,790 INFO [ambari-client-thread-74] TopologyManager:923 - TopologyManager.createLogicalRequest: created LogicalRequest with ID = 52 and completed persistence of this request.
18 May 2018 14:20:06,793 INFO [ambari-client-thread-74] TopologyManager:845 - TopologyManager.processRequest: Entering
18 May 2018 14:20:06,794 INFO [ambari-client-thread-74] TopologyManager:863 - TopologyManager.processRequest: host name = node5 is mapped to LogicalRequest ID = 52 and will be removed from the reserved hosts.
18 May 2018 14:20:06,794 INFO [ambari-client-thread-74] TopologyManager:876 - TopologyManager.processRequest: offering host name = node5 to LogicalRequest ID = 52
18 May 2018 14:20:06,794 INFO [ambari-client-thread-74] LogicalRequest:101 - LogicalRequest.offer: attempting to match a request to a request for a reserved host to hostname = node5
18 May 2018 14:20:06,794 INFO [ambari-client-thread-74] LogicalRequest:110 - LogicalRequest.offer: request mapping ACCEPTED for host = node5
18 May 2018 14:20:06,794 INFO [ambari-client-thread-74] LogicalRequest:113 - LogicalRequest.offer returning response, reservedHost list size = 0
18 May 2018 14:20:06,795 INFO [ambari-client-thread-74] TopologyManager:886 - TopologyManager.processRequest: host name = node5 was ACCEPTED by LogicalRequest ID = 52 , host has been removed from available hosts.
18 May 2018 14:20:06,795 INFO [ambari-client-thread-74] ClusterTopologyImpl:158 - ClusterTopologyImpl.addHostTopology: added host = node5 to host group = host_group_1
18 May 2018 14:20:06,797 INFO [ambari-client-thread-74] TopologyManager:963 - TopologyManager.processAcceptedHostOffer: queue tasks for host = node5 which responded ACCEPTED
18 May 2018 14:20:06,797 INFO [ambari-client-thread-74] TopologyManager:988 - TopologyManager.processAcceptedHostOffer: queueing tasks for host = node5
18 May 2018 14:20:06,797 INFO [ambari-client-thread-74] TopologyManager:904 - TopologyManager.processRequest: not all required hosts have been matched, so adding LogicalRequest ID = 52 to outstanding requests
What can I do to move the request from PENDING to actually started? Best
... View more
04-10-2018
01:18 PM
The `authorizers.xml` template seems to have gone awry. One thing I'm wondering: How do you set the `User Search Filter`? Normally I would assume it should be something like `(&(sAMAccountName={0})(memberof=OU=users,OU=company,...))`, with the added twist that the ampersand needs escaping - otherwise expat bails (&, you'd think). My problem is that once I do set that, `nifi-app.log` does not contain any entry of `LdapUserGroupProvider` nor do my users contain any groups: 2018-04-10 13:30:55,093 INFO [NiFi Web Server-20] o.a.n.w.a.c.AccessDeniedExceptionMapper identity[cn=meixner,...], groups[] does not have permission to access the requested resource. Unable to view the user interface. Returning Forbidden response. What gives?
... View more