Find answers, ask questions, and share your expertise
Recently active
Hello, I'm planning to implement new cluster + Data services, I'm planning to use below versionsCM 7.11.3 CHF 11 Cloudera Runtime 7.1.9 SP1Cloudera Data services 1.5.4 SP1I have checked the compatibility matrix all the releases are compatible with each other, but when I read this article I can't find 7.1.9 SP1https://docs.cloudera.com/cdp-private-cloud-data-services/1.5.4/release-notes/topics/cdppvc-service-packs-1-5-4-SP1.html#ariaid-title2 Any one tried this path?
Our customer needs to renew the license they purchased from HPE, but when following the instructions to access the link hpe.cloudera.com, it is not responding. We are concerned that this will affect the system renewal. Does anyone have a way to activate a license purchased from a third party?
We're still facing issues with RIT, and now there's an additional frustrating problem: several tables are not coming online.In the HBase meta table, the state is set to "\x08\x02", which indicates the table is "DISABLING" The region state is CLOSED, but modifying these states hasn't resolved the issue.I've tried addressing this by using put statements and the hbck2 tool, but the problem persists. The current HBase version is 2.0.2.
Hello,We have a nifi registry running under AWS ECS and integrated with GIT repo as persistence provider, we have to use GIT credentials for remote authentication username/password. Is there any way to have this done if we set an IAM role with access to that GIT repo (AWS CodeCommit) for the ECS/EC2 that hosting the NIFI application?We don't want to use any GIT credentials Could you please advise?
Hello sir,I am using the InvokeHTTP processor in Apache NiFi to call an API. I am writing the response using the PutFile processor. When the API returns a 200 status code, it works fine and writes the response. However, when the API returns a 400 or 500 status code, it writes the original input file instead. I want to capture and write the actual response body for 400 or 500 status codes instead of the input file. here is process:here is InvokeHTTP processor:Here is putfile processor:if status 200 it write the response . I want write all response from api instead of input file if it has any status from api.Please help me
Hi,I am trying to understand what is the optimal development lifecycle of Apache Nifi flows that should be ported from dev to qa to prod.I read some articles such as https://community.cloudera.com/t5/Support-Questions/Hortonworks-HDF-Apache-Nifi-how-to-deploy-a-flow-from-dev/m-p/158288 and I usually use export/import template in my flows but it's having some big drawback than I am not sure how they can be overcomed.In particular the issue is that the template/flow definition contains inside "code" and "logic" information together with "environment configurations" that shouldn't be exported and imported. With that I mean information such as number of threads per processor that should not be exported because obviously usualy prod environments have more resources so can support more threads and cron configurations that obviously can change between a dev/qa and prod environment.It seems like Apache Nifi was not designed well following the 12 factor principles https://1
When I install hue with cloudera manager it stops, when searching the log it shows me a permissions error. ======log cloudera manager======2021-04-19 10:30:55,858 INFO CommandPusher-1:com.cloudera.server.cmf.CommandPusherThread: Acquired lease lock on DbCommand:15463385272021-04-19 10:30:55,860 INFO CommandPusher-1:com.cloudera.cmf.service.AbstractOneOffHostCommand: Unsuccessful 'HueTestDatabaseConnection'2021-04-19 10:30:55,861 INFO CommandPusher-1:com.cloudera.cmf.service.AbstractDbConnectionTestCommand: Command exited with code: 12021-04-19 10:30:55,861 INFO CommandPusher-1:com.cloudera.cmf.service.AbstractDbConnectionTestCommand: + '[' syncdb = is_db_alive ']'+ '[' ldaptest = is_db_alive ']'+ exec /opt/cloudera/parcels/CDH-7.1.5-1.cdh7.1.5.p0.7431829/lib/hue/build/env/bin/hue is_db_aliveTraceback (most recent call last):File "/opt/cloudera/parcels/CDH-7.1.5-1.cdh7.1.5.p0.7431829/lib/hue/build/env/bin/hue", line 9, in <module>from pkg_resources import load_entry_pointFile
I have a processor group PG with below processors for exampleA -> B -> C D-> E->FProcessor C (Execute Stream Command) runs a Python code using multi threads - generates filesProcessor D ( List File) will list the files generated by above processor C and transforms and processes to F (PutElasticSearchJSON)Have a requirement to run this processor group for one date at a time, start execution for next date only after capturing the status of previous date execution status (success/failure)I am ok using Python/Shell Script. Guide me how can this be achieved.
Hello experts - I am using nifi 1.25 in Kubernetes.I have flow where it updates variable registry of a processor group .Invoking below url for the same - <baseNiFiUrl>/process-groups/${ProcessGroupId}/variable-registry/update-requestsIt works for some time and once in a while it starts hanging, where it is unable to update the variable registry at and status stuck at processor stopping.Even I tried running update variable registry after manually stopping the specific processor of processor group where updating variable is being referenced.Here is the below response I get for var registry update status, it does not change:{"request" : {"requestId" : "77422664-ad85-40d7-9464-4df7df1fe149","uri" : "https://nifi-0:9091/nifi-api/process-groups/fec6c2c9-ee27-31ea-6354-851d74803023/variable-registry/77422664-ad85-40d7-9464-4df7df1fe149","submissionTime" : "12/20/2024 09:43:32.941 UTC","lastUpdated" : "12/20/2024 09:43:32.941 UTC","complete" : false,"percentCompleted" : 0,"upda
I get "Unexpected error. Unable to verify database connection" I checked cloudera-scm-server.log file, found the following ERROR:7345 MainThread redactor ERROR Redaction rules file doesn't exist, not redacting logs. file: redaction-rules.json, directory: /run/cloudera-scm-agent/process/57-HUE-test-db-connection------Details:[root@prw-cld-trial cloudera-scm-server]# pwd/var/log/cloudera-scm-server# more cloudera-scm-server.log2024-12-20 14:20:06,319 INFO CommandPusher-1:com.cloudera.server.cmf.CommandPusherThread: Acquired lease lock on DbCommand:812024-12-20 14:20:06,446 INFO CommandPusher-1:com.cloudera.cmf.service.AbstractOneOffHostCommand: Unsuccessful 'HueTestDatabaseConnection'2024-12-20 14:20:06,471 INFO CommandPusher-1:com.cloudera.cmf.service.AbstractDbConnectionTestCommand: Command exited with code: 12024-12-20 14:20:06,472 INFO CommandPusher-1:com.cloudera.cmf.service.AbstractDbConnectionTestCommand: from cryptography imp
Mates,Need help or references of how to configure REST API on NiFi 2.0, unable to generate token as we were doing on 1.x. Have NiFi on plan Linux not on any cluster
Hi Team,I am using NIFI 2.0 M4 version-single node , I am trying to merge flow files using defragment merge strategy, Instead of merging all defragment flow files , It is writing first fragment to merged and remaining to failure, Please suggest if i am missing some thing.NIFI Configuration: @MattWho ,please help to suggest.Thanks,
Hi,I can't seem to figure out why I'm unable to reach my NiFi GUI from computers on our intranet other than where it's installed.nifi.properties has these entries (nothing on the http settings)nifi.web.https.host=ourMacMini20nifi.web.https.port=9444nifi.web.https.network.interface.default=nifi.web.https.application.protocols=h2 http/1.1nifi.web.jetty.working.directory=./work/jettynifi.web.jetty.threads=200nifi.web.max.header.size=16 KBnifi.web.proxy.context.path=nifi.web.proxy.host=nifi.web.max.content.size=nifi.web.max.requests.per.second=30000nifi.web.max.access.token.requests.per.second=25nifi.web.request.timeout=60 secsnifi.web.request.ip.whitelist=nifi.web.should.send.server.version=truenifi.web.request.log.format=%{client}a - %u %t "%r" %s %O "%{Referer}i" "%{User-Agent}i"From the computer itself where the installation occurs this works:https://ourmacmini20:9444/nifi/For other computers (where certificates are installed) this message is shownThis site can’t be reachedourmacmini20
I am using CSVReader and CSVRecordSetWriter using the Infer schema setting. But when I have values such as "030", even though the all the values has double quotes enclosed. When I write the schema into avro.schema, I see it is considered as type 'int'. But I want to treat it as string. Because of this our output after the processor looks like 30 and the first 0 is omitted. I want to use Infer schema property only because, I want to read the csv files dynamically without hardcoding the schema and use that.
Hi team,I'm struggling while converting nested JSON to Flat JSON using JOLT.The Nested JSON is in the below format: { "data": { "getCarListing": { "edges": [ { "node": { "id": "1001", "identifier": 500001, "carClusterIds": [ { "element": { "name": "SEDAN1000", "businessRelations": [ { "countries": [ { "countryCode": "US" } ], "code": "US01" }, { "countries": [ { "countryCode": "CZ" }, { "countryCode": "SK" } ], "code": "CZ01" }, {
I have recently upgraded from CM 7.6.7 to CM 7.11.3 and CDP 7.1.7 SP2 to CDP 7.1.7 SP3.HDFS Datanode, Impala Daemon, Yarn Resource Manager, and Hbase Region Server are showing unhealthy web server on Cloudera as shown below. After checking one of the agents log, I found the following error. 18/Nov/2024 09:09:09 +0100] 2414 GM IMPALAD throttling_logger ERROR Error fetching metrics at 'https://host.domain.com:25000/jsonmetrics?json'Traceback (most recent call last): File "/data/cloudera/cm-agent/lib/python3.8/site-packages/cmf/monitor/generic/metric_collectors.py", line 224, in _collect_and_parse_and_return opened_url = urlopen_with_retry_on_authentication_errors( File "/data/cloudera/cm-agent/lib/python3.8/site-packages/cmf/util/url.py", line 339, in urlopen_with_retry_on_authentication_errors return function() File "/data/cloudera/cm-agent/lib/python3.8/site-packages/cmf/monitor/generic/metric_collectors.py", line 244, in _open_url return self._urlopen_ca
Hi Community,I have recently upgraded from CM 7.6.7 to CM 7.11.3 and CDP 7.1.7 SP2 to CDP 7.1.7 SP3.There are many services that are showing web server error on Cloudera as shown below. One of those services is HDFS. When I checked the cloudera-scm-agent log, I found the following error. [21/Oct/2024 09:09:09 +0100] 2414 GM IMPALAD throttling_logger ERROR Error fetching metrics at 'https://host.domain.com:25000/jsonmetrics?json'Traceback (most recent call last): File "/data/cloudera/cm-agent/lib/python3.8/site-packages/cmf/monitor/generic/metric_collectors.py", line 224, in _collect_and_parse_and_return opened_url = urlopen_with_retry_on_authentication_errors( File "/data/cloudera/cm-agent/lib/python3.8/site-packages/cmf/util/url.py", line 339, in urlopen_with_retry_on_authentication_errors return function() File "/data/cloudera/cm-agent/lib/python3.8/site-packages/cmf/monitor/generic/metric_collectors.py", line 244, in _open_url return self._urlopen_call
Hi Everyone, I have the below Input JSON and would like to flatten the data into the below mentioned output JSON format. I am new to the JOLT, I tried to transform (its incomplete) but could not achieve the result. Kindly help me to get the desired output, thanks in advance. Input JSON: { "data": { "getItemListing": { "edges": [ { "node": { "id": "2940126", "identifier": 3119650, "parentItems": [ { "id": "364270", "parentIdentifier": 371153 }, { "id": "364258", "parentIdentifier": 371147 } ], "treatmentClusterIds": [ { "metadata": [ { "treatmentClusterIDs": "528" } ], "element": { "name": "GOAT02", "labelingClusters": [
In Apache Spark, spark_shuffle and spark2_shuffle are configuration options related to Spark's shuffle operations, which can be set to start auxiliary services within the Yarn NodeManager. But what is the difference between these two?
Hello everyone, I am facing issue with creating an custom python processor in Nifi 2.0.0. It is linux based server with installed java 22 and python 3.9.18. I also set the nifi.properties command to the python3.9.Currently I am just trying to get the simplest processor such as from nifiapi.flowfiletransform import FlowFileTransform, FlowFileTransformResultclass WriteHelloWorld(FlowFileTransform): class Java: implements = ['org.apache.nifi.python.processor.FlowFileTransform'] class ProcessorDetails: version = '0.0.1-SNAPSHOT' def __init__(self, **kwargs): pass def transform(self, context, flowfile): return FlowFileTransformResult(relationship = "success", contents = "Hello World", attributes = {"greeting": "hello"})This is picked up by nifi and it seems that successfuly but in the GUI the process still has the warning 'Processor' is invalid because initializing runtime environment for the Processor.From the logs I saw that there is
2024-05-04 15:27:08,590 WARN [RpcServer.default.FPBQ.Fifo.handler=26,queue=1,port=16000] assignment.AssignmentManager: rit=OPENING, location=l230-n2.<SERVER>,16020,1714828981071, table=<NAMEAPACE>:<TABLE>, region=275bbfd7b7044afcba2deeeebf622b07 reported OPEN on server=l230-n2.<SERVER>,16020,1714828981071 but state has otherwise AND NO procedure is runningWe have about 300 RIT and there alle stuck under the procedures & locks (<hbase master>:16010/procedures.jsp) we have some in state waiting_timeout.We all ready tried restarting the cluster (hbase/zk) but got only whorse. There are 14 nodes in the cluster 3 are not assigned and we have a couple (about 4) that do all the work.Where still on hbase 2.0.2 so we can't use hbck2 (2.0.3 >) and in hbase 2.0.2 hbck repair is disabled. Our average region count per server is about 330.1. how do i get my regions unstuck?
My pyspark yarn-client application got killed by cluster because of this setting, yarn.scheduler.capacity.root.default-application-lifetime. What config should I use to declare my application lifetime and avoid getting killed?
I need to authenticate to a Kafka Broker using OAuth. I am looking at the Apache NiFi issues pages and see this URL to add support for SASL/OAUTHBEARER to the Kafka 3 processors which now have an allowable values list of SASL mechanisms - https://issues.apache.org/jira/browse/NIFI-7421Does anyone know if this will ever be implemented?Otherwise, does anyone have any list of ideas I could use to achieve this requirement?@MattWho @SAMSAL
Hello Experts,I am using Wait - notify processors for my flow, once in a while I am seeing this error in Notify processor.java.lang.RuntimeException: Unable to communicate with cache when processing.The screen shot attached. Any idea what is the reason and how to resolve this ?Thanks in advance.Mahendra
Hello Team, I am Sachin Duggal , and I am the owner of a bags manufacturing business. I am encountering an “Out of memory heap” error while processing a large text file (26k+ rows) through SFTP. The file contains | separated values, and I'm using the following processors for data manipulation. However, the process halts after the splitJSON processor. Has anyone else faced a similar issue or has any suggestions on how to optimize the memory usage or address this issue? I would appreciate any insights or alternative approaches that could help resolve this. Looking forward to your suggestions! Sachin Duggal
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.