Find answers, ask questions, and share your expertise
Recently active
Hi Team,I am encountering error while listing topics using kafka-topics command,kafka-topics --list --bootstrap-server localhost:9093 --command-config ssl.properties> cat ssl.propertiessecurity.protocol=SSLssl.truststore.location=truststore_location_jksssl.truststore.password=truststore_password Error:INFO clients.NetworkClient: [kafka-admin-client-thread | adminclient-1]: [AdminClient clientId=adminclient-1] Cancelled in-flight METADATA request with correlation id 13 due to node -1 being disconnected (elapsed time since creation: 302ms, elapsed time since send: 302ms, request timeout: 26959ms) Please help to solve this problem
Hi I have hadoop cluster with version 3.4.0, hive version 3.1.3 and tez 0.9.2When i try to insert data i am facing issue:insert into client_orc_update (client_name) values("hello");Caused by: org.apache.hive.com.esotericsoftware.kryo.KryoException: Encountered unregistered class ID: 95Serialization trace:conf (org.apache.hadoop.hive.ql.exec.TableScanOperator)aliasToWork (org.apache.hadoop.hive.ql.plan.MapWork) another error i am getting on insert command with overwrite when transfering data from one table to another. Caused by: java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: org.apache.hadoop.fs.FileStatus.compareTo(Lorg/apache/hadoop/fs/FileStatus;)I at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat.generateSplitsInfo(OrcInputFormat.java:1790) ... 17 moreCaused by: jav
I have been using, on Amazon AWS, ubuntu 20.04 version with Hortonworks (Ambari (port 8080) and file system (port 4200). In ubuntu 20.04, in the Network settings, I created Security Groups to enable access to ports: 22 (Type: ssh, Protocol: TCP, Source Type: AnyWhere) 4200 (Type: Custom TCP, Protocol: TCP, Source Type: My IP) 8080 (Type: Custom TCP, Protocol: TCP, Source Type: My IP)then I installed Hortonworks, and from the browser I can access Ambari by going to http://<<IP address>:8080 ; or going to Hortonworks filesystem by going to http://<<IP address>:4200But now with unbuntu 22.04 and 24.04, I do the same steps above, but when I go to the browser, I cannot access Ambari by going to http://<<IP address>:8080; and I cannot go to Hortonworks filesystem by going to http://<<IP address>:4200I appreciate any insight and help.
Hi I have hadoop cluster with namenode resourcemanager on on server, datanode o another server and hive, tez on different server.I am getting error on running query on beeline - below are the yarn logs - it keeps trying to connect2024-10-31 15:57:49,806 [INFO] [ServiceThread:org.apache.tez.dag.app.rm.TaskSchedulerManager] |rm.TaskSchedulerManager|: Creating TaskScheduler: Local TaskScheduler with clusterIdentifier=1111011112024-10-31 15:57:49,813 [INFO] [ServiceThread:org.apache.tez.dag.app.rm.TaskSchedulerManager] |rm.YarnTaskSchedulerService|: YarnTaskScheduler initialized with configuration: maxRMHeartbeatInterval: 1000, containerReuseEnabled: true, reuseRackLocal: true, reuseNonLocal: false, localitySchedulingDelay: 250, preemptionPercentage: 10, preemptionMaxWaitTime: 60000, numHeartbeatsBetweenPreemptions: 3, idleContainerMinTimeout: 5000, idleContainerMaxTimeout: 10000, sessionMinHeldContainers: 02024-10-31 15:57:49,817 [INFO] [ServiceThread:org.apa
I have a python script that takes in text input in the format like this {"order":{"Testorder":{"operation":"create","specification":{"name":"${name}","version":"1.0.0-SNAPSHOT"},"parameters":{"controllerName":"${controllername}","parameters":{"parameter1":"${value1}","parameter2":"${value2}"}}}}}{"name": "TestService", "controllername": "MyController_d","value1": "test","value2": "speed"} First line is a JSON Template with place holders. Second line another JSON string which holds the value to be replaced in the first line. (whole input (first line and second line together) are not a valid JSON) It creates an output like this { "order" : { "Testorder" : { "operation" : "create", "specification" : { "name" : "TestService", "version" : "1.0.2-SNAPSHOT" }, "parameters" : { "controllerName" : "MyController_d", "parameters" : { "parameter1" : "test", "parameter2" : "strength" }
We were creating dashboards in Cloudera Cloudera Data Visualization and adding filters.For example, the following is a filter that has 137 records to select from:137 records is quite hard to scroll through, so we entered keywords to search for in the Search Box.But when we did so, we noticed that the keyword search is applied on the entire dataset. In other words, the keyword search is not applied on just the 137 records. This is strange and unexpected. Does anyone have a similar experience when adding filters in dashboards? Thank you.
Hello everyone,do you happen to know if the GitHub integration of NiFi 2.0.0 M4 also works for GitLab? I think I have entered everything correctly, but I get the error message that my repo does not exist.With "normal" GitHub-API it Works fine!Best regards
Hello , can anyone help with a spec to transform this JSON input to the desired output .JSON INPUT=========={"courseId": "xxx"}== desired output json ==[{"courseId": "xxx","courseSubCategory": 1},{"courseId": "xxx","courseSubCategory": 2},{"courseId": "xxx","courseSubCategory": 3}]
I need to use ORACLE stored procedure with input PARAM and this input PARAM is coming from flow file and get output from that stored procedure. is any processor is available with run stored procedure and return the out put in AVRO schema or any other format? Please help me.
I have created the Cloudera trail account but due to a permission issue, I tried to activate the default environment I can't activate it. how to fix this issue.
pig-0.17.0bin/pig -x localvery basic UDF file:#!/usr/bin/python3from pig_util import outputSchema@outputSchema("as:int")def square(num):if num == None:return Nonereturn ((num) * (num))@outputSchema("word:chararray")def concat(word):return word + wordExceedingly simple pig script:REGISTER '/home/scs/woodcock/SD411/lab_udf/test.py' USING org.apache.pig.scripting.streaming.Python.PythonScriptEngine AS myFuncs;A = LOAD '/home/scs/woodcock/SD411/DATA/accident.csv' USING PigStorage(',') AS (state:int,name:chararray);B = FOREACH A GENERATE myFuncs.square(state) AS state, name; If I do a "DUMP A" I get exactly what I would expect.But, on a "DUMP B", I get a failed job:java.lang.Exception: org.apache.pig.impl.streaming.StreamingUDFException: LINE :at org.apache.hadoop.mapred.LocalJobRunner$Job.runTasks(LocalJobRunner.java:462)at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:522)Caused by: org.apache.pig.impl.streaming.StreamingUDFException: LINE :at org.apache.p
Hello,I have the following simple topologyi simply create two files in a folder that GetFile processor is configured to `look` , and expected to upload to the FTP serverThe configuration for the PutFTP is the following: If i am trying to FTP from the VM to the FTP server, it works like a charm: Any help, please?
Hi How do I host an API using HandleHttpRequest which can be used to upload files to NiFi server from local using "multipart/form-data".Have tried below approach, however I get read permission issue as the Nifi user can't access local data. Please suggest an approach which can be used to upload file from local.Thanks
DearsI am an admin for a CDP Private Cloud Base customer who is struggling to raise support tickets on their respective myCloudera account. I did confirm that they purchased the highest level of support which they have not utilized ever since the cluster was deployed.Recently there has been several incidents on the cluster which required cloudera support but due to not having a support account we had to make due with help from cloudera partners. Whenever I access the support portal and try to raise a ticket I am faced with "This page is restricted please contact your admin"I thought that once I make an account with the company's email support will be active straight away but for some reason it is not. Has anyone faced this before and how was it resolved?
I am usinng Apache Nifi 1.28 and Hortonwrks HDP 2.5.0, while putting the data in hdfs using puthdfs processsor , i am able to get the following error: `2024-11-02 09:56:58,321 ERROR [Timer-Driven Process Thread-10] o.apache.nifi.processors.hadoop.PutHDFS PutHDFS[id=eb392407-0192-1000-f474-559950bfef43] Failed to properly initialize Processor. If still scheduled to run, NiFi will attempt to initialize and run the Processor again after the 'Administrative Yield Duration' has elapsed. Failure is due to java.lang.UnsupportedOperationException: getSubject is supported only if a security manager is allowedjava.lang.UnsupportedOperationException: getSubject is supported only if a security manager is allowedat java.base/javax.security.auth.Subject.getSubject(Subject.java:347)at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:588)at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:338)at org.apache.hadoop.hdfs.DFSClient.<init>(DFSC
Hi,Currently we are using ConsumeAMQP processor to fetch messages from Rabbitmq queues.There are some use cases in our system where Rabbitmq streams seem to be a good fit.I have tested ConsumeAMQP to consume messages from Rabbitmq streams queue, but it doesn't work as expected. I believe the new functionality related to OFFSET management is not available in ConsumeAMQP processor.Any insights on this would be helpful. Am I missing something? If functionality is not part of current processor and would like it to be enhanced, how should I request?Thanks in advance.
All, I have two separate NiFi instance and I want to push provenance events from one instance to another. Source NiFi's hostname is nifi8443 and Target NiFi's hostname is nifi8444.Both of these instances are running over HTTPS. On the "Target NiFi" I set up an input port called Test. On source NiFi, here's what my SiteToSiteProvenanceReportingTask looks like. Here's a couple things I did. I realized that the reporting task on NiFi8443 is essentially acting like an client and NiFi8444 is acting as the server. I added the NiFi8444 server certificate into a truststore.p12 file on NiFi8443 and created the corresponding SSLContextService to point to that Truststore file. I resolved the SSL issue and then I was reading on the target node (ie. NiFi8444) I had to make an identity for the full DN of the source (ie NiFi8443) certificate. So on NiFI8444, I created a new user called this - CN=nifi8443, O=NiFi Server, L=San Francisco, ST=California, C=USThen I added th
Hello, I have a question about the NiFi Python extension. I tried to build my own processor with Hatch and created a NAR file, but when I copy it into the lib folder in NiFi, I encounter this error:"2024-07-22 10:43:47,322 WARN [main] org.apache.nifi.nar.NarClassLoader .\work\nar\extensions\nifi_python_extensions-2.0.0.dev0.nar-unpacked does not contain NAR-INF/bundled-dependencies!"Is there any help available to resolve this?
"result" : "SUCCESS","correlationID" : "X8058296","generationTimestamp" : "1354","meHostName" : "rc01;rik2jc","nccVersion" : "SPS__R1", This is my input in my nifi and i want to do changes in meHostName means i want mehostName to have 1st value like in this case rc01 and after that creating 1 more field with name devicename having second value means rik2jc I acheived the 1st part means i configured in UpdateRecord processor for meHostName and it is printing 1st value means it is running fine ,now please help me in acheiving devicename to have 2nd value of meHostName which is rik2jc . i have tried split(/meHostName, ';')[1] but its not working
Hello All,Actually, I'm getting one error from my post call in nifi and in that I'm making post call with form data which contains file, JSon body but even after properly configuring the Httpinvoke it's giving me this errorjava.lang.IllegalStateException: closed Can you please help me in this these are my configuration which I have donethis preview which i got And the configuration:-and the Entire pipeline
Hi, Could be please help me why categoryList is combining all values inside one list instead of 2nd index of paths object , like productList is working fine only difference is that i added one more condition for categoryList that is causing the issue. could you please suggest what i am missing here ?Input { "correlationId": "4c7f8c69-36eb-4f65-bded-6ed08503631a", "sourceSystemId": "PCS", "messageTimestamp": "2024-10-29T13:10:54.297-04:00", "id": 2173, "promotionId": 569, "offerId": 2173, "description": "Price Rule wIncl and Excl - HCO UK", "levelCode": 0, "typeCode": 0, "templateId": 4, "isCouponCodeRequired": 0, "startDateTime": "2024-10-30T00:00:00.000Z", "endDateTime": "2024-10-31T23:59:00.000Z", "exclusiveDiscountInd": 0, "tiers": [ { "conditions": [ { "conditionId": 374, "buySpendType": 0, "buySpendValue": 1, "buyUom": "EA", "conditionsMerch": [ { "merchandiseLevel": 5
I have requirement where I need to append and prepend the attribute with "$$$". how ever, Nifi expression language is appending or prepending with "\$" For example: if attribute named "myattr" value is "This is Test" when I do ${myattr:prepend('$$$'):append('$$$')} I am expecting "$$$This is Test$$$" but the output is "\$This is Test\$" Is there any way to append or prepend the attribute with "$$$"
I have the AES decryption working in a Nodejs script using crypto locally on my computer, with the following parts:Text to decrypt: c6 c7 4b 49 0d cf 5c 20 87 0a e0 cd c4 a7 bf 94 d8Key: 3E 9B 26 FE 46 4F 6D 2D 2F 69 5D 87 8A 07 93 74Initialization Vector (IV): 2d 2c 83 42 00 74 1b 16 20 c0 7d 13 20 00 00 00Correct result: 14 25 79 ed a8 ff a7 00 00 e5 03 00 00 be 03 00 00So I know both key and IV are correct. I am using AES128, CTR and NoPaddingNow, I need to do it in Apache Nifi, and I am trying to use the DecryptContent processor. I am confused about how to make it happen and have tried quite a few things, the latest being:Cipher Algorithm Mode is set to CTRCipher Algorithm Padding is set to NoPaddingKey Specification Format: RAWI have set the content of the incoming flowfile content toc6c74b490dcf5c20870ae0cdc4a7bf94d84E69466949562d2c834200741b1620c07d1320000000(With 4E6946694956 as the NiFiIV delimiter)This results in an error from the DecryptContent processor: "Wrong IV length: m
I would like to know how to obtain the values of total_io_mb, mapreduce_inputBytes, and mapreduce_outputBytes for each application within a certain period of time.I believe that these values are written to the yarn log file. So, I would like to know SME's advice on how to do this, that is, how to configure these values to be written to the log.By Cloudera Manager, we are not able to get but the rate(ex. yarn_application_hdfs_bytes_read_rate). However, alternative ideas are welcome.The purpose is to evaluate the disk IO of the entire CDH cluster, which is made up of several hundred bare metal machines, and to estimate the disk IO required for the next generation of bare metal and/or storage nodes.
I am running into an issue where I am unable to successfully use a PutSQL or ExecuteSQL after returning from a Batch Processor group.The general scenario is this: I need to watch a folder for files that will be created with information to be uploaded to a PostgreSQL database. The files will have multiple lines, each line is to be inserted as a separate record into a temporary/staging table. When all the records from that file have been uploaded, I need to call a stored procedure that will process all those records and update other permanent tables all at once.I came across the concept of using a processor group set with 'Process Group Outbound Policy' set to 'Batch Output'.So, I am able to use GetFile to get each file as it is produced, then pass it into my batch processor group, where it splits the lines into individual flow files, and performs the inserts into my staging table. That all works perfectly.I then use a MergeContent processor to reduce those split files back into a single
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.