Ask questions, get answers, or find community-sourced articles
Recently active
Hi there,Maybe you guys can shed a light on an issue we’ve been having since we went live with one of our flows using alot of processors running on the primary node. We are using a 2 node cluster where we run a couple of getsqs (time driven, 1min) and executesql (cron scheduling, spread out during the day both on primary node. We do this so only one task is ran resulting in just on trigger flow file. Other wise we get 2 sqs events for the same event and 2 executesqls queries.What we have been seeing is that the jvm heap utilization on the primary node is above 70%, this increased gradually the past few days from 25%, so didn’t peak straight to 70%. The secondary node on the other hand is on a stable below 10%. So quite clear that there is a correlation between the processors running only on primary and the heap used.Our questions are:1. When a primary node processor triggers, will the flow file be processed by the following processors in the flow only on the primary node? Or can t
I have running hive locally using this docker compose image. However when trying to acecss admin role by docker exec -it hiveserver2 beeline -u 'jdbc:hive2://hiveserver2:10000/' -n hive and doing set role admin; I am getting this error ERROR : DDLTask failed, DDL Operation: class org.apache.hadoop.hive.ql.ddl.privilege.role.set.SetRoleOperationorg.apache.hadoop.hive.ql.security.authorization.plugin.HiveAccessControlException: kaif doesn't belong to role adminversion: '3.9'services:postgres:image: postgresrestart: unless-stoppedcontainer_name: postgreshostname: postgresenvironment:POSTGRES_DB: 'metastore_db' POSTGRES_USER: 'hive' POSTGRES_PASSWORD: 'password' ports:- '5432:5432' volumes:- hive-db:/var/lib/postgresqlnetworks:- hivemetastore:image: apache/hive:4.0.0depends_on:- postgresrestart: unless-stoppedcontainer_name: metastorehostname: metastoreenvironment:DB_DRIVER: postgresSERVICE_NAME: 'metastore' SERVICE_OPTS: '-Xmx1G -Djavax.jdo.option.ConnectionDriverName=org.postgresql.Driv
I have a json[ { "orderId": "100", "orderItems": [ { "orderItemSeqId": "101", "externalId": "56789" }, { "orderItemSeqId": "102", "externalId": null } ] }, { "orderId": "200", "orderItems": [ { "orderItemSeqId": "201", "externalId": "78990" }, { "orderItemSeqId": "202", "externalId": "83937" } ] }]Using QueryRecord processor in NiFi, I wish to select the orders having any item with null externalId.So, in the output we should have only the first map with "100" orderId as it has one item with null externalId.I tried this SQL with RPATH but doesn't work:SELECT * FROM flowfile WHERE RPATH_STRING(orderItems, '[*][isEmpty(./externalId)]') = 'true'isEmpty function of RecordPath returns true if the string is empty or null else false.
HiWhen I run kudu cluster ksck , return this error: Corruption: master consensus error: there are master consensus conflictsAll Tables in this Cluster Kudu is ok (Tablet Server), but the problem is in Kudu Master.Follow the Master Sumary:UUID | Address | Status----------------------------------+-----------------------------+---------42e0db81612f46a4bb5fee541b1316eb | node02 | HEALTHY7b6a3355b027464c98fe5f77c7548350 | node04 | HEALTHY83e343ec25aa48e2b22f0de244e42a6d | node03 | HEALTHYAll reported replicas are:A = 42e0db81612f46a4bb5fee541b1316ebB = 83e343ec25aa48e2b22f0de244e42a6dC = 7b6a3355b027464c98fe5f77c7548350The consensus matrix is:Config source | Replicas | Current term | Config index | Committed?---------------+--------------+--------------+--------------+------------A | A B C | 218 | -1 | YesB | A B* C | 218 | -1 | YesC | A B* C | 218 | -1 | YesThe problem is in Master Node 03 (B)?
HiAny expected date for a possible SP1 for cdp 7.1.9 ?Is 7.1.9 / 7.11.3 compatible with RHEL 8.10 ?
For now, I can use ImpalaODBC to download data from Hive in SASgrid, but when I tried to upload data in SASgrid to Hive, it raised up a error messageDoes anybody has any idea about it? Thanks in advanced.
I want to query all tables/columns metadata in hive. The way this is done in other databases like mssql, postgresql is to query information_schema views, but i don't see anything like that in hive. Can someone confirm is information_schema doesn't exists in hive. If it doesn't exists what would be a way to query metadata ??Tried querying information_schema, but didn't get anything.
Here is my Input Json,[{"PortfolioSharing": [],"CustomFields": [{"PrimaryId": 2069165,"ColumnName": "TRX_PORTFOLIO_CUSTOMFIELD2","FieldName": "Use Bank Account From Customer?","DataType": "nvarchar","Value": "Yes","HideFromExternalDistributor": 0,"IsRequired": 0,"ViewName": "UseBankAccountFromCustomer?","Type": "dropdown","Id": 103}],"Id": 2069165,"Guid": "0f2aa667-5d6d-4e8a-9ed1-7ef89db03d6d","Name": "N.M. SANGANI"},{"PortfolioSharing": [{"PortfolioId": 2074065,"CustomerId": 2159935,"PersonalId": "1006631","ReasonId": 810,"ReasonProgId": "OWNER","ReasonName": "Company owner","Comment": null,"TypeId": 808,"TypeProgId": "FULL","TypeName": "Full"}],"CustomFields": [{"PrimaryId": 2074065,"ColumnName": "TRX_PORTFOLIO_CUSTOMFIELD2","FieldName": "Use Bank Account From Customer?","DataType": "nvarchar","Value": "Yes","HideFromExternalDistributor": 0,"IsRequired": 0,"ViewName": "UseBankAccountFromCustomer?","Type": "dropdown","Id": 103}],"Id": 2074065,"Guid": "b276ec7e-b770-4dae-a9b7-2390652ec
Hi, I am looking to use invokehttp with StandardOAuth2AccessTokenProvider controller to automatically get Access Token and make the API call with the token. The requirement to get token has an extra field compared to standard OAUTH token :Below is the curl command. It includes extra key called auth_chain. curl --location 'https://xyedfrg.xom/access_token' \--header 'content-type: application/x-www-form-urlencoded' \--data-urlencode 'username=test' \--data-urlencode 'password=test' \--data-urlencode 'client_id=F1234rdcfhkv' \--data-urlencode 'client_secret=test-secret' \--data-urlencode 'grant_type=password' \--data-urlencode 'auth_chain=OAuthLdapService' But this is how the StandardOAuth2AccessTokenProvider looks:If I add auth_chain as property it errors out saying :How can I make this OAUTH call to get token using invoke http.*please note, cannot use the option provided here (https://co
I have downloaded some huge LLM Model files from huggingface to local filesystem.How can i shared them between CML Projects,so that it looks like exist under /home/cdsw/models?
Hello,We are on CDP PB 7.1.9 and goal is to monitor YARN applications and performance along with few HDFS metrics on Grafana via dashboards and ultimately trigger alerts. Metrics has to be collected via Prometheus agent and shared with Grafana.At this point, I have downloaded a Prometheus agent and created a below yml configuration. I understand this will collect all the metrics, which is intentional to start with.lowercaseOutputName: truerules: # All Gauge type Hadoop Metrics - pattern: 'hadoop<name=.*><>(Count|Value)' name: hadoop_${1}_gauge type: GAUGE # All Counter type Hadoop Metrics - pattern: 'hadoop<name=.*><>(Count|Value)' name: hadoop_${1}_counter type: COUNTERPrometheus agent jar and this config file is stored at /var/lib/prometheus_jmx_config/.For now testing this only on resource manager instances to verify if metrics are getting collected.Following few articles and Grafana documentation, I understood that I will need to run Promethe
How can we add Local Users in Hue when HUE is integrated with AD? Attempting to add a user using add/sync LDAP user returns an error stating no user found in LDAP. We have some users who are not on AD we would them to be added to HUE as Local Users. Have searched but could not get any information on thisCM 7.6.1Cloudera Runtime - 7.1.7 Appreciate any input on this. Thanks
Hi,since a few weeks, we have regular warnings on our datanodes :"This role's host has been out of contact with Cloudera Manager for a concerning amount of time."cm-agent is consuming alot of CPU , in particular MonitorDaemon-R (cm-agent PID is 25598):top -H -b -n1 -p 25598top - 14:08:21 up 22 days, 6:17, 1 user, load average: 5,10, 5,07, 4,98Threads: 35 total, 2 running, 33 sleeping, 0 stopped, 0 zombie%Cpu(s): 20,1 us, 21,5 sy, 0,0 ni, 56,5 id, 0,0 wa, 0,0 hi, 1,9 si, 0,0 stKiB Mem : 26370784+total, 7788424 free, 38057140 used, 21786227+buff/cacheKiB Swap: 31457276 total, 31349500 free, 107776 used. 22445827+avail MemPID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND25833 root 20 0 3085980 407988 10016 R 87,5 0,2 124:55.80 MonitorDaemon-R25598 root 20 0 3085980 407988 10016 S 0,0 0,2 28:07.22 cmagent25748 root 20 0 3085980 407988 10016 S 0,0 0,2 2:49.93 cmagent25754 root 20 0 3085980 407988 10016 S 0,0 0,2 0:14.20 Audit-Plugin25755 root 20 0 3085980 407988 10016 S 0,0 0,2 0:1
Hi Team,We are using Hadoop version 2.10.2 version and facing below error while starting server. Due to company security policy no execution permission is enabled on /tmp directory. Is there any better alternate way by which we can resolve this? I am new to Hadoop project and help is much appreciated. Many Thanks in advance.Logs Message: 2024-06-13 09:57:00,871 ERROR org.apache.hadoop.yarn.server.nodemanager.NodeManager: Error starting NodeManagerjava.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no leveldbjni64-1.8 in java.library.path, no leveldbjni-1.8 in java.library.path, no leveldbjni in java.library.path, /tmp/libleveldbjni-64-1-7115603708108814032.8: /tmp/libleveldbjni-64-1-7115603708108814032.8: failed to map segment from shared object]at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:182)at org.fusesource.hawtjni.runtime.Library.load(Library.java:140)at org.fusesource.leveldbjni.JniDBFactory.<clinit>(JniDBFactory.
When the wizard generates credentials, it reports Insufficient access (50) ldap error, like this:/opt/cloudera/cm/bin/gen_credentials_ad.sh failed with exit code 50 and output of <<+ export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/kerberos/bin:/usr/kerberos/sbin:/usr/lib/mit/sbin:/usr/sbin:/usr/lib/mit/bin:/usr/bin+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/kerberos/bin:/usr/kerberos/sbin:/usr/lib/mit/sbin:/usr/sbin:/usr/lib/mit/bin:/usr/bin+ KEYTAB_OUT=/var/run/cloudera-scm-server/cmf3782202571582054951.keytab+ PRINC=HTTP/cradle3302t.priv.cwru.edu@ADS.CASE.EDU+ USER=PruWGPfsVZ+ PASSWD=REDACTED+ DELETE_ON_REGENERATE=true+ SET_ENCRYPTION_TYPES=false+ ENC_TYPES_MASK=4+ USERACCOUNTCONTROL=66048+ ACCOUNTEXPIRES=0+ OBJECTCLASSES='objectClass: topobjectClass: personobjectClass: organizationalPersonobjectClass: user'+ EXTRA_ATTRIBUTES=+ DIST_NAME='CN=PruWGPfsVZ,OU=cradle33,OU=Hadoop,OU=Research Computing,OU=Information Technology Services,OU=Delegate
Hi,I am trying to install Atlas using (solr, Hbase, and Kafka), the issue when trying to start Atlas, I got the below logs and Atlas web UI give the below errorNote:- cluster kerberized and SSL EnabledHTTP ERROR 503 Service UnavailableURI:STATUS:MESSAGE:SERVLET:/503Service Unavailable-2024-06-15 07:07:08,377 INFO - [main:] ~ Cluster at utility01.swntq.corp:2181,master01.swntq.corp:2181,master02.swntq.corp:2181/solr-infra ready (ZkClientClusterStateProvider:178)2024-06-15 07:07:09,265 INFO - [main:] ~ Failed to obtain graph instance, retrying 3 times, error: java.lang.NullPointerException (AtlasGraphProvider:100)2024-06-15 07:08:08,550 WARN - [Thread-23:] ~ TGT renewal thread has been interrupted and will exit. (Login$1:203)2024-06-15 07:08:08,550 INFO - [ReadOnlyZKClient-utility01.swntq.corp:2181,master01.swntq.corp:2181,master02.swntq.corp:2181@0x076b05c0:] ~ Session: 0x2001da1e4992ffd closed (ZooKeeper:1288)2024-06-15 07:08:08,550 INFO - [ReadOnlyZKClient-utility01.swntq.corp:2181,ma
I am getting client can not communicate via ( token, kerberos) exception when I am trying to access yarn resource manager from java application. As part of my requirement in my spark java application I need to check some other applications running or not. For this I am using YarnClient class when I try to access this method getting above mentioned exception. Same working for me in my local system with kerberos authentication. I am using Hadoop library classes only to authenticate. UsergroupInformation class
Hi AllSo glad that i have joined the Community.please can someone help me, i am an employee of a company that don't use cloudera (CDP) and i want to get the following certification : CDP-4001 or CDP-3002, with my own money.how can i access the CDP for practicing , i have heard that i can deploy it on the public cloud plateform (GCP, AWS and AZUR) , but i cannot see anything in the cloudera website about "create your cluster" or something like this.how do i access the CDP, or gets a CDP account ?
Hello.We are running CDP 7.1.7 and we have warning concerning 'Heap Dump Directory Free Space' :This role's Heap Dump Directory is on a filesystem with less than 5.0 GiB of its space free. /tmp (free: 3.7 GiB (94.74%), capacity: 3.9 GiB)Our filesystem is small :Filesystem Size Used Avail Use% Mounted on/dev/mapper/vg_sys-lvtmp 3.9G 8.5M 3.7G 1% /tmpIs it safe to reduce the threshold ?Currently, Warning is set to 5 GiB and Critical is set to 3 GiB .Or is it better / safer to increase /tmp filesystem size ?Because /tmp is also used for storing Event server and Host monitor data and when are also facing free space warning message .Regards
Hi everyone,We have a NiFi cluster with 3 nodes that was functioning fine until we encountered the following error. The cluster uses an embedded ZooKeeper for coordination. The error logs indicate issues with connection loss and leadership. Here are the relevant log entries:2024-06-19 16:25:05,335 WARN [Process Cluster Protocol Request-25] o.a.n.c.p.impl.SocketProtocolListener Failed processing protocol message from nifi01 due to org.apache.nifi.cluster.protocol.ProtocolException: Failed marshalling protocol message in response to message type: HEARTBEAT due to java.net.SocketException: Relais brisé (pipe) (Write failed)org.apache.nifi.cluster.protocol.ProtocolException: Failed marshalling protocol message in response to message type: HEARTBEAT due to java.net.SocketException: Relais brisé (pipe) (Write failed) at org.apache.nifi.cluster.protocol.impl.SocketProtocolListener.dispatchRequest(SocketProtocolListener.java:186)  
Hi,I am trying to integrate Nifi with slack by using putSlack processor.While doing so i have configured webhook url and webhook text. But while running i got PKIX certificate validation.So i have added slack cert in keyStore and added SSL context service property like below in putSlack.This time i didn't get certificate exception. But process failed with below error:Faile to parse JSON.Javax.json.stream.jsonparsingexception: Unexpected char 83.Unable to find any details regarding this issue. Could anyone please help.
I know I can run 'hbase version' in command line to check the HBase Version.Where can I find the version of hbase from Cloudera Manager?
Hi everyone,I'm new to NiFi and I'm trying to ingest data from more than 20 tables in an Oracle database into Cassandra. I have a few questions regarding the process:Can I transfer data from all the tables at once, without having to process each table individually? If so, what is the best approach to achieve this in NiFi?Is there a method to automatically create tables in Cassandra using Avro schemas within the NiFi flow? This is particularly important because in some use cases, we need to overwrite the table instead of appending data. How can we handle this scenario efficiently?
Hi AllWe are receiving data in JSON format (Nested and optional Nodes). I have written a JOLT to transform/flatten this JSON but not able to get desired result.I need help to fix JOLT to get desired output.Input JSON - Node - PartnerFunction and Indicator are optional. { "CustomerMaster": { "Rootnode": { "KUNNR": "0000028790", "NAME1": "NV Solucious", "LAND1": "BE", "SalesArea": [ { "VKORG": "0200", "VTWEG": "00", "SPART": "00" }, { "VKORG": "4932", "VTWEG": "00", "SPART": "00", "AUFSD1": "FT", "PartnerFunction": [ { "PARVW": "ZP", "PARZA": "000", "KUNN2": "0000028790" }, { "PARVW": "ZS", "PARZA": "000", "KUNN2": "90010523" } ] }, { "VKORG": "4932", "VTWEG": "10", "SPART": "00", "Indicato
Hi ,In my profile, I could see company as "London Stock Exchange Group PLC" and it needs to be change to "Refinitiv US LLC". Can you please refer my teammate details (Srikanth Macha) who is in same company and do the needful.Thanks, Lakshmi
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.