Find answers, ask questions, and share your expertise
Recently active
Hi,I'm seeking guidance on how to set up version control for Apache NiFi on a Windows machine using Bitbucket as the repository. Could you please provide me the steps how to configure?
Does HDP and Ambari install on Rocky 8?
Hello everybody,One of my disks on a datanode brake down few months ago. I changed it to a new one but my HDFS won't balance datas between disks. So, i have 7 disks with 80-90% of their capacity and 1 disk with only 15-20% of his capacity.I tried couple things, such as balancing HDFS or delete every small files.Furthermore, this difference between disks created a huge amount of blocks in my cluster. (The datanode has 1,043,627 blocks. Warning threshold : 0)Do you have any ideas to fix this ? Thanks,Oscar
while connecting hive to hue Got below error TSocket read 0 bytes (code THRIFTTRANSPORT): TTransportException('TSocket read 0 bytes',)
Good morning everyone! I am having troubles with the PutKudu processor.The Put Processor should write on a KUDU table, previously created by using Impala on HUE, inside the HDFS. Everything is configured but the PutKudu processor keeps showing up this error message. Kudu is configured with just one master (leader). I am thinking that this error could be caused by my one-node configuration as the docu seems to suggest to use a 3 nodes configuration at least. Is this the case ?The error message is too generic to be useful for any kind of debugging activity.The pipeline is composed by two processors: generateflowfile and putkudu.Down below you can have a look at the error messages and at the putkudu properties. If you need more information please let me know.Thank you and have a nice day.
Hi , Kindly for your support, I'm trying to create a kudu table from impala shell after enabling kerberos but i got the following error: ERROR: AnalysisException: Cannot analyze Kudu table 'courses_kudu': Error determining if Kudu's integration with the Hive Metastore is enabled: Couldn't find a valid master in (cloudera.ngdw.com:7051). Exceptions received: [org.apache.kudu.client.NonRecoverableException: Server requires Kerberos, but this client is not authenticated (missing or expired TGT)] Kindly find attached steps and error returned.
Hi everyone,I use NiFi to frequently check if a website is up or down. I get the following response as text in a single Flowfile:HTTP/1.1: 200 Connection establishedProxy-Agent: Fortinet-Proxy/1.0Content-Type: image/jpegConnection: keep-aliveDate: Tue, 12 Sep 2023 14:05:43 GMTServer: ApacheStrict-Transport-Security: max-age=31536000URL: https://test.com How can I turn these lines into Key/Value-Pairs or Attributes, to use them with further processors? My goal is to save these Informations in an mySQL Database where the following fields are given:HTTP/1.1Proxy-AgentContent-TypeConnectionDate...Best regardsMaik
Hello everyone, I am new to docker and I have been researching and working with nifi recently. I have one query for my use case where I need to use code repositories that are outside the docker container (I have already bind them while docker run command) and I can access the folder via exec but I need to access these scripts in the executestreamcommand processor's working directory and command path fields. Even after putting the destination directories into the fields I am getting no such file or directory exists. So, please help me out.
I have some basic questions about nifi cluster.I understand that nifi makes use of multiple nodes to speed up the processing of data.But how do we ensure durability of data processed? Suppose we distribute n flowfiles in a queue to several nodes, with each node getting a subset of n files. Does nifi assign same subset to more than one nodes, so that if one of those processing node goes down, we still have others working on same subset?Second, how is result of processing done on different nodes aggregated? Is it done on primary node OR there is some other mechanism?
Hi, I am using UnpackContent to extract files from a zip and then load them to another location. I am seeing corruption in the files going to that other location that I think is caused by some race condition on the extracted files. The zip files have a directory and file structure that look something like thisfile1.zip -> data/file.txtfile2.zip -> data/file.txtwhere the contents of file.txt in the two zip files is different but they are named the same. We use UnpackContent with Packaging Format 'zip' and File Filter 'data' to only get files in the data directory.This works fine when processing individual files, but now that we have scaled this up, there appears to be an issue where the file extracted from file1.zip gets overwitten by the extracted file from file2.zip and then when we copy the file over, the content is corrupted between the two. Looking at the properties after the UnpackContent, I see absolute.path is something like <NiFi Location>/data/file.txt after e
Getting SSL Certificate error while from Power BI to impala server. ODBC connector is working fine, however while doing the direct connection getting error. SSL certificate not found or missing.
I am working in NiFi 1.16 and trying to use ExecuteSQL processor to write out a Parquet file. My challenge is the decimal format is being changed to "LogicalType(STRING: StringType())".The data is coming from an MS SQL server. We have tried to set the precision and scale, but still continues to come out in a string instead of a decimal.
What does this message mean on an invalid processor:I see it for processor FetchXMLFile.On scheduling tab, execution dropdown has 'Primary Node' selected. On changing it to 'All Nodes', error goes away.I am on 1.22.0(with some nars from 1.10.0 also added to lib folder).
I am configuring a new 3 node NiFi cluster on three AWS EC2 instances. I'm attempting to use the tls-toolkit.sh utility to generate the SSL keystore.jks and truststore.jks for each of the 3 nodes. It generates them and I can start the cluster but when I load the UI it seems like it's working but then I get this message.An unexpected error has occurred (log out) (home)javax.net.ssl.SSLPeerUnverifiedException: Hostname my.elb.name not verified: certificate: sha256/LhH2H...hkIE= DN: CN=node1.server.name, OU=NIFI subjectAltNames: [node1.server.name]The nifi-app.log has basically the same to say about it.WARN [Replicate Request Thread-7] o.a.n.c.c.h.r.ThreadPoolRequestReplicator Failed to replicate request GET /nifi-api/flow/current-user to my.elb.name:port due to javax.net.ssl.SSLPeerUnverifiedException: Hostname my.elb.name not verified: ... subjectAltNames: [node1.server.name]I would have expected the subjectAltNames to include my.elb.name because I included it in my tls-tool
I'm having an issue with a Spark-Hive application running on a Kerberos cluster. I receive a javax.security.sasl.SaslException: GSS initiate failed error, which appears to be caused by not finding any Kerberos tgt. Here's the error log: 23/08/04 22:56:55 INFO HiveUtils: Initializing HiveMetastoreConnection version 1.2.1 using Spark classes. 23/08/04 22:56:55 INFO HiveClientImpl: Attempting to login to Kerberos using principal: hdfs01@HDP.COM and keytab: hdfs01.keytab-2ca1f730-bef7-4166-90ce-67317c75c793 23/08/04 22:56:55 INFO UserGroupInformation: Login successful for user hdfs01@HDP.COM using keytab file hdfs01.keytab-2ca1f730-bef7-4166-90ce-67317c75c793 23/08/04 22:56:55 INFO metastore: Trying to connect to metastore with URI thrift://master3.abc.xyz.com:9083" 23/08/04 22:56:55 ERROR TSaslTransport: SASL negotiation failure javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSExce
For my work, I had to copy nifi 1.10.0 nars into lib folder of nifi 1.22.0. I do this as part of docker image build process.This work seems to support this.First, container launch has issues with multiple jetty nars, so I dont't copy them, and jetty issue is gone. But container launch still fails with:java.lang.IllegalStateException: Multiple framework NARs discovered. Only one framework is permittedIs this due to nar versions(1.10.0 and 1.22.0) or do I need some more configuration to make it work?
Hi Team,I am facing following issue(error) to start region and master servers. Anyone is having any idea on this.023-09-01 10:51:24,807 ERROR org.apache.hadoop.hbase.regionserver.HRegionServer: Failed construction RegionServerjava.lang.UnsatisfiedLinkError: failed to load the required native libraryat org.apache.hbase.thirdparty.io.netty.channel.epoll.Epoll.ensureAvailability(Epoll.java:81)at org.apache.hbase.thirdparty.io.netty.channel.epoll.EpollEventLoop.<clinit>(EpollEventLoop.java:54)at org.apache.hbase.thirdparty.io.netty.channel.epoll.EpollEventLoopGroup.newChild(EpollEventLoopGroup.java:186)at org.apache.hbase.thirdparty.io.netty.channel.epoll.EpollEventLoopGroup.newChild(EpollEventLoopGroup.java:37)at org.apache.hbase.thirdparty.io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:84)at org.apache.hbase.thirdparty.io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:60)at
Hi, I have just started using Apache NiFi, so things are pretty new to me. What I want is to migrate our existing NARs(created for nifi 1.10) to version 1.22.We actually tried it with 1.15.1 too but we found that there were new processor properties which were required, and so things didnt go well. So I want to know if there is some well documented way of achieving it?
when I am using PutFile Processor and ExecuteScript Processor,the object in the flow between them stuck for longer time than expected and processed many times.this case happend only between these 2 processors only.even if I set the expiration time for the flow and set it to 1 second, and scheduled the run of ExecuteScript to 4 sec, still processing the flow at least 2 times.which cause sending the file to the API many times.the version of the NIFI I am usnig is: NIFI v1.18, also I tried to upgrade and use version 1.22, but this issue still as is. The script I am using in ExecuteScript is:import org.apache.commons.io.IOUtilsimport org.apache.nifi.processor.io.OutputStreamCallbackdef flowFile = session.create()def filePath = 'E:/tmp/tmp_file.txt'def file = new File(filePath)if (file.exists()) {def fileContent = IOUtils.toByteArray(new FileInputStream(file))flowFile = session.write(flowFile, { outputStream ->outputStream.write(fileContent)} as OutputStreamCallback)session.transfer
I have a secure hadoop cluster with HDP3.1,I recently tried to interconnect this cluster with the Knox component to implement a secure proxy. This cluster has kerberos, Ldap, and https enabled, I create one config like this: <topology> <gateway> <provider> <role>authentication</role> <name>ShiroProvider</name> <enabled>true</enabled> <param> <name>main.ldapRealm</name> <value>org.apache.knox.gateway.shirorealm.KnoxLdapRealm</value> </param> <param> <name>main.ldapContextFactory</name> <value>org.apache.knox.gateway.shirorealm.KnoxLdapContextFactory</value> </param> <param> <name>main.ldapRealm.contextFactory</name> <value>$ldapContextFactory</val
Problem Summary---------------------------------------------------Is Cloudera have estimation time for jobs completion.Problem Description---------------------------------------------------Hi Support,I need to understand and have information on any time estimation of completion of jobs running in Hadoop respective of map reduce or spark jobs?
如何下载CDH6.3.2?(免费帐户)谢谢
Logs from solr.log WARN [c:ranger_audits s:shard1 r:core_node2 x:ranger_audits_shard1_replica_n1] org.apache.hadoop.security.authentication.server.AuthenticationFilter (AuthenticationFilter.java:565) - Authentication exception: GSSException: Defective token detected (Mechanism level: GSSHeader did not find the right tag) Hadoop.secuorg.apache.hadoop.security.authentication.utill.signerexception invalid signature.Pfa
We have a delimited flatfile which has special characters ingested into HDFS. We have created a Hive External table on top of the HDFS path and visualized the data in Hue & Beeline. But the special characters are displayed as question mark (?). Please advise the solution.
Dears, I need help. I trying to version my flows, but is show this error: (Failed to register flow with Flow Registry due to Error creating snapshot: An unexpected error has occurred. Please check the logs for additional details) Looking in the logs, I found this error: org.apache.nifi.web.NiFiCoreException: Failed to register flow with Flow Registry due to Error creating snapshot: An unexpected error has occurred. Please check the logs for additional details. ERROR o.a.nifi.web.StandardNiFiServiceFacade The flow has been created, but failed to add a snapshot. Returning the created flow information. Last week it was working perfectly but now this error started. Can you help me? Thanks!
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.