Find answers, ask questions, and share your expertise
Recently active
I just sow a video with a rather weird claim. It stated that if nifi fell, the offset of the kafkarecordreader will be lost. This however, seems to me a bit weird, since the offset should be kept by kafka to the specific consumer group ID, AFAIK. Am I m
I have a WF which runs daily on Real and Beta.I found that there is a problem running my WF in beta today.The WF in real takes around 90-120 minutes.But in beta, the WF takes about 8 hours.I don’t understand the 8 hours run time in beta because the real data is much larger than the beta data.Can you please tell me how to reduce WF execution time in beta?
I've encountered this error log at cloudera HDFS sink connector. (I erased only hostname) org.apache.kafka.connect.errors.ConnectException: org.apache.kafka.connect.errors.ConnectException: java.io.IOException: DestHost:destPort Failed on local exception: java.io.IOException: Server asks us to fall back to SIMPLE auth, but this client is configured to only allow secure connections. As this log says, the destination HDFS uses SIMPLE authentication. (hadoop.security.authentication=simple)Is there any way to connect cloudera HDFS sink connector to HDFS with simple authentication?
I've already got Atlas working and different hooks configured in other services in my Kerberized CDP Private Cloud Base 7.1.6. I still don't have as many entities as I would expect to see. I tried to sync the Hive Metastore but can't pass an authentication error and cannot find which log to look to get more information.I've the superuser ticket generated with kinit and when I run the import-hive.sh script in the server where the Hive Metastore is installed, the following message is printed:[root@<metastore-server> ~]# /opt/cloudera/parcels/CDH-7.1.6-1.cdh7.1.6.p0.10506313/lib/atlas/hook-bin/import-hive.sh -d inventariosUsing Hive configuration directory [/etc/hive/conf]/etc/hive/conf:/opt/cloudera/parcels/CDH-7.1.6-1.cdh7.1.6.p0.10506313/lib/hadoop/libexec/../../hadoop/lib/*:/opt/cloudera/parcels/CDH-7.1.6-1.cdh7.1.6.p0.10506313/lib/hadoop/libexec/../../hadoop/.//*:/opt/cloudera/parcels/CDH-7.1.6-1.cdh7.1.6.p0.10506313/lib/hadoop/libexec/../../hadoop-hdfs/./:/opt/cloudera/parcels
Hi Is there a way to get the number of the files in the input then assign the count value to an attribute and assign a number value to each file I have files to merge using MergeContent so I should assign fragment.index for each file and fragment.count as total count of files to merge.
HiI want to merge 6 CSV files into 1I useListHDFS >> FechHDFS >> UpdateAttribute >> MergeContent >> QueryRecord >> ... ListHDFS >> FechHDFS >> UpdateAttribute is repeated as the number of files to merge ( 6 times)because I shoud to give for each file the fragment.index parameter and an allias ( used later for the join query in QueryRecord ) The UpdateAttribute for one of the files: Is there a way to avoid multiple processors to get the files ListHDFS >> FechHDFS >> UpdateAttribute How to reduce is into one ListHDFS >> FechHDFS >> UpdateAttribute and give a different fragment.index for each different file which shloud be between 0 and 6 (max number of files) ? I tried NextInt() to attribute a new fragment.index value but it is incremental, not suitable for multiple executions. Thanks in advance.
Hi, can someone help me to find solution for execute plsql oracle procedure after I finish putin record in my table in database. I have flow like thisand when all job is done I have to execute procedure with max and min ID from this flow... Thanks in advance
Hello all, I have installed Apache Knox on a CDP 7.1.6 cluster and switched Shiro from PAM to LDAP (as described here https://is.gd/FmexUD). The changes are also done in the providers. PAM is disabled via the authentication.param.remove switch. Nevertheless PAM (KnoxPamRealm) is used for authentication instead of LDAP (KnoxLdapRealm). Does anyone have useful hints where to look for the cause? Thanks a lot! Regards,Daniel
Hi all, My company is now moving work to CDSW under Citrix Gateway.As my local computer is not connected to the cloud, there are many troubles like file transfer, copy and paste texts which make me a suffering life. I would like to ask for help for sending email with attachment in CDSW under Citrix Gateway.There is no outlook in my Citrix Gateway. I am not sure can it get done. Does anyone has the python script that can help?Many thanks in advance.
Hi All, Thanks in Adv... Wanted top some POC, for that i want install CDH or HDP hadoop cluster on AWS. Now after merging new product is : CDP Can i still install HDP 3.1 with ambari as before without any license issue. if yes kindly help the link to downloads source. If not can i install CDP without license or trail versions. if kindly provide links to download and installation document as i never installed CDP. Thanks,Suryakant
Hi All, Before I have worked in CDH 5.X,Could you please let me know, is there any CDP sanbox/quickstart VM like as Hortenworks sand-box, CDH quick start VMPlease provide the link do download and configure , if Cloudera is providing CDP sanbox/quickstart VM
Hello everyone, i have a problem i set from Ambari those values:yarn.nodemanager.resource.memory-mb = 7820yarn.scheduler.minimum-allocation-mb = 1024yarn.scheduler.maximum-allocation-mb = 7820I restart Yarn but the same error keeps coming, why i can't have a bigger AM memory than 3072? Where this 3072 MB comes from?? Should i edit some other settings, cause i cant found any?Thanks
We tried with root user and with test user also, but still getting the above error. We also did below config change for root usersudo vi /etc/ssh/sshd_configSearch and change the below lines as below,PermitRootLogin yessudo systemctl restart sshd For test user, we did below config changesudo vi /etc/sudoersadded below lineec2-user ALL=(ALL) ALLHowever, with doing the the above changes we are not able to login with both root and test user. Can you please help us on this
Hi Guys, I'm currently having an issue where a schema that I'm using is erroring out in a RecordLookup processor ( with a Rest Service ). The message I get is the one in the title of this post, "Can't redefine org.apache.nifi.dataType". Below you can find the schema that I'm using. { "type": "record", "name": "FullTicketData", "fields": [ { "name" : "terminal", "type": { "type": "record", "name" : "terminal_array", "fields": [ { "name": "success", "type": "string" }, { "name": "data", "type": { "type": "array", "items": { "name": "data_array", "type": "record", "fields": [ { "name": "ID", "type": "int" } ] } } }, { "name": "
Hi, I have the following Json. I would like to create a Jolt Spec to remove all nulls from all levels. How can I do that? Any help would be appreciated. Thanks {"ID": "c22b657e-227b-4c65-e6f8-08d88a3e1118","Name": "SomeName","TaggedItemName": "SomeValue","ITRName": "SomeValue","TestReference": null,"JobCardName": null,"Comments": "test","PrimaryHandoverName": null,"SecondaryHandoverNumber": null,"CertificationGroupingName": null,"DocumentCode": "SomeValue","AssignedToName": "SomeName","DocumentReference": null,"TagITRCompletionStatusName": "Rejected","ScheduleRevision": null,"Completed": {"SignOff_AuthP": "John","SignOff_Date": null},"Accepted": {"SignOff_AuthP": "Smith","SignOff_Date": null},"Approved": {"SignOff_AuthP": "Ali","SignOff_Date": null},"ScheduleGroup": null,"DownloadUri": "SomeUrl","UpdatedDate": "2022-01-18T11:36:33.9057626Z","CreatedDate": "2020-11-30T10:57:20.8534287Z"}
Trying to determine if HDF/HDP is a valid choice going forward.Using this document (https://www.cloudera.com/downloads/paywall-expansion.html), it seems like these legacy tools require to an active subscription to download the binaries (as well as get support like bug-fixes and such). My question is if I set up a HDF/HDP cluster while I have an active subscription, then subscription lapses, what happens? Do I need to shutdown the cluster? Can I spin up local hosts and add them to a pre-existing cluster? What are the limitations? What about older clusters before this paywall was in place?EDIT: Adding this link here: https://www.cloudera.com/products/pricing/pricing-update.html"Subscription for binary accessA key part of adopting the Red Hat model was that access to enterprise software binaries requires an active subscription. Cloudera requires a subscription to any compute and storage capacity assigned to run Cloudera software. All Cloudera software version releases, maintenan
Hi, I have installed Ranger in my CDP cluster with RangerAdmin, Tagsync and Usersync instances. I have a problem when trying to access the admin web UI (6080) with the credentials admin:admin or ranger:ranger.I get "Unable to connect to DB" on the interface and WARN com.mchange.v2.resourcepool.BasicResourcePool: Having failed to acquire a resource, com.mchange.v2.resourcepool.BasicResourcePool@2bf8ec30 is interrupting all Threads waiting on a resource to check out. Will try again in response to new client requests.WARN com.mchange.v2.resourcepool.BasicResourcePool: com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@781133d5 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception:org.postgresql.util.PSQLException: FATAL: password authentication failed for user "ranger" in the ran
Hi, i am having the error message in the title, but I am stuck as I have already checked the followings: * ranger permissions: cm_s3 / all - bucket, path -- the user in the the list for read / write / all permissions * IDBroker role: user has a cdp-datalake-admin-role, which has a cdp-datalake-admin-policy-s3access any other idea and what to check? thanks
For security reasons I need to encrypt a column before putting the data in the repository. How can I do this using python or some processor. I tried to use the cryptography library but without success. If you can guide me which is the best way I would be very grateful.
I'm using ExecuteSQL,SplitAvro,ConvertAvroToJSON,EvaluateJsonPath,ReplaceText,ExecuteSQL. I am trying to replace the content in the flowfile using replaceText processor.Now, i can replace like this. -> INSERT INTO values (${id},'${name}') . ReplaceText process like this : INSERT into x values(1,'xx')INSERT into x values(2,'yy')INSERT into x values(3,'zz')I'm sending INSERT query for each line. But i want to send executesql process like thisINSERT INTO x values (1,'xx'),(2,'yy'),(3,'zz')
Hi,I am provisionning a CDP 7.1.5 cluster with CM 7.2.4 and encountered a connexion problem between the agents and cloudera manager server after tls setup through API.There is nothing in the server log and there is the following error in the agent log.Could you help me understand where the problem stands ? Activating further logging or doing some tests upon the provided certificates ?Traceback (most recent call last):File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/cmf/agent.py", line 1430, in _send_heartbeatself.cfg.max_cert_depth)File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/cmf/https.py", line 185, in __init__self.conn.connect()File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/M2Crypto/httpslib.py", line 69, in connectsock.connect((self.host, self.port))File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/M2Crypto/SSL/Connection.py", line 309, in connectret = self.connect_ssl()File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/M2Crypto/SSL/C
I have many zip files each containing a csv file. The header of the csv file contain fields and some field names have space between words e.g "field one" instead of "field_one" which is the one in the database.Please, what is the optima method to change the csv field names to match the ones in the database.NOTE: I am using MSSQL as the DB. And my NIFI implementation is1) GetFile : from a repository that contain zip files of very large size2)UnpackContent: to extract the csv from the zipped file3) PutDabaseRecord: to persist the csv data into db because of its large size. Thank you for your kind help.
Hello Experts, I want to run a simple Hive Insert SQL statement in Nifi periodically for example:insert overwrite Table1 select * from Table2; All SQL values are fixed hardcoded and don't need to be changed dynamically in the flow. As a newbie I was thinking I could write the flow as: ReplaceText->success->PutHiveQL Search Value: (?s)(^.*$)Replacement Value: insert overwrite Table1 select * from Table2; But I have an error in ReplaceText which probably needs an incoming flowfile which I don't have since the SQL is fixed hardcoded:"Upstream Connections is invalid because Processor requires an upstream connection but currently has none." The other option I could try but not sure it will work is:GenerateFlowFile -> success -> PutHiveQLGenerateFlowFile Custom Text: insert overwrite Table1 select * from Table2;
From Cloudera Manager it appears like Atlas Service is in good health, but it doesn't start at all. When I try to access the Web UI, it shows an Http Error 503 Service Unavailable but the application.log doesn't show any error; it just halts. Here is the application.log whe I restart Atlas service from Cloudera Manager:2022-01-31 12:04:28,657 INFO - [shutdown-hook-0:] ~ ==> Shutdown of Atlas (Atlas$1:63)2022-01-31 12:04:28,668 INFO - [shutdown-hook-0:] ~ <== Shutdown of Atlas (Atlas$1:69)2022-01-31 12:09:49,319 INFO - [main:] ~ Loading atlas-application.properties from file:/var/run/cloudera-scm-agent/process/6754-atlas-ATLAS_SERVER/conf/atlas-application.properties (ApplicationProperties:137)2022-01-31 12:09:49,327 INFO - [main:] ~ Using graphdb backend 'janus' (ApplicationProperties:317)2022-01-31 12:09:49,327 INFO - [main:] ~ Using storage backend 'hbase2' (ApplicationProperties:328)2022-01-31 12:09:49,327 INFO - [main:] ~ Using index backend 'solr' (ApplicationProperties
Error: Package: cloudera-manager-agent-7.4.4-15850731.el8.x86_64 (cloudera-manager) Requires: libc.so.6(GLIBC_2.28)(64bit)this is centos 7 which comes with gcc 217 [root@cdp-master yum.repos.d]# cat /etc/centos-releaseCentOS Linux release 7.9.2009 (Core)I'm trying the install direct from cloudera. Thoughts? It shouldnt be this type of issue
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.