Find answers, ask questions, and share your expertise
Recently active
Hi Experts, We are on 7.1.6 CDP version and exposed to CVE-2022-25168. Versions affected: 2.0.0 to 2.10.1, 3.0.0-alpha to 3.2.3, 3.3.0 to 3.3.2 To address this vulnerability, we are planning to upgrade to CDP 7.1.7 as I got this information from one of the posts in the cloudera community. My question is does anyone did this upgrade before from 7.1.6 to 7.1.7 to eliminate this CVE. If yes, then how easy is it do we need to make changes in the code level also or we can do the upgrade from the GUI by just downloading, distributing and activating the new version. Please help with your suggestion and if possible, please share the documentation for this upgrade. Thanks
Hello,I am trying to get an key from GetMongo Processor and then I am trying to replace the value in the format key=valueusing ReplaceText where value here is the result which I am getting and then passing to different POST API which supports `application/x-www-form-urlencoded`From GetMongo Processor I am getting value {match_id: 789456}and In replaceText Processor I am using in Search Value : (?s)(^.*$) and Replacement Value in match_id=${match_id:urlEncode()}But in API data is getting passed as { match_id: '' } though it should pass as { match_id: 789456 } What I am doing wrong in ReplaceText Processor Can you please help me out with this ?
Hello, - I've setup a Sandbox HDP 3.0.1.- Determine Network Adapter of Your VirtualBox Sandbox (Bridged Adapter, IP:192.168.1.37).- I edited the hosts file (on my computer, windows) and assigned the domain sandbox-hdp.hortonworks.com to the IP address of 192.168.1.37, but When I start all services via the Ambari UI, I receive the following error message: safemode: Call From sandbox-hdp.hortonworks.com/172.18.0.2 to sandbox-hdp.hortonworks.com:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused 2019-09-29 18:25:10,968 - Retrying after 10 seconds. Reason: Execution of '/usr/hdp/current/hadoop-hdfs-namenode/bin/hdfs dfsadmin -fs hdfs://sandbox-hdp.hortonworks.com:8020 -safemode get | grep 'Safe mode is OFF'' returned 1. safemode: Call From sandbox-hdp.hortonworks.com/172.18.0.2 to sandbox-hdp.hortonworks.com:8020 failed on connection exception: java.net.ConnectException: Connection
Hi Experts,To address few of the vulnerabilities present in CDP 7.1.6 we were advised to upgrade to CDP 7.1.7 SP2 version and then we came across with Cloudera releasing the new CDP 7.1.9 version. So, we are confused as to which one should we go for.We are still using HDFS for storage and hive, impala, spark, Tez, oozie as other services in the stack along with JDK 8 and RHEL 7.8, we don't intend to compromise our current flow hope this functionality we can use in CDP 7.1.9. Please share what's your suggestion on this. our architect mostly prefer selecting the -1 version of the current version so technically we should be selecting CDP 7.1.8 which is the -1 version of CDP 7.1.9. The same was done during our last upgrade wherein we moved to CDP 7.1.6 where 7.1.7 was already released.
I have a requirement to add custom user for allowing impersonation. I can see that CDH 6.3 documentation has some references to it. However, I could not see how I can add similar entries through Cloudera Manager in CDP 7.x. Can someone help with that information ?Essentially, I would like to add the entries like this. <property> <name>hadoop.proxyuser.super.hosts</name> <value>10.222.0.0/16,10.113.221.221</value></property><property> <name>hadoop.proxyuser.super.users</name> <value>user1,user2</value></property>or something like this.<property> <name>hadoop.proxyuser.alice.hosts</name> <value>host_a,host_b</value></property> Is there a way to achieve the same through Cloudera Manager in CDP 7.x ? I am not sure if I should be editing the core-site.xml on the nodes directly as those were Auto Generated by the Cloudera Manager.
I deployed nifi on a cluster of 10 servers, I have 5 external zukipirs which are successfully used by Kafka on the same 10 servers, after starting the nifi.service process I see the error The Flow Controller is initializing the Data Flow in the web version and it doesn’t go further than this message I in the web version, Data Flow doesn’t go anywhere. and in nifi-app.log 2023-09-27 16:37:11,645 INFO [main] o.a.n.c.p.AbstractNodeProtocolSender Cluster Coordinator is located at sd-sagn-rtyev:9082. Will send Cluster Connection Request to this address2023-09-27 16:37:11,665 WARN [main] o.a.nifi.controller.StandardFlowService Failed to connect to cluster due to: org.apache.nifi.cluster.protocol.ProtocolException: Failed marshalling 'CONNECTION_REQUEST' protocol message due to: java.net.SocketException: Broken pipe (Write failed)help me!
I don't use column security in ranger. but when I apply any operations to a table consisting of 4000 columns, HIVE checks all privileges on the columns for a very long time. On postgres, I see 1 million selects to get information for each grant id
Hello Team, Facing bellow issues with hive while loading data from HDFS.Following are the error: Error 1ERROR : Vertex failed, vertexName=Reducer 2, vertexId=vertex_1672408587164_0154_2_01, diagnostics=[Task failed, taskId=task_1672408587164_0154_2_01_000001, diagnostics=[TaskAttempt 0 failed, info=[Error: Error while running task ( failure ) : attempt_1672408587164_0154_2_01_000001_0:java.lang.RuntimeException: java.lang.RuntimeException: org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error while processing vector batch (tag=0) (vectorizedVertexNum 1)Error 2Caused by: org.apache.hadoop.hive.ql.metadata.HiveFatalException: [Error 20004]: Fatal error occurred when node tried to create too many dynamic partitions. The maximum number of dynamic partitions is controlled by hive.exec.max.dynamic.partitions and hive.exec.max.dynamic.partitions.pernode. Maximum was set to 2000 partitions per node, number of dynamic partitions on this node: 2001 Error 3ERROR : Ve
Hi Team, This is Prsanna. I'm new to CDP and trying to create a CDP Trail base cluster for testing purposes, but while creating it I'm facing an error in the Hive Service. Please suggest a possible solution.Please refer to the screenshot and log file.Log file:jar:/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop-mapreduce/ranger-raz-intg-2.1.0.7.1.7.0-551.jar:/usr/share/java/mysql-connector-java.jar:/opt/cloudera/cm/lib/postgresql-42.2.14.jre7.jar:/usr/share/java/oracle-connector-java.jar+ [[ -n '' ]]+ [[ create_metastore_tables == webhcat ]]+ [[ create_metastore_tables == hiveserver2 ]]+ [[ create_metastore_tables == updatelocation ]]+ [[ create_metastore_tables == create_metastore_tables ]]+ [[ -z /opt/cloudera/cm ]]+ JDBC_JARS_CLASSPATH='/opt/cloudera/cm/lib/*:/usr/share/java/mysql-connector-java.jar:/opt/cloudera/cm/lib/postgresql-42.2.14.jre7.jar:/usr/share/java/oracle-connector-java.jar'+ [[ create_metastore_tables == create_metastore_tables ]]+ '[' 7 -ge 5 ']'+ s
Hi,System: NiFi 1.19, Java 11, Win 64bit, 610 processors, 245 runningI have a problem at my current running flows. Example: the LogMessage-Processor shows, that there are 112 flows in the last 5 minutesBut if I select "view data provenance", there are no flows displayedAs you can see, the "Oldest event available: 08/29/2023", this is one month ago.I checked the hard disk, where NiFi is running: there is 25 GB free memory, so it shouldn't be a full-disk-problemAny idea, what we have mis-configured?
Hi Everyone, Can Anyone help us in fixing the issue:I have a flow where I am using control rate processor to control the data flow, I will submit tasks in druid using those files, for example let's say I have a total of 10 files. I will first ask my control rate processor to send 2 flow files to downstream, now I will submit those files as tasks in druid and fetch their status, if 1 task is running and another one is success I need to ask my control rate processor to send only 1 file, if 2 tasks are running dont submit tasks until they are completed, if 2 are success then send 2 files from control rate an counting the tasks which are running and adding them to an attribute,so is there a way that control rate processor takes the value of count attribute in Maximum rate property. I've checked the Rate Control Criteria property which can be set to Attribute Value but I am confused how to set the rate to attribute value.
output file:{"name" : "name","class" : "a","grade" : "A","address" : "state""url" :{"first url":"url","second url":"url"}}
Hi all,I've been looking for solutions to expose Kafka data in Hive. I found a few things, however HiveKafkaStorageHandler caught my attention :).I was looking for trying it out, but I don't find anywhere in the documentation how does it support a connection to Kafka through SSL (which is a requirement for my setup).Can someone tell me for sure if this storage handler supports a broker listener that uses SSL? Thanks a lot in advance !
I have a nifi flow. I observe that if input file is split into smaller files and fed into the flow one by one, then overall time taken(sum of time taken for individual files) is considerably low compared to when I feed single big file.What can be a possible cause for this performance difference?Note:Flow has many processors that use avro readers/writers.I calculate time using following in a LogMessage processor:${now():toNumber():minus(${lineageStartDate}):format("HH:mm:ss", "GMT")}
Accessing zeppelin with pam credentials are failing with bad credentials
Hi, Currently i am having a setup where i am already having partitioned parquet data in my s3 bucket, which i want to dynamically bind with hive table. I am able to achieve it for single partition, but i need help loading data from all the partitions in the table from existing partitioned parquet data from s3 bucket. Thank you.
Hi, I would like to enquire about the missing access policies features as I run my nifi instance. Step that I did:1) Generate the certificate and key (keystore.jks, truststore.jks, nifi.properties) Command: .\bin\tls-toolkit.sh standalone -n "localhost" 2) Copy the above 3 cert to ".\nifi-1.23.2\conf"3) Generate the user's client certificate to authenticate to NiFiCommand: .\bin\tls-toolkit.sh standalone -C "CN=sys_admin, OU=NIFI"4) Load the client certificate into web browser (EDGE)5) Populate the Initial Admin Identity Open authorizers.xml in ".\nifi-1.23.2\conf"In UserGroupProvider section, replace <property name = "Initial User Identity 1"><property> to <property name = "Initial User Identity 1">CN=sys_admin, OU=NIFI<property>In accessPolicyProvider section, replace <property name = "Initial Admin Identity"><property> to <property name = "Initial Admin Identity">CN=sys_admin, OU=NIFI<property>6) Star
Hi, I just completed setting up CDP Private Base in a POC environment. I was in process of attempting AD (LDAP based) integration so that users get authenticated via Active Directory.I am unsure if there was a mis configuration, however, after restarting Cloudera Manager, I can't login to it via "Admin" account (local). Thought it has got AD integrated, tried multiple accounts from AD, however, none of them are working. Please help to re-enable admin (local) account. Thankssnm1523
CDH version - 6.3.2The package 'cloudera-manager-agent-6.3.0-1281944.el7' is removed from the data-cmhue instance and we are not able to install it (via yum/rpm command).Following packages are already installed -cloudera-manager-server-6.3.0-1281944.el7.x86_64cloudera-manager-daemons-6.3.0-1281944.el7.x86_64Can you assist on this?
As of HDFS CM5.12.1, the standby namenode is busy under high availability,I'm not sure if the busy standby namenode is hot standby, so please help me see how to fix it. The busy state of the standby namenode restores it to the start state.The action buttons of the standby namenode have all turned gray, making it impossible to restart, stop, and start the namenode.
Hi ,I require assistance in configuring my secure cluster to function with LDAP.Which procedure is recommended when doing that on a running cluster?What steps do I need to take first?Do I need to shut down all the nodes? Thanks Edi
Hi,I am trying to implement OIDC authentication with Azure AD in NIFI, I am able to enable it and user is able to login but now I want to use App Roles created in Azure App Registration instead of AD groups, how can I do that.
from hdfs dfs -du -h / we see that spark history take a lot space from HDFS I want delete only some that I specified for example all that are of the year 2019 and 2019, and keep the rest. If I use the commandhdfs dfs -rm -R /spark2-history/* this delete all and I want not delete all. Thanks
Hi ladies and girls,I'm trying to merge error logs generated by ExecuteSQL and send them via email. Currently, I have the following flow:ExecuteSQL - failure - > MergeContent - merged -> PutEmail.If I disable MergeContent, the logs are being sent as they should but ( an inidividual email for each error log). If I enable MergeContent, I receive a single email however it duplicates the first error.ERROR: syntax error at or near ""1qa""Where: PL/pgSQL function "extract".truncate_tables(character varying) line 5 at EXECUTEERROR: syntax error at or near ""1qa""Where: PL/pgSQL function "extract".truncate_tables(character varying) line 5 at EXECUTEERROR: syntax error at or near ""1qa""Where: PL/pgSQL function "extract".truncate_tables(character varying) line 5 at EXECUTEERROR: syntax error at or near ""1qa""Here are the settings that I use:I also added a LogMessage processor and the flow for original is showing the correct content. The problem seems to be with the merged logs. Can someo
Hi,I'm using a lot of flows with NiFi 1.19 (Java 11, Win 64bit)I've got problems with a 3rd-party-processor (out-of-support): every few days this processor hung up, so I have to stop it, select "terminate" and start the processor new.Understanding NiFi's "Terminate" option on running components. Is there any possibilty to configure a processor, so that it is terminated and restartet automatically if it runs longer than x minutes?Frank
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.