Find answers, ask questions, and share your expertise
Recently active
Hello, I m sending a http request to an API and facing some difficulties to configure the multipart specificities.I have to send 2 files as part of request. Is there any way to send 2 files ? Since there can be only one flow file that is possible @SAMSALApache NiFi processor 'InvokeHTTP' POST with MultipartFile formdata to remote API --This works fine when one file is being sent. Any help on sending 2 of them ?
Hey everyone, after enabling Kerberos resource manager can't run, this log after try run resource manager. please AdviceFile "/usr/lib/ambari-agent/lib/resource_management/libraries/providers/hdfs_resource.py", line 295, in _run_command raise WebHDFSCallException(err_msg, result_dict)resource_management.libraries.providers.hdfs_resource.WebHDFSCallException: Execution of 'curl -sS -L -w '%{http_code}' -X GET -d '' -H 'Content-Length: 0' --negotiate -u : 'http://master.hadoop.com:50070/webhdfs/v1/services/sync/yarn-ats?op=GETFILESTATUS'' returned status_code=403. <html><head><meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/><title>Error 403 GSSException: Failure unspecified at GSS-API level (Mechanism level: Invalid argument (400) - Cannot find key of appropriate type to decrypt AP REP - AES256 CTS mode with HMAC SHA1-96)</title></head><body><h2>HTTP ERROR 403 GSSException: Failure unspecified at GSS-API level (Mec
I'm running oozie HA 5.2.1 on EMR and I have an issue with this temporary directory. I have a workflow which has start node -> action node -> end node. The job start running -> runs for 10-15 minutes -> is initially marked as successful -> is marked as failed. The error is JA008 File or directory not found for the /user/oozie/oozie-oozi/"oozie_job_id"/"ActionName"--java directory. I'm running in parallel a script which looks at this directory as well as the state of the workflow and while running this directory contains action.xml and launcher.xml file -> before marking it as SUCCEDED it adds the action-data.seq file -> after it marks it as succeeded it deletes this directory -> after 1-2 minutes marks it as failed with the error above. It looks like oozie is checking again for that directory after it previously deleted it.Although this jobs is marked as failed from oozie perspective in reality this job is successful (checking in the RM UI the jobs status and th
How to set up TeraGen & TeraSort performance testing in a CDP private cloud cluster ?
Hello, i am trying to implement a solution where i want to use Dynamic SOAP requests to a servicenow system but not using Basic Authentication mechanism and Oauth2.0 instead.I am not sure if this can be done without using invokeHTTP processor because i need to put some URL there as well in order to POST. Not sure how can i utilize this authentication mechanism seamlessly within PutServicenow. Need help.
HiI have an existing CDP 7.1.x cluster with Auto-tls enabled during the creation of the cluster. I followed the use case 2: https://docs.cloudera.com/cdp-private-cloud-base/7.1.9/security-encrypting-data-in-transit/topics/cm-security-use-case-2.html, to use an existing Root CA. Recently the certificates expired and I'm trying to renew them. I've a couple of questions from the documentation.1. In the above page, it mentions "In this use case, rotation of the Auto-TLS certificate authority is not supported. Cloudera recommends creating an intermediate CA with a long lifetime. The host certificates can be rotated by using the generateHostCerts API." - Should I use this to generate the host certs. If so, can I get an example of the API call and it's usage.2. Or should I use this use case 3: https://docs.cloudera.com/cdp-private-cloud-base/7.1.8/security-encrypting-data-in-transit/topics/cm-security-use-case-3.html. Generate the certificates myself and use the gener
We are on CDP 7.1.7 SP2 versionCan I ask what is the best strategy to backup the cluster? We are using 5 phyisical nodes (3 of which holds the actual HDFS data). What is a good strategy for backup?1. Create another cluster that will act as replica (lower CPU and RAM)2. In the same cluster, backup / to preserve the OS apps (CM etc.) and /data (HDFS)
Unable to execute the Sqoop command after configuring the existing environment into the new environment.we are using Sqoop import/export command to get the data from other DB to the HADOOP. But it's failed with following error. But we can do eval command and list command for same DB.Error: java.lang.RuntimeException: java.sql.SQLException: ORA-12541: Cannot connect. No listener at host prxd10-scan.intranet.slt.com.lk port 1521. (CONNECTION_ID=fnQPj6XGQbKYLTFy6NYkAA==) https://docs.oracle.com/error-help/db/ora-12541/but we are doing some Sqoop job with HADOOP and other DBs.please help me!
Hi! I am new in using Apache NiFi in Cloudera DataFlow. I am using NiFi 1.25.0.I made a flow in local that listens to port 80 for HTTP requests and the hostname was ofc localhost but when trying to replicate it in Cloudera I don't know what hostname I have to use. Some say it is one of the nodes that the cluster has but my cluster have 4 nodes (which one to use?).Is there a way to know what hostname I have to use to be able to reach the endpoint hosted in Cloudera by using Postman from my PC? Do I have to make some cluster/port forwarding/network configuration?Thank you guys!
Hi, On our Cloudera Cluster version 7.11.3, added new Nifi and nifi registry parcels and csds. Restarted cloudera-scm-server and cloudera-scm-agents and cloudera manager services, but still not seeting any of the nifi or nifi registries when I add service. Nifi version 1.26.0Checked scm-server and scm-agent logs no errors. What else am I missing ,Any idea why ?
Hi Team, I am using 3 - node Nifi cluster, version : 1.23.2. I observed that Nifi throws error for deleting any processor/parameter context if any node is down. Can you please share the reason of it? Is there any document from Apache that clearly list out the restrictions of task list if any one node is down?Thanks,Priyanka
I am experiencing an issue with FTP access from the host machine to a Docker container. FTP access works when I try directly from within the container. I am unsure where the problem lies.Context:I am using Apache NiFi 2.0-M2 deployed in a Docker container. I have configured a ListenFTP processor in NiFi to receive files via FTP on port 2221 and make them accessible from the host machine. docker-compose.ymlHere is my docker-compose.yml configuration:services:nifi:container_name: nifiimage: apache/nifi:2.0.0-M2ports: "8443:8443" "2221:2221" # ftpenvironment: NIFI_WEB_HTTPS_PORT=8443The port 2221 seems to be correctly mapped from the container to the host machine.Connection Tests from the Host Machine:Telnet:telnet localhost 2221Trying ::1... Connected to localhost. Escape character is '^]'. Connection closed by foreign host.Netcat:nc -zv localhost 2221Connection to localhost port 2221 [tcp/rockwell-csp1] succeeded!Curl:curl -4 -v -u nbo:******* -T test2.txt ``ftp://localhost:2221
How does the ZKFC running in the namenode server maintain a open session in zookeeper?
Which configuration should I change for set specific NIC for HDFS data-node data replication?I want to separate traffic for Service between Replication.
1000 requests are queued in NIFI , invoke HTTP processor is showing socket timeout exception , i have added a self loop in invoke http processor so that it keep on retrying . These requests are stuck permanently.My issue is endpoint which invoke http processor is trying to invoke is up and running . i checked from postman i am able to get success response. 2023-11-08 12:17:34,783 ERROR [Timer-Driven Process Thread-138] o.a.nifi.processors.standard.InvokeHTTP InvokeHTTP[id=b48ff3b8-befb-32c2-b670-83445e1873f2] Routing to Failure due to exception: java.net.SocketTimeoutException: connect timed out: java.net.SocketTimeoutException: connect timed outjava.net.SocketTimeoutException: connect timed outat java.net.PlainSocketImpl.socketConnect(Native Method)at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476)at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218)at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketI
Hello,Is there a way to check the replication factor of a particular folder in HDFS?While we have default replication set to 3 in CM for some reason files being uploaded in a particular folder shows up with replication factor of 1. RegardsWert
i face the mentuioned error while logging to nifi althogh in log files no error found and according to logs my ldap user logged successfully as below:2024-07-10 11:12:19,489 INFO [NiFi Web Server-33] o.a.n.w.s.NiFiAuthenticationFilter Authentication success for AMOHAMED2792024-07-10 11:20:07,893 INFO [NiFi Web Server-71] o.a.n.w.s.NiFiAuthenticationFilter Attempting request for (<JWT token>) GET https://node_name:9443/nifi-api/flow/current-user (source ip: 10.230.237.150)2024-07-10 11:20:07,895 INFO [NiFi Web Server-71] o.a.n.w.s.NiFiAuthenticationFilter Authentication success for AMOHAMED279
HI Team, we have jar executable which is running fine in Nifi 1.15 version after we upgraded to 1.17 , when we tried to execute that jar its showing as invalid or corrupt jar file.when we checked java version both nifi and jar executable are on same version i.e. java 8 however we noticed that jdk versions are different from previous version to latest versionnifi 1.15 having openjdk version 1.8.0_312Nifi 1.17 having openjdk version jdk1.8.0_332suspecting this caused issue, however we are not able to update the jar. Can anyone help here what might be the issue here and how we can solve this issue. thanks
Hi ,We are in the process of migrating from YARN to Kubernetes for its benefits and upgrading our Spark version from 2.4.4 to 3.5.1. As part of this transition, we have decided to use Scala version 2.12.18 and have upgraded Java from version 8 to 11. Currently, I am encountering three main issues:I am experiencing an ArithmeticException due to long overflow. Could the switch from Java 8 to 11 be causing this issue?The deployment mode specified as cluster in the spark-submit command is being overridden to client.I am unable to use AWS Hadoop package classes in spark-submit, despite including the jars in the container.$SPARK_HOME/bin/spark-submit \--master k8s://$K8S_SERVER \ \--deploy-mode cluster \--name testing \--class dt.cerebrum.iotengine.sparkjobs.streaming \--conf spark.kubernetes.file.upload.path=s3a://cb-spark/path \--conf spark.hadoop.fs.s3a.endpoint="http://xxxxxxx.xxx" \--conf spark.hadoop.fs.s3a.access.key="xxxx" \--conf spark.hadoop.fs.s3a.secret.key="xxxxxxxxx" \--conf sp
I've got an instance of hue server on my host configured to use infra-solr, and it's tell me that it's got stale configuration on solr_url because the server is changed. If I restart the hue service for the first minute everything is good, but just some minute later it tells me again that's got stale configuration. The solr_url value isn't changed, there's the same url that was before i restart the service. Seems like it cannot update hue.ini config fileAny help?
Hi all, I have a CDP 7.1.8 cluster running in my environment. Recently I would like to migrate the existing CM server to another host. I followed the instruction in the link https://docs.cloudera.com/cdp-private-cloud-base/7.1.8/managing-clusters/topics/cm-moving-the-cm-server-new-host2.html. After that, the CM server is successfully migrated to the target host and I can see the cluster node recognized by the new CM server. However, I cannot see the cluster appear on the new CM server console. Finally, I have to manually restore the cluster using the link https://docs.cloudera.com/cdp-private-cloud-base/7.1.8/configuring-clusters/topics/cm-api-import-configuration.html. My question is, am I suppose to restore the cluster manually? What I expected is I can see the cluster immediately without extra work done after switching CM server. Could someone clarify for me please? Thank you.
Hi TeamI wish to know the Hardware Specification of the D8 V3 specified in the Operation Database category described in the below estimation cost link D8 v3 $0.3200/hrhttps://www.cloudera.com/products/pricing/pricing-calculator.htmlLooking forward to your reply ! RegardsNaveen
Hello,is it possible to create seperate individual list from one list based on some conditions. e.g i have a list that have category & product information so i have to create individual list based on category/item id with excludeInd flag 0/1,List A - CategoryIds List -> Exclude List B - CategoryIds List -> Include List C - ProductIds List -> Exclude List D -ProductIds List -> Include Input{ "correlationId": "3242a7b4-7929-43b3-9fb6-0d7e173373af", "sourceSystemId": "PCS", "messageTimestamp": "2024-05-03T00:00:00", "id": 1234, "promotionId": 2303, "offerId": 2303, "description": "Members Get Tees $15", "customerDescription": "Members Get Tees $15", "levelCode": 0, "typeCode": 3, "templateId": 4, "couponCode": null, "isCouponCodeRequired": 0, "startDatetime": "2024-06-20T00:00:00", "endDatetime": "2024-06-24T23:59:00", "cancelationDatetime": null, "comments": null, "distributionRuleCode": null, "exclusiveDiscountInd": 0, "tiers"
Hello,We are on CDSW 1.10.5. We are getting a weird error as below in our jobs:xEngine exited with unknown engine status: -1xPost "https://100.52.0.1:443/api/v1/namespaces?timeout=1m0s": dial tcp 100.52.0.1:443: connect: connection refusedAlso, the application service goes down. What may be the reason here?
Hi to all,let's say i have a flow file with some given attributes.What i want to achieve is to add flow attribute with a new one those value is retrieved from SQL Server query, where 2 existing attributes is passed in where clause(of course will return only one result) Just for exampleCurrent Flow file:year = 2018brand = audiI would add a third attribute called "model" with value retrieved from a following query:"SELECT model FROM cars WHERE year=${year} AND brand=${brand}" I've searched around but not still found a good answer....Tried evaluating lookup services but still not usable in this scenario. Can anyone can point me on the right direction? Many Thanks
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.