Member since
09-04-2019
62
Posts
17
Kudos Received
11
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
776 | 10-30-2023 06:50 AM | |
10433 | 02-27-2023 09:25 AM | |
1858 | 07-07-2022 09:17 AM | |
1761 | 01-26-2022 06:25 AM | |
2545 | 01-25-2022 06:19 AM |
10-29-2024
07:02 PM
Cloudera DataFlow (CDF) is an integrated data management platform designed to handle real-time streaming data pipelines. It allows organizations to ingest, process, analyze, and distribute data in motion across various environments such as on-premises, public clouds, or hybrid architectures. Cloudera CDF leverages Kubernetes as the foundational infrastructure for deploying, managing, and scaling data flow applications. Cloudera CDF also uses NiFi as the core engine for data movement, transformation, and management. When developing or troubleshooting DataFlows you might need to set processors on DEBUG mode. NiFi uses Logback as the default logging framework to handle logging of application activities and error messages. With the below examples you can set a processor in to DEBUG mode by just knowing the processor name. The below example assumes that you are pointing to your appropriate kubeconfig file a an environment variable on your shell named KUBECONFIG. However you can alway add the --kubeconfig=/path/to/your/kubeconfig-file flag You will need to know what name space your DataFlow is on: kubectl get namespaces *** Deployed DataFlows will have the naming convention of dfx-<Flow name>-ns *** If you need to set a DataFlow on DEBUG using Flow Designer the naming convention will be dfx-ts-<numbers>-ns You will also need to know the name of the processor you want to set to DEBUG Finally after running below command your processor will begin to log on DEBUG after 30 seconds The below is a one line command that will set DEBUG on the processor you want and on the pod named dfx-nifi-0 *** If your DataFlow autoscales you can set it on other pods that increment by the number 1 Just change the text in RED to meet your environment. In the below example I am setting the processor queryrecord to DEBUG kubectl exec -n dfx-logback-test-ns dfx-nifi-0 -c nifi -- bash -c \ "CLASS=\$(zcat /opt/nifi/nifi-current/data/flow.json.gz | \ jq -r '.. | .processors? // empty | .[].type | select(test(\"queryrecord\"; \"i\"))' | \ sort | uniq); sed -i '/<logger name=\"org.apache.nifi\" \ level=\"INFO\"\/>/a \ <logger name=\"'\$CLASS'\" level=\"DEBUG\"\/>' \ /opt/nifi/nifi-current/conf/logback.xml"
... View more
Labels:
09-09-2024
12:27 PM
Hello @mfhanif what region are you on? And just to make sure we are looking at same thing this InvokeHTTP is the labeled "Get Recent Wikipedia Changes" correct?
... View more
07-04-2024
12:01 AM
Can i use multiple impala demons in connection string, or is there any way to use multiple impala demons ? CDP 7.1.7
... View more
11-02-2023
01:35 PM
@ipson Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. Thanks.
... View more
04-27-2023
07:51 AM
Hello @MattWho @SAMSAL @steven-matison @DigitalPlumber @cotopaul , after confirming the access I'm able to verified I can access the bucket from aws cli on the same system Nifi is running on and download files. The problem I'm having now is that the ListS3 pickup the list of the files from the bucket but the FetchS3 doesn't do anything. When I enabled debugging on the FetchS3 I receiving the following error message. FetchS3 Error message FetchS3 Configuration ListS3 Configuration Any suggestion to what is causing the issue?
... View more
04-16-2023
07:15 AM
Hi @DigitalPlumber - Yes it is Public Cloud. I use NiPyAPI on HDF where I was able to add any variable etc using that library. In CDP, I want to get the current processor ID. It can be via expression language or by API. How can I achieve that? For example, I want to fetch all the PutS3 processors ID then how can I get that?
... View more
03-02-2023
09:42 AM
@rahul_loke Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. Thanks
... View more
08-23-2022
10:34 PM
I have installed latest version of Java and NiFi. Now it works. Thanks for the suggestion.
... View more
07-18-2022
10:40 PM
it gives us all the details of the canvas, is it possible to get only the processor group details?
... View more
07-18-2022
01:01 PM
Thanks for your help. I also chatted with one of Streamnative dev advocates & he directed me to tons of info. Unfortunately, the nars are & didn't work with on prem Nifi 1.16.3. Also, i tried to build from source files but encountered lot of errors.
... View more