Ask questions, get answers, or find community-sourced articles
Recently active
Hi Regarding python updates, how can they affect cloudera?there is a security update RHSA-2023:0833 - Security AdvisoryDescriptionA vulnerability was discovered in Python. A quadratic algorithm exists when processing inputs to the IDNA (RFC 3490) decoder, such that a crafted unreasonably long name being presented to the decoder could lead to a CPU denial of service. Hostnames are often supplied by remote servers that could be controlled by a malicious actor, which could trigger excessive CPU consumption on the client attempting to make use of an attacker-supplied hostname. Do these types of updates affect cloudera?
After deployed Impala Virtual data warehouse of Data service.I faced Error "401 client Error: Unauthorized for url: http://coordinator:28000/cliservice"Sometimes It works well. To solve this problem what should I check?
I have a url endpoint that provides a json file with a size of a couple of `GB`. Unfortunately the api does not support pagination which would be the normal approach to my problem.So what i can do in python is to use ijson lib and split the json from the endpoint while receiving it and storing the result to my hard drive. This is very memory efficient and gives me the ability to run this async and start transforming the results while data are still loaded. import ijsonimport jsonfrom urllib.request import urlopenf = urlopen(url)objects = ijson.items(f, 'item', use_float=True)record = (o for o in objects)for i,r in enumerate(record): print(i) with open(f'/tmp/streamwriter/{i}.json', 'w') as f: f.write(json.dumps(r)) now i want to do this in nifi. Is there a processor that can do the same. The way I understand the InvokeHttp Processor by now is that it has to receive the full payload before it sends the flowfile down stream.----Reference:I asked the same questi
Hi ,I have been trying to bring up stand alone embedded hbase and solr instance of Apache atlas. I followed the steps given in url : Apache Atlas — Installation Guide | by Manjit Singh | Medium . Once I start atlas with command python <atlas home dir>/bin/atlas_start.py, I see following output on my screen,Configured for local HBase.Starting local HBase...Local HBase started!Configured for local Solr.Starting local Solr...Local Solr started!Creating Solr collections for Atlas using config: /apps/apache-atlas/atlas/distro/target/apache-atlas-3.0.0-SNAPSHOT/conf/solrStarting Atlas server on host: localhostStarting Atlas server on port: 21000.................................................................................................Apache Atlas Server started!!!But when I try to access atlas UI from browser this what I get ,I see few errors in .err and .out log files , please find the errors below,error from .err file ,ERROR StatusLogger Reconfiguration fai
Hi, I would like to execute redis commands in Nifi such as KEYS WITH PATTERN, ZADD, ZGET and so on. Does anyone has a processor or script that is able to do this? Thanks in advance. I already have the redis connection pool service working if that helps.
Hello, I m sending a http requestto an API and facing some difficulties to configure the multipart specificities.The 1st part should be binary (gzip) and named (data) and the second part should be json file and named (parameters). this works corretly with post manbut I m not able to do the same thing with Nifi 1.18this is my workflow if someone faced this situation, plz share your feedbacks
Hello everyone,I need help for a curl call with the Execute Stream Command processor. I can't use the invoke http processor because I need to bypass the SSL certificate check. the following request is made. Command Arguments--location;--insecure;--request;POST;--header;'Content-Type: application/json';--data-raw;'{\"username\": \"xxx\",\"password\": \"xxx\"}';https://99.9.99.999:8091/authIf i run the processor, i get the following outputAttribute Valuesexecution.commandcurl execution.command.args--location;--insecure;--request;POST;--header;'Content-Type: application/json';--data-raw;'{\"username\": \"xxx\",\"password\": \"xxx\"}';https://99.9.99.999:8091/auth execution.error% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 101 100 59 100 42 253 180 --:--:-- --:--:-- --:--:-- 433 FlowFile ContentBad Auth Request: Expecting value: line 1 column 1 (char 0) Does anyo
This is the content of my input json flowfile:{"objectIDs":["20607","23679","24365","31444","34130","57462"]} My requirement is to divide it in such a way that each output flowfile has only 5 elements in it.so if an objectIDs array has 17 element then I want 4 flowfile with the same json format with the first 3 having 5 elements and last one with the remaining 2.for my example content provided above, I would want two flow filesFirst One:{"objectIDs":["20607","23679","24365","31444","34130","57462"]}Second one :{"objectIDs":["57462"]}How do I do this in Nifi ?
Hi ,In my profile, I could see company as "London Stock Exchange Group PLC" and it needs to be change to "Refinitiv US LLC". Thanks & Regards,Vijendar
my cdh version is 6.3.2my hbase version is 2.1.0-cdh6.3.2How can I modify the hbase. online. schema. update. enable parameter of hbase on CDH
Hi all,We have a Nifi community version and we noted that the service is using 46GB of ram on a virtual server that has 47GB.We used these settings to limit the amount of ram to useJava. Ag. 2=-Xms21gJava. Ag. 3=-Xmx42gBut the issue remains.Can you suggest how to address this issue?Regards,Fortunato
I am fetching file(s) from an HDFS path and transferring them to an SFTP server using Nifi. The HDFS file list is created by a Sqoop job, and the HDFS directory may contain one file or more than one file.Here is the list of processors I am using right now:RouteOnAttribute --> GetHDFSFileInfo --> RouteOnAttribute --> UpdateAttribute --> FetchHDFS --> PutSFTP --> UpdateAttributeMy data flow starts from a single FlowFile produced by a Sqoop job, which then becomes many FlowFiles after executing the GetHDFSFileInfo Processor (based on the number of HDFS files). However, I require only a single FlowFile post PutSFTP for downstream processing of job completion.Could you please suggest some solutions to execute the processors after PutSFTP only once? Do we need to create any separate processor group from GetHDFSFileInfo to PutSFTP?My Dataflow looks like below
Stuck in 'upgrade control plane' step while upgrading ECS to 1.5.3 from 1.5.2.Casuses: cdp-release-post-upgrade-hook-job1 failed.container logs are =========================================****************************************************https://console-cdp.apps.cdppvc1.hadoop.com/etc/cdp/cdp_keys.jsonWhile list environments: Something is wrong with output, Output JSON:____ERROR__WHILE__CALLING__LIST__ENVIRONMENTS__COMMAND____ /opt/app-root/lib64/python3.9/site-packages/urllib3/connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'console-cdp.apps.cdppvc1.hadoop.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warningswarnings.warn(An error occurred: 5 NOT_FOUND: No access key found with name: 1b098f81-ce2c-4342-ba02-f0e607b0d83c (Status Code: 401; Error Code: ; Service: environments; Operation: listEnvironments; Request ID: 80bb6513-3fe8-41b9-bf2f-e0a6
Hi everyone, I would like some clarification. Thank you. During the installation of ECS, we encountered some errors that prevented successful installation. One of the issues was as follows: the Certificate Signing Request (CSR) remained in an "approved" state instead of being "certificated," causing it to remain stuck in a loop. # /var/lib/rancher/rke2/bin/kubectl --kubeconfig /etc/rancher/rke2/rke2.yaml get csrNAME AGE SIGNERNAME REQUESTOR REQUESTEDDURATION CONDITIONecs-tolerations-webhook-csr 55m kubernetes.io/kubelet-serving system:admin <none> Approved How should we address this? Should we consider a reinstallation? Or is there an underlying cause behind this issue? Thank you. Related issue: Failure to Install Embedded Container Service (ECS), encountering "Failed to reconcile with temporary etcd" after manual uninstallation
Dear all, I want to ask the difference between `insert entire record` and `insert record fields` for the record result contents.When i use `insert record fields`, i got error:but returned ID is what I want: When i use `insert entire record`, i did not get any errors, but in stead i have this output How can I get the correct output that I want without any errors?
Hey everyone, I was surfing the web since this morning looking for a way/guide/tutorial on how to secure Nifi so I can connect via https and not http but couldn't find anything that was compatible with the 2.0.0-M2 version.I am new to Nifi and i just want to secure my access to it.most of the guides i've stumbled upon use the nifi-toolkit with the command ./bin/tls-toolkit.sh standalone -C "CN=my_username, OU=NiFi" to generate and sign the client certificate for the access, alongside some tweaks in the nifi.properties file.but in the toolkit version of nifi-2.0.0-M2, there is no file called tls-toolkit.sh so im kinda lost here as there is only :and according to the documentations with these scripts i didnt know how to secure nifi with the standalone method.could someone please help provide some insights on how to secure nifi with https? thanks
Hello,I have a Controller Service for DistributedMapCacheServer, when i tried to disable it so i can change it's properties, it shows an error of a missing referencing component. Why does my controller service still detects a component that is already deleted and how do i solve this so i can change my controller service properties?Thanks,Regards,Adhitya
Good morning Community,i'm suffering of DNS resolution getting the following fatalistic view every time I access to CM:I'm reading a lot but not getting any robust conclussion of what is the test that concludes in "DNS resolution error". it checks "host's hostname and canonical name" but, what does it means? is it the hostname? the name in the /etc/hosts? In my case, having[root@master1 ~]# hostnamemaster1[root@master1 ~]# python -c "import socket; print socket.getfqdn(); print socket.gethostbyname(socket.getfqdn())"master1.domain.net192.168.0.90does it means the discrepancy between hostname and socket.getfqdn()?I can see how many people is getting this error but not a consistent response, could anyone give the solution here? for trying to understand this common issue?Many thanks in advance.
Hi,I have set up Nifi(CFM 2.1.6.0-323) on our existing clouder private cloud base cluster.I have set up Nifi with LDAP and Ranger.Unfortunately, during the initial installation an error that the Nifi Group is missing occurs.As soon as I create the Nifi group manually in Ranger, the installation works without errors.Have any of you ever had the same error? <authorizers><userGroupProvider><identifier>cm-user-group-provider</identifier><class>org.apache.nifi.authorization.CMUserGroupProvider</class><property name="Knox Nodes Properties Location">/var/run/cloudera-scm-agent/process/33235-nifi-NIFI_NODE/knox-conf/knox-gateway.properties</property><property name="NiFi Registry Nodes Properties Location">/var/run/cloudera-scm-agent/process/33235-nifi-NIFI_NODE/nifiregistry-conf/peer.properties</property><property name="NiFi Group">nifi</property><property name="Infer Unqualified Hostnames">false</prope
I'm running a HBase-Hadoop cluster with HBase 2.0.1 and Hadoop version 2.7.7. I need to remove a table which has regions in transition (3001 other regions) and I'd like to follow solution described in https://community.cloudera.com/t5/Support-Questions/HBase-Regions-In-Transition/m-p/310513. Unfortunately I cannot run `hbase hbck -j /tmp/target/hbase-hbck2-1.3.0-SNAPSHOT.jar` since I get following error:```Unrecognized option:-j-----------------------------------------------------------------------NOTE: As of HBase version 2.0, the hbck tool is significantly changed.In general, all Read-Only options are supported and can be be usedsafely. Most -fix/ -repair options are NOT supported. Please see usagebelow for details on which options are not supported.-----------------------------------------------------------------------```I built hbck2 following instructions in https://community.cloudera.com/t5/Community-Articles/HBase-HBCK2-tool-for-HDP-3-x/ta-p/244386.What could I do in order to ru
I want to convert json data with both Object and Array into Object at once.I used jolt, but I didn't reach the desired result.The json data is as follows.Input Data:{ "response": { "header": { "resultCode": "00", "resultMsg": "NORMAL_SERVICE" }, "body": { "dataType": "XML", "items": { "item": { "icaoCode": null, "airportName": null, "metarMsg": { "METAR": { "automatedStation": false, "id": "metar-RKSS-20240404000000Z", "permissibleUsage": "OPERATIONAL", "status": "NORMAL", "schemaLocation": "link data link data link data link data link data", "extension": { "msgText": "METAR RKSS 040000Z 09007KT 030V120 9999 SCT035 BKN150 15/05&#13;\n Q1015 NOSIG=" }, "observation": { "OM_Observation": { "id": "obs-RKSS-20240404000000Z", "type": {
I want to use the Atlas API to add/edit user-defined properties to a particular entity. I've previously had success using the API to edit properties that are already defined, such as an entity description:```curl --location --request PUT 'https://[host]/api/atlas/v2/entity/guid/[guid]?name=description' \--header 'Content-Type: application/json' \--header 'Authorization: Basic' \--data '"a test table"'```However, it's not clear how to use the API to create and edit user-defined properties. When I try changing the url query to a user-defined property name, it complains that that property is not defined for the entity type.For reference, in the UI, this is done fairly easily.
Hi for all!Does anybody know why terminated processor thread info (up right corner) in red does not disappear after it is terminated, the processor works fine but this red info is not disappearing for 2 weeks. How it is critical and how can I fix this as this red appearance is causing issue and everyone is questioning?Thanks!Screenshot in an attached.
How to configure user authentication using LDAP with DAS service, I refer to https://docs.cloudera.com/cdp-private-cloud-base/7.1.7/using-das/topics/das-user-authentication-ldap.html, but it doesn't work. Could you share some examples? I want to confirm which configs are necessary.And How to debug this? Data Analytics Studio Webapp Server log doesn't have any useful info.
How can I establish connection with MSSQL using DBCPconnectionpool if I have windows authentication. I tried adding integratedSecurity = true in the connection URL but it didn't work.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.