Find answers, ask questions, and share your expertise
Recently active
Hello Team, We are on Apache nifi 1.16.0 and openjdk 11.0.20, using parameter contexts to store sensitive parameters for the components of the flow. We have 3 issues when using parameter contexts 1. Issue when updating parameter contexts, it fails to update parameter context and gives below error after I click on Apply. However, when I click on OK and refer back to parameters they are updated sometimes or depends on the stage it fails parameters not updated. I thought its worth mentioning that updating parameter contexts fails at different stages i.e disabling controller services/Re-enabling effected controller services...2. Inheritance for parameter contexts misses after Nifi restart. Some process groups couldn't read parameters after restart. When checked inheritance for the parameter context, observed few parameters contexts are not inherited. So, we had to manually map the available parameter contexts to be inherited every time after restart. 3. Sometimes
Hello , I am facing issues while executing some queries , I am getting below error for time being and the issue is being resolved autoamtically . ERROR : File 'xxx/yyy/zzz/part-00000-c25df0cd-b7fa-4432-b416-16411dc390d4.c000.snappy.parquet' has an incompatible Parquet schema for column 'proc_mws.mws_xml.zeits'. Column type: TIMESTAMP, Parquet schema: optional byte_array charge [i:12 d:1 r:0] I checked the files but there is no schema mismatch . Can you please suggest me how i can fix the issue.
Good afternoon,I'm about to deploy CDP 7.1.8 and CP 7.7.1 but seems the licensing is going to take some time, my question is:is the Trial version same as licensed one? can I install Trial version and then update the cluster with the license?Question key: I'm about to build an HA environment, that means to deploy external Postgresql database, can I install Trial but to avoid using the embedded one?Many thanks in advance.
hello cloudera community, I would like to know if the cdh 5.16.2 express version does not have a warning about "Memory Overcommit Validation Threshold"? I did some example tests, configuring more memory than the host has in the services, but we did not receive the alert about "memory overcommitted"
I have a usecase wherein in case of an error I need to make a copy of input file and send it to some FTP location so that it can be assessed.What is idiomatic way of achieving this?
Hello All,I am using Nifi 2.0I want to update existing Parameter Context using Nifi API. For that , following API is used https://localhost:8443/nifi-api/parameter-contexts/2ddc0cea-018e-1000-3852-3611d730f705/update-requestsWhere "2ddc0cea-018e-1000-3852-3611d730f705" is the Id of parameter context. Issue : I tried to update the ParameterContext using https://localhost:8443/nifi-api/parameter-contexts/2ddc0cea-018e-1000-3852-3611d730f705/update-requestsbut its throwing 403 error .I updated the Request with token (Bearer) but still getting the same error. Any Pointers..??Thanks, Riyaz
Can I know the working table property for splitting the records as shown below.Input field - 123,"456","INDIA","INDIA",789,"DELHI INDIA, PIN. North INDIA","101","NEW Delhi ","LOCATION"Expected hive output("|" indicates split) - 123 | "456" | "INDIA" | "INDIA" | 789 | "DELHI INDIA, PIN. North INDIA" | "101" | "NEW Delhi " | "LOCATION"
Rename of the HADOOP/HUE table nameHi everyone,I need to rename the table name in HUE. i used following command.ALTER TABLE db.table1 RENAME TO db.table2;Please let me know the correct way to rename the table without any issue.Thank you.
Hi all,Nifi is not starting up and below given is the log2024-02-22 23:51:14,673 ERROR [pool-2-thread-2] org.apache.nifi.BootstrapListener Failed to process request from Bootstrap due to java.io.IOException: Received invalid Secret Key for request type GETjava.io.IOException: Received invalid Secret Key for request type GETat org.apache.nifi.BootstrapListener.readRequest(BootstrapListener.java:357)at org.apache.nifi.BootstrapListener$Listener$1.run(BootstrapListener.java:184)at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)at java.base/java.lang.Thread.run(Thread.java:1583)
Apache NiFi 1.25.0I'm trying to connect SQL Server 2008 R2 using ConvertJSONToSQL processor but got this error :Using this driver :jar : mssql-jdbc-12.6.0.jre11.jarclass : com.microsoft.sqlserver.jdbc.SQLServerDriverI have no problem connect SQL Server 2008 R2 using SSMS. Am I missing some configuration? I did using default https configuration on nifi.properties provided by Apache NiFi when installed.
Hello Team, I have an issue with setting the Knox authentication with PAM. I have the default login in /etc/pam.d/ $ cat /etc/pam.d/login#%PAM-1.0auth [user_unknown=ignore success=ok ignore=ignore default=bad] pam_securetty.soauth substack system-authauth include postloginaccount required pam_nologin.soaccount include system-authpassword include system-auth# pam_selinux.so close should be the first session rulesession required pam_selinux.so closesession required pam_loginuid.sosession optional pam_console.so# pam_selinux.so open should only be followed by sessions to be executed in the user contextsession required pam_selinux.so opensession required pam_namespace.sosession optional pam_keyinit.so force revokesession include system-authsession include postlogin-session optional pam_ck_connector.so Knox-sso looks as following (the default one)
Good evening everyone, I have a problem on ranger, the users have access to the databases and everything works, but on the ranger web ui if I try to search for users belonging to the groups the following screen is shown. Even if checking in Unix the group contains several users:I saw that there is a KB for the same problem after upgrade but I already upgraded to 7.1.7sp1. Can anyone help me? Thank you
I have a parquet table named 'cats' holding 2 columns (day STRING, number INT). Statistics are generated both for the table and the 2 columns (e.g. max, min, distinct can be seen in DESCRIBE FORMATTED default.cats number).Still, when running an explain command for a select max, it looks like the statistics aren't being used. Why is this? How can Hive be configured to use the stats?All the following settings are true:set hive.cbo.enable;set hive.stats.autogather;set hive.compute.query.using.stats;set hive.stats.fetch.column.stats;set hive.stats.fetch.partition.stats;explain select max(number) from default.cats;
Hi All, I would like to replace first element of an array value i.e would like to replace with first net val with nifi attribute input{"iH": [{"DN": "711449","iLineList": [{"DNnumber": "711449","DNLineNumber": 2},{"DNNumber": "711449","DNLineNumber": 3}],"netval": "22.09"},{"DN": "711450","iLineList": [{"DNnumber": "711450","DNLineNumber": 2},{"DNNumber": "711450","DNLineNumber": 3}],"netval": "11.09"}]}defined SPEC like :[{"operation": "shift","spec": {"*": {"0": {"netVal": "iH[&1].netVal[0]","*": "iH[&1].&"},"*": "&1"}}},{"operation": "modify-overwrite-beta","spec": {"*": {// "invoiceHeader": {"0": {"netVal": "${netVal}"}// }}}}]Expected output:{"iH" : [ {"DN" : "711449","iLineList" : [ {"DNnumber" : "711449","DNLineNumber" : 2}, {"DNNumber" : "711449","DNLineNumber" : 3} ],"netval" : "${netval}"}, {"DN" : "711450","iLineList" : [ {"DNnumber" : "711450","DNLineNumber" : 2}, {"DNNumber" : "711450","DNLineNumber" : 3} ],"netval" : "11.09"} ]}
Hi everybody,Testing CDP 7.1.9, looks like we hit a bug in Hive . The "UNBOUNDED FOLLOWING" actually behaves as "CURENT ROW". But only when the other side of the window is "UNBOUNDED PRECEEDING". Did someone hit this one ?If we change the PRECEEDING, it's okThanks in advance
>>[21/Feb/2024 16:06:55 +0800] 2712551 MainThread agent ERROR Heartbeating to master:7182 failedI am getting this error, so I cant continue installation.I am using RHEL 8 btw.
Hi Team, We have a usescase wherein we want to import the templates directly into nifi canvas using the rest apis provided by nifi we are hitting with the below error. If anyone faced this issue previously please assisst.we are able to upload, download but import is not working To get the tokenbearer=$(curl 'https://nifi-host:nifi-port/nifi-api/access/token' --data 'username=username&password=password' --compressed --insecure)To import the template curl -i -X -k POST -H "Content-Type: application/xml" -H "Authorization: Bearer $bearer" -F "template=@/root/tmp/template.xml" https://nifi-host:nifi-port/nifi-api/process-groups/processor-group-id/templates/import Nifi version - 1.8.0.3.3.1.0-10error - HTTP 400 Bad RequestThanks
Our team is working on a client solution involving Cloudera, and we need to develop a Proof of Concept (POC). Is there a way to access Cloudera for free to set up a development environment? Specifically, we need HDFS and Impala integration; later, we will connect Impala to Tableau for visualization. Any guidance on accessing these services without cost would be greatly appreciated.
Hi all,I tried to connect to Impala in Windows Server 2012 through ODBC v2.7.0.1002 and get error FAILED![Cloudera][DriverSupport] (1170) Unexpected response received from server. Please ensure the server host and port specified for the connection are correct.This is log error from odbcERROR 4196 Simba::ThriftExtension::TETSaslClientTransport::SaslLoggingCallback: ::LogUsername: GetUsernameEx(NameUserPrincipal) failed: 1332But I tried in my local laptop with same settings and ODBC version it can connect.I check from windows server can telnet to Impala IP and port.Is there any certificates that need to install in windows server? when I check in certificates console my laptop got much certificate than serverMy laptopWindows server that can't connect to ImpalaPlease suggest.
Hello,I am a beginner starting to learn Kafka and Cloudera. I am running a simple java code for producer,and am using Cloudera SMM through Docker Desktop. On running my java code,I keep getting this error-"Disconnecting from node 1001 due to socket connection setup timeout". There are no issues in my code or pom. I am using Java Maven in VSCode. Please help me to fix this issue
It was observed that our application generates an error message that includes sensitive information about its environment, files, or associated data such as internal system path.is there a way to put a custome error page in nifiBanner Disclosureit was observed that the application is disclosing information about internal components details through response.
Hi. I want to change the LDAP user as currently we are using a Domain Admin account. We want to use the service account for LDAP configuration. I have found below properties in hdfs configuration to change.hadoop.security.group.mapping.ldap.bind.userhadoop.security.group.mapping.ldap.bind.passwordhadoop.security.group.mapping.ldap.basehadoop.security.group.mapping.ldap.search.attr.group.nameCould you please guide me how can I change these and is there any document for this?I am using cloudera 5.10 version.
I am trying build a security work around Cloudera platform for log4j. I know for log4j cloudera has different jars built. But question is are these present only in /opt/cloudera/cm and /opt/cloudera/parcels//CDH-7.1.7-1.cdh7.1.7.p1000.24102687/, or it can be anywhere under /opt/clouderaIs /opt/cloudera/ default directory installation path for any cloudera product?1.2.17-cloudera6 jar only cdh7 or they are applicable to cdh7 and below
How we can use AttributesToJSON process to reformat the n1,n2,n3 parameters to json string as below ?{ "n1": 20, "n2": { "n3": "1400000474" }} we try to do that but the output of json string coming with \" , we want to pass the output of AttributesToJSON process to postHttp process{"n1" : "20""n2" : "{\"n3\":\"8001001922\"}",}
when try to create topic after enable TLS kafka-topics --create --topic demo --bootstrap-server 192.168.1.235:9093 --partitions 3 --replication-factor 3 this command give me this error Error while executing topic command : org.apache.kafka.common.errors.TimeoutException: Call(callName=listTopics, deadlineMs=1709199819559) timed out at 9223372036854775807 after 1 attempt(s)24/02/29 11:42:40 INFO internals.AdminMetadataManager: [AdminClient clientId=adminclient-1] Metadata update failedorg.apache.kafka.common.errors.TimeoutException: Call(callName=fetchMetadata, deadlineMs=1709199789530) timed out at 9223372036854775807 after 1 attempt(s)Caused by: org.apache.kafka.common.errors.TimeoutException: Timed out waiting to send the call.24/02/29 11:42:40 ERROR admin.TopicCommand$: java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.TimeoutException: Call(callName=listTopics, deadlineMs=1709199819559) timed out at 9223372036854775807 after 1 attempt(s)at
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.