Find answers, ask questions, and share your expertise
Recently active
My environment is testing on Windows 10. I installed version 1.14 and started. The chrome 91.0.4472.124 says it is not secure and I confirm to go to the site "https://localhost:8443/" not secure. The address changes to "https://localhost:8443/nifi/login" and asks for username and password. What username and password should I use? Where can I generate this username and password?
Hi: From google : If you are using NiFi 1.0 you can use the GenerateTableFetch processor. It allows you to choose the "page" (aka partition) size, and will generate SQL statements, each of which will grab one "page" of data. You can route those into ExecuteSQL and it will retrieve smaller sets of results at a time. If you have a NiFi cluster, you can route GenerateTableFetch into a Remote Process Group that points at an Input Port on the same cluster, (which will distribute the SQL statements across the cluster), then the Input Port can be connected to the ExecuteSQL. This allows you to fetch rows from a table in parallel I have three nodes on my nifi cluster, I follow the post, put GenerateTableFetch on primary node(test01) to execute, and then send to remote process group on the same cluster. then output port to ExecuteSQL. But the actual behavior is ExecuteSQL was execute just in one node (test02, or test 03, or tes01). My question is how to fetch rows from a table in parallel(test0
Hi I got a random message on telegram asking if I was available wen I asked for wot I got told I’d receive a WhatsApp message , I did from a man saying he wanted to give me details on a job anyway wen I didn’t rely he kept midering so I asked for details he told me I needed to register see first photo wen I clicked on it and looked at the terms it says (see second photo) so I told him it looked like a scam and he told me to just register so I looked into it and joined u to find out wot is going on
Hi All, I am loading the data into one table, once data loaded, the store procedure processor should be executed automatically. which processor can be used for this scenarios. do we have any options in WAIT/Notify processor's?
Hello! I am trying to install Nifi 2.0.0 M1 on Ubuntu 20.04. I downloaded Nifi from the official website and removed all HTTPS-related configurations. When I run Nifi with Python disabled, it works fine. However, when I enable Python, the following error occurs, and I'm not sure how to fix it. 😟 Does anyone have any knowledge or experience with this? (Python 3.10 is installed.)
When upgrading our docker container from 1.19 to 1.22 with the same nifi.properties and flow.xml.gz and repo's we get the following error. Also the same if we tried to migrate to 1.23. Any one any idea's? Google and Chatgpt can't seem to help out 😅 Thank you in advanced. 2024-01-10 09:54:49,115 ERROR [main] org.apache.nifi.NiFi Failure to launch NiFiJan 10 09:54:49 awsinstancename docker[21712]: java.lang.VerifyError: Bad return typeJan 10 09:54:49 awsinstancename docker[21712]: Exception Details:Jan 10 09:54:49 awsinstancename docker[21712]: Location:Jan 10 09:54:49 awsinstancename docker[21712]: com/fasterxml/jackson/databind/cfg/MapperBuilder.streamFactory()Lcom/fasterxml/jackson/core/TokenStreamFactory; @7: areturnJan 10 09:54:49 awsinstancename docker[21712]: Reason:Jan 10 09:54:49 awsinstancename docker[21712]: Type 'com/fasterxml/jackson/core/JsonFactory' (current frame, stack[0]) is not assignable to 'com/fasterxml/jackson/core/TokenStreamFactory' (from met
Is this the correct way of exposing a nifi property as env variable(in start.sh): prop_replace 'nifi.web.http.port' "${NIFI_WEB_HTTP_PORT:-8080}" I expect it to expose nifi.web.http.port as NIFI_WEB_HTTP_PORT, and also setting it to default value of 8080.
Hi,Im trying to connect LDAP from Nifi.I've done most of the instructions in the official documentation and read most posts on the Cloudera Community. However, I couldn't connect to my company's LDAP system. I configured login-entity-providers and authorizers for LDAP.When I start Nifi, it starts successfully and gives no error. When I try to log in with my initial admin it gives me "Unable to validate the supplied credentials. Please contact the system administrator." error. My questions are:1- When we are setting up initial admin, we are not setting password of that user. How do we log in without password?2- I'm using USE_DN for identity strategy for ldap-provider. My initial admin name and ldap user are same. So I'm trying to login with my user like: Username: CN=K015576,CN=Users,DC=tcmb,DC=gov,DC=trPassword: "my_ldap_password" What path should I follow? Is there a mistake in my configure files?I have added my conf files below: nifi.properties, login-entity-
The sqoop import action job in oozie is still running.What should I check?oozie version:5.2.1 hadoop version:3.3.4 sqoop version:1.4.7help Me.... >>> Invoking Sqoop command line now >>>2022-10-26 08:26:56,510 [main] WARN org.apache.sqoop.tool.SqoopTool - $SQOOP_CONF_DIR has not been set in the environment. Cannot check for additional configuration.2022-10-26 08:26:56,543 [main] INFO org.apache.sqoop.Sqoop - Running Sqoop version: 1.4.72022-10-26 08:26:56,556 [main] WARN org.apache.sqoop.tool.BaseSqoopTool - Setting your password on the command-line is insecure. Consider using -P instead.2022-10-26 08:26:56,566 [main] WARN org.apache.sqoop.ConnFactory - $SQOOP_CONF_DIR has not been set in the environment. Cannot check for additional configuration.2022-10-26 08:26:56,607 [main] INFO org.apache.sqoop.manager.MySQLManager - Preparing to use a MySQL streaming resultset.2022-10-26 08:26:56,607 [main] INFO org.apache.sqoop.tool.CodeGenTool - Beginning
Hello, After I tried to reassign some components ont ambari-server-2.2.1.0, the Web UI is stucked in this state and I don't know how to I've restarted all the nodes but no clue what it is stucked.Thank you in advance for your help.
Dear Sir,I am using apache nifi for Getting file from SFTP serverBackup files another SFTP serverDelete the all files from where getting locationsprocess file to call invokeHttp RequestSFTP images using winscp:After login folder locations: 1. Here is the diagram:2. ListSFTP properties:3. FetchSFTP properties3. Put SFTP propertiesI follow processors bellow sequences: ListSFTP--> FetchSFTP-->PutSFTP-->UpdateAttribute --> InvokeHttpI did not get file from sftp server. What is the wrong of my configuration?
I have a API which I need to make a call to get the response using InvokeHttpProcessor. Incase if response status code is not 200's then I need to do a retry for 3 times ( incase of 400's and 500's). I see that I can set a retry on Failure, NO retry and Retry relationships but that is not working as expected. How to configure the relationships such that there I can achieve retry of 3 times on Failure, Retry and NoRetry relationships. Also is there a way to see how many retries are performed and is nifi logging this information some where?
[begin_log]2024-01-08 18:57:00,406+0800|ERROR|pool-47-thread-1|o.s.s.s.TaskUtils$LoggingErrorHandler|Unexpected error occurred in scheduled taskorg.springframework.web.client.HttpServerErrorException$InternalServerError: 500 Internal Server Error: "javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown"at org.springframework.web.client.HttpServerErrorException.create(HttpServerErrorException.java:100)at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:170)at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:122)at org.springframework.web.client.ResponseErrorHandler.handleError(ResponseErrorHandler.java:63)at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:825)at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:783)at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:717)at org.springf
Hi Everyone, I have been trying to explore the possibility of exploring apache ranger for centralized authorization in a microservice architecture.I'm think thinking of two possibilities:1) Integrating ranger plugin with all the services and authorize the request coming to them by intercepting the request. The drawback here is that I will have to implement this common functionality in all the applications.2) Creating a separate application for authorization, which will implement the ranger sdk to pull all the policies and configurations from Apache ranger and authorize a request using the ranger sdk, after authorization forward the request to the microservice.The drawback here is that I may not be able to use the existing plugins for Nifi, Kafka etc. when trying to use a centralized solution.What would be the best approach to implement, if someone has implemented something similar can you provide some thought on this? Or is there an even better way of doing this?
Hi guys! I have a question about Avro schema.My input flowfile are in json format and I want to convert it into xml. The method I use is using ConvertRecord Processor. In terms of ConvertRecord Processor, I use JsonTreeReader as record reader and XMLRecordSetWriter as record writer. Following picture is the properties of JsonTreeReader I set it up. Here is the json I want to convert: { "article":{ "article-meta": { "art_id": "me08001", "title" : [ { "lang" : "en", "title" : "A" }, { "lang" : "hr", "title" : "B" } ] }, "journal-meta": { "journal_id": "me9", "type" : "journal" }} If I have a lot of flowfile that contain this kind of format Json file, what Avro schema should I put inside AvroSchemaRegistry. I try a lot of online converter and it doesn't satisfy AvroSchemaRegistry when I do validation. I need the Avro schema so that the ConvertRecord can read my JSON flowfile.Thank you in advance
Hello,In my HDF cluster of 12 Nifi nodes with version 1.8.0.3, 2 nodes takes around 40 minutes to restart. Other nodes takes only 5 minutes.Each node has 40 cores, 20gb of Heap and we have different volumes (6 for content_repository, 1 for flowfile_repository and 1 for provenance repository)I don't see any errors in logs.Do you know where this could come from?I can give you more information if needed.Thanks for your help
Hi,When my linux server reboots, Nifi automatically starts but automatically stops after few secondes.When I manually restart the service, that's okay.Could anyone help me to diagnose this issue ?OS : Cent OS 7Service :nifi.service - Apache NiFi Loaded: loaded (/usr/lib/systemd/system/nifi.service; enabled; vendor preset: disabled)Service description (nifi.service):[Unit]Description=Apache NiFiAfter=network.target[Service]Type=simpleUser=nifiGroup=nifiLimitAS=infinityLimitRSS=infinityLimitCORE=infinityLimitFSIZE=infinityLimitNOFILE=65536PIDFile=/appli/nifi/run/nifi.pidExecStart=/appli/nifi/bin/nifi.sh startExecStop=/appli/nifi/bin/nifi.sh stop[Install]WantedBy=multi-user.targetExtract from the bootstrap log :2023-12-21 14:43:46,394 DEBUG [main] org.apache.nifi.bootstrap.Command Established connection to NiFi instance.2023-12-21 14:43:46,394 DEBUG [main] org.apache.nifi.bootstrap.Command Sending SHUTDOWN Command to port 44185I can't see any WARN/ERROR in bootstrap log or nifi log
Hi, I am trying to download any version of CDH. As noted on the download page I must include a valid username and password associated with an active Cloudera subscription. Now, I am sure, that my company is a Cloudera Partner, so how do I know which of my colleagues has received the license key file? We are a big company so I am not sure where to start from the inside. Is this information available on the website? Thanks,Cisco
Hello, Studying the documentation below I found a good example of how to use Spark with JDBC to connect to external databases. https://spark.apache.org/docs/latest/sql-data-sources-jdbc.html I already tested the example and it worked very well. However, when I looked carefully I saw that the password (its text) was being manipulated directly by the program. This way, from the tests I did, the password is open both in the Spark log and the connection, if it is intercepted on the network, the password will be open in open text. I'm looking for a way to make this connection safely. One mechanism that comes to mind is the hadoop credential provider that I already used with good old sqoop. So in sqoop the password was protected and no visible in any form, even if the connection was intercepted. Could anyone tell me what mechanisms I can use to make this connection securely, without exposing credentials? It can be a credential provider or something else.I didn't find anything like that in th
I changed a controller service property in a processor in a procees group which is under a version control with Nifi Registry. In the property I changed from controller service A to controller service B (the names and types doesn't really matter).Then when I check the "show local changes" I can see this change there.Then, I'm trying to "revert local changes", but nothing happens, this specific change is still there.When I'm trying to change it by myself back from controller service B to A, it does work.My question is, why the "revert local changes" doesn't revert this specific change?
NameNode is crashed when trying to restart it via CM due to: INFO Lock on /data/disk1/dfs/nn/in_use.lock acquired by nodename 26396@ip-10-2-0-224.ec2.internalWarning Encountered exception loading fsimagejava.io.IOException: NameNode is not formatted. at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:251) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFSImage(FSNamesystem.java:1166) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFromDisk(FSNamesystem.java:757) at org.apache.hadoop.hdfs.server.namenode.NameNode.loadNamesystem(NameNode.java:642) at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:713) at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:956) at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:931) at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1666) at org.apache.hadoop.hdfs.server.namenode.NameNode.mai
Hello,I've noticed how the CML Terminal lets you install Python packages on the 'Net using pip.(A gcc compiler is even available!)Isn't that a security risk?Is there a way to only allow package installation from an in-house repository?Many thanks.
We’re working on securing NiFi and I’m coming across an issue where I intermittently get an exception. The environment is a two-node NiFi cluster which is configured to authenticate users using LDAPS, and authorise them using the FileAccessPolicyProvider / FileUserGroupProvider which we plan to replace with LDAPS. The login looks to be working. I think this is the authorisation part which is failing (although it works sometimes - before cluster voting completes). We have configured a certificate trust store for the CA (which is an internal CA), and a key store for the SSL cert. Note: We're using a san cert for SSL. Exception is… 2018-01-19 08:41:23,999 WARN [Replicate Request Thread-9] o.a.n.c.c.h.r.ThreadPoolRequestReplicator Failed to replicate request GET /nifi-api/flow/current-user to 10.101.50.5:8443 due to com.sun.jersey.api.client.ClientHandlerException: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown 2018-01-19 08:41:23,999 WARN [Replicate Reques
Hadoop commands take a while, usually a few seconds, to response.While the information on the webUI is presented with almost no delay.Does the information come from some APIs, logs or other?I'd like to know the data source of WebUI and how could I get it.Thanks a lot.
Hi!We’re facing YARN-4714 and Swap memory issues, as shown on the attached printscreens.Increasing ‘spark.yarn.executor.memoryOverhead’ to default ‘0.6’ solved the issue for our spark application on NameNode.Do you think, it would be reasonable to set the value to ‘0.6-0.75’ in the file ‘yarn-site.xml’, cluster-wide for both NameNodes and DataNodes?Thank you for your response, in advance.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.