Member since
06-01-2020
15
Posts
0
Kudos Received
0
Solutions
04-06-2023
11:36 PM
Thanks for support @MattWho . I overlooked that sticky session part but after configuring the sticky session on the load balancer everything is working fine.
... View more
04-06-2023
09:06 AM
Hello @MattWho Load balancer started showing the login page after setting below properties in nifi.properties nifi.web.proxy.context.path=/ nifi.web.proxy.host=myapp.dev.domain.com:8443 (load balancer url) but after giving the logins details nifi canvas is not coming up I am seeing the below error while access via load balancer URL in nifi-user.log file 2023-04-06 15:04:35,861 INFO [NiFi Web Server-17] o.a.n.w.s.NiFiAuthenticationFilter Authentication Started 10.1xx.xx.xxx [<anonymous>] GET https://myapp.dev.domain.com:8443/nifi-api/flow/current-user 2023-04-06 15:04:35,862 WARN [NiFi Web Server-17] o.a.n.w.s.NiFiAuthenticationFilter Authentication Failed 10.1xx.xx.xxx GET https://myapp.dev.domain.com:8443/nifi-api/flow/current-user [Anonymous authentication has not been configured.] I am using LDAP for authentication. Do I need to change any other properties/settings, please help
... View more
04-02-2023
12:42 AM
I have configured this and set the nifi.web.proxy.host: node1.domain.com:8443,node2.domain.com:8443,node3.domain.com:8443,loabalancerUrl.domain.com:8443 but while logging in I see below issue. I have checked the logs but no errors in nifi-user.logs
... View more
03-31-2023
08:07 AM
Thanks for the reply @MattWho I have implemented in the same way what you have said but while accessing with the load balancer url I am getting the below exception System Error The request contained an invalid host header [internal-myappname-13718787520.us-east-1.elb.amazonaws.com:8443] in the request [/]. Check for request manipulation or third-party intercept.
... View more
03-30-2023
04:18 AM
Hello All, I have configured nifi flow with three node with external zookeeper node1.domain.com node2.domain.com node3.domain.com with three zookeeper nodes zk1.domain.com zk2.domain.com zk3.domain.com Everything is working fine but the requirement here is my flow has trigger points from external client systems to whom I have give a common URL like node.domain.com to avoid any changes on the client teams if any of nodes goes down. Any idea how to configure this.
... View more
Labels:
- Labels:
-
Apache NiFi
03-21-2023
03:16 AM
yeah. I tried that but still same issue
... View more
03-12-2023
05:50 AM
Hello, I am using the below Avro schema to insert records to cassandra using PutCassandraRecord processor, here this column is uuid datatype in cassandra database but nifi is not able to resolve this datatype and the getting this error PutCassandraRecord[id=676539f3-2fc7-173e-8d3f-2e703922f111] Unable to write the records into Cassandra table due to com.datastax.driver.core.exceptions.InvalidQueryException: UUID should be 16 or 0 bytes (36)
- Caused by: com.datastax.driver.core.exceptions.InvalidQueryException: UUID should be 16 or 0 bytes (36): {} Avro Schema defined in AvroSchemaRegistry {
"type": "record",
"name": "provenance_event",
"namespace": "provenanceRecords",
"fields": [{
"name": "id",
"type": ["null", {"type": "string", "logicalType": "uuid"}],
"default": null
}]
} NiFI avro schema is not able to convert string datatype to uuid Sample JSON which I sending [ { "id" : "5b616957-2a98-4a9e-97c8-2d2333966a0f" }] I am on NiFi 1.16.3 version @MattWho@Bryan Bende
... View more
Labels:
- Labels:
-
Apache NiFi
03-12-2023
01:40 AM
{
"operation": "default",
"spec":{ "*" : {
"flow_file_id" : "${uuid}" }
}
} this spec is generating the same uuid for all the objects in the array of json.
... View more
07-15-2022
06:00 AM
Thanks for the reply @MattWho Firstly with the below configurations changes in authorizers.xml, I was able to store the users and their related authorization policies in database and I was able to successfully store the users and their permissions in postgresSQL database from registry <userGroupProvider> <identifier>database-user-group-provider</identifier> <class>org.apache.nifi.registry.security.authorization.database.DatabaseUserGroupProvider</class> <property name="Initial User Identity 1">DEV-ADMIN</property> </userGroupProvider> ------------------------------ <accessPolicyProvider> <identifier>database-access-policy-provider</identifier> <class>org.apache.nifi.registry.security.authorization.database.DatabaseAccessPolicyProvider</class> <property name="User Group Provider">database-user-group-provider</property> <property name="Initial Admin Identity">DEV-ADMIN</property> <property name="NiFi Identity 1"></property> <property name="NiFi Group Name"></property> </accessPolicyProvider> -------------------------------------- <authorizer> <identifier>managed-authorizer</identifier> <class>org.apache.nifi.registry.security.authorization.StandardManagedAuthorizer</class> <property name="Access Policy Provider">database-access-policy-provider</property> </authorizer> Everything is working perfect. the only need here is to get the existing users.xml and authorizations.xml data migrated to Postgres DB and we can get rid of these files. Please help
... View more
07-13-2022
06:37 AM
Hello, I have successfully migrated the h2 database of registry to Postgres sql but it did not migrate the users.xml and authorizations.xml to postgres. Could you please help in pointing me in right direction on what setting needs to be changed to get migrate the users and authorizations data aswell to Postgres SQL. @MattWho Thanks Meeran
... View more
Labels:
- Labels:
-
Apache NiFi
-
NiFi Registry