Find answers, ask questions, and share your expertise
Recently active
Hello Community,I would like to rise a big inconsistency about requirements.Starting by the Cloudera Support Matrix that says: CDP Private Cloud Base7.1.8 > will need Cloudera Manager 7.7.1 and OS: RHEL8.4 will work.Now, regarding to NTP, based on teh OS:"In RHEL 8, the NTP protocol is implemented only by the chronyd daemon, provided by the chrony package. The ntp daemon is no longer available. If you used ntp on your RHEL 7 system, you might need to migrate to chrony"in the other hand:https://docs.cloudera.com/cdp-private-cloud-base/7.1.8/kudu-management/topics/kudu-server-management-limitations.html"Kudu releases have only been tested with NTP. Other time synchronization providers such as Chrony may not work."Could someone from Kudu team give some consistency here? RHEL8 not having ntpd anymore but mandatory for KUDU...Please help.
Hi , In My nifi flow i have two dataFlows i want to same same data to two different HTTP endPoints , for both data flow data is being consumed from same kaflka topic (TOPIC A) both flows has different kafka groupID and pushing data to different HPPT end points (endPoint 1 and endPoint 2). If there is any failure data is being produced into retryTopic R which is common for both data flow . There is separate retryData flow for both configured with seperate HttpEndPoints , but both consuming from same retryTopic .What issue coming is , due to same retry topic , dataFlow A can consume data of dataFlowB . How should i avoid this situation ? retryTopic used should be same for both. Here is a sample for the dataFlow .
hey all I was just wondering what the best way is to merge 2 JSON flowfiles together. I have 2 processes which generate pretty much identical data but with a different source (so can’t do it as one process) and I’d like to merge them together into one JSON file if possible. Example data is something like... Process 1: [ { "code": "ABC123", "product": "My Product", "prices": [ { "valid_from": "20180913 09:00:08", "name": "pricelist1", "abc": "14.74" }, { "valid_from": "20180913 09:00:08", "name": "pricelist2", "abc": "10.70" } ] }] Process 2: [ { "code": "ABC123", "product": "My Product", "prices": [ { "valid_from": "20180913 09:00:08", "name": "pricelist1", "xyz": "53.74" }, { "valid_from": "20180913 09:00:08", "name": "pricelist2", "xyz": "21.70" } ] }] Desired Outcome: &n
Hi all,I'm trying to get our CDSW 1.10.5 Instance to recognize the GPUs, according to this documentation: https://docs.cloudera.com/cdsw/1.10.5/gpu/topics/cdsw-gpu.htmlBasically: nvidia-smi shows the GPUs are present on the host but after activating GPU-Support in Cloudera Manager the GPUs do not show up in the CDSW interface. We tried to follow this advice, since we also run an AirGapped Setup: https://community.cloudera.com/t5/Support-Questions/CDSW-1-6-does-not-recognize-NVIDA-GPUs/td-p/280207but unfortunatelly retagging the image did not solve the issue. How can we obtain additional info to diagnose the issue?
Hi allI was looking for some help regarding moving a NiFi Registry set up from one server to another.At the moment we set up a kind of "QA" system which was running well and so we have now created the production server if you like which we're going to use for all of our NiFi connections. The current registry is backed by a Git Repo using BitBucket which all works as expected.We have set up the new server, installed registry and connected the same repo and all seems to be fine in terms of the NiFi servers can connect and I can see registry on the new server.What I want to do now though, is move everything we had in the "QA" registry server, into the production server if this is possible (so that means the buckets, versions and flows etc) but JUST for the registry (we will then pull these fresh into the NiFi server(s)).I think I read somewhere that the information in registry is kinda "linked" to a registry server via a UUID or something but I'm not sure how that works (if not, my assump
Hi Everyone,I'm configuring Kerberos for our environment and aiming to ensure high availability. I've set up a master KDC and a slave KDC on EC2 instances but getting the below error message while propagating.here is my setup on ec2 instances for master kdc and slave kdc to propagate.Install Kerberos server on both the KDC's using:sudo apt install krb5-{admin-server,kdc}edited the below files. 1.sudo cat /etc/krb5.conf[libdefaults]default_realm = EXAMPLE.COM# The following krb5.conf variables are only for MIT Kerberos.kdc_timesync = 1ccache_type = 4forwardable = trueproxiable = truerdns = false[realms]EXAMPLE.COM = {kdc = kdc01.example.comkdc = kdc02.example.comadmin_server = kdc01.example.com}[domain_realm].example.com = EXAMPLE.COMexample.com = EXAMPLE.COM[logging]kdc = FILE:/var/log/kerberos/krb5kdc.logadmin_server = FILE:/var/log/kerberos/kadmin.logdefault = FILE:/var/log/kerberos/krb5lib.log2.sudo cat /etc/krb5kdc/kdc.conf[kdcdefaults]kdc_ports = 750,88[realms]EXAMPLE.COM = {
We enabled Hbase read replica - However we bump into this situtation we observed that read replica cluster is still doing compaction and Primary cluster is reporting a FileNotFound Exception for multiple regions.What could be the reason for this ? Is there any specific configuration parameter that is enabled ?
Hi all, I am practicing spark. When using pyspark to query table in Hive, I can retrieve the data from an external table but query a internal table. Here is the error message:>>> spark.read.table("exams").count()23/03/30 22:28:50 WARN conf.HiveConf: HiveConf of name hive.masking.algo does not existHive Session ID = eb0a9583-da34-4c85-9a1b-db790d126fb1Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/cloudera/parcels/CDH-7.1.8-1.cdh7.1.8.p0.30990532/lib/spark/python/pyspark/sql/readwriter.py", line 301, in table return self._df(self._jreader.table(tableName)) File "/opt/cloudera/parcels/CDH-7.1.8-1.cdh7.1.8.p0.30990532/lib/spark/python/lib/py4j-0.10.7-src.zip/py4j/java_gateway.py", File "/opt/cloudera/parcels/CDH-7.1.8-1.cdh7.1.8.p0.30990532/lib/spark/python/pyspark/sql/utils.py", line 69, in deco raise AnalysisException(s.split(': ', 1)[1], stackTrace)pyspark.sql.utils.AnalysisException: u'\nSpark has no access to
Hey!I recently stumbled upon a medium-risk security vulnerability. I emailed Cloudera's security contact, but its been weeks with no reply or patch. I attempted to open a support ticket but the support page says my account doesn't have the necessary permissions. I was wondering if anybody can connect me to some employee who can help fix this? Thanks!
Hello team,My main work is dependent on HBase Data.I have Source (RHEL 7 CDH cluster) and Destination (RHEL 9 Open-Source Cluster self-managed cluster)RHEL 9 Open-Source Cluster Conf:Apache Services Configured and running:ZookeeperHadoopYarn is Default confHBaseMigration Approach:Export - Import approach:Did the export on the source side.Tried doing distcp to source which won't work because of authentication mismatch and non-presence of marred because it was not configured in the source side. So I did the winSCP to destination and tried import which didn't work because the MapRed was not configured because it was not in the requirement.So I skipped this approach.Snapshot approach:I took snapshot on source side and tried doing snapshot-export. It gave an error saying that the destination is a 'SIMPLE AUTH' but the source is Kerberos Authenticated. So, it didn't work.Manual Approach: Took snapshots on source.Hadoop Get: Used get command to copy the snapshots file, /hbase/data/D
Update Attribute processor Not working after upgrade from version 1.8 to version 1.9. We recently upgraded our Nifi Cluster from version 1.8 to version 1.9 and we were surprised to see the update attribute processor all going invalid for our existing flows. We had to manually fix the existing flow but this ideally should have been handled with the upgrade .Is there a way to overcome this ?
Hello everybody, I have a ODBC (DSN=IMPALA_PRD) setup to connect to Impala server through kerberos authentication.I have created the ticket in MIT with success.I've tested the connection with success.However when using the same ODBC connection on a python script or a PowerBI dashboard, it returns the error: ODBC: ERROR [HY000] [Cloudera][DriverSupport] (1110) Unexpected response received from server. Please ensure the server host and port specified for the connection are correct and confirm if SSL should be enabled for the connection.\r\nERROR [HY000] [Cloudera][DriverSupport] (1110) Unexpected response received from server. Please ensure the server host and port specified for the connection are correct and confirm if SSL should be enabled for the connection. For quick test i'm using this simple script:import pyodbcconn_impala = pyodbc.connect(DSN="IMPALA_PRD", autocommit = True)cursor = conn_impala.cursor()Could you please help me solve this riddle?Best regards,
After installing the CDH Hadoop cluster using cloudera manager, everything was fine, then adding kerberos verification using the cm interface, and then. hive performs some slightly more complex HQL. The following error will appear:
Hi! I installed CDP Private Cloud 7.1.7 trial version in which Kafka 2.5.x is installed. Is there anyway I can upgrade to the latest CDP 7.1.9 in which I want to try with Kafka 3.x or upgrade kafka service only? Thanks for any suggestion!
Hi there,I am an absolute NIFI beginner, and I would like to implement the following data integration (DI) pipeline using Apache NIFI:Scenario: I have two independent data sources:A CSV file.A database.Both contain streams of sorted lines with the same column structure. Each record, except of other columns, also includes:A primary ID.A calculated hash, generated from the content of the line.Goal: I want to compare the records based on their ID columns from both sources and classify them as:New: The ID is present in the CSV file but not in the database.Changed: The ID exists in both sources, but the hash values differ.Same: The ID exists in both sources, and the hash values are the same.Deleted: The ID is missing from the CSV file but exists in the database.The output flow of this "diff" process should produce a stream where each line is enriched with a status flag ("new", "changed", "same", "deleted") indicating the result of the comparison.Background: I have successfully implemented t
Hi Everyone,How do you run NIFI - Ambari as root user ?
We are using nifi as api gateway. Whenever we pass any attributes in request header it should be captured as http.headers.xxxx in flowfile but when checked in flowfile ; header value is coming in small case though we have passed it in caps. In our implementation we have 2 instances of nifi running. One instance doesn't have any issue where as other has . Please help if there is any configuration I'm missing.
I have 5 Nodes:NN1NN2DN1DN2DN3Three Apache Services:ZookeeperHadoopYarnHBaseWill need MapRed tooFor authentication-Companywide my client is using LDAP, AD. For application purpose they setup Kerberos and Active Directory as KDC.So, its AD Kerberos. I don't handle KDC by myself - Security team does.Currently I have setup an open-source self-managed Hadoop cluster and its configured to 'SIMPLE AUT'I want to use the authentication, so how do i proceed sir? Can someone please help with detailed steps and instruction?
Some Scripts suddenly stopping without ending for some days
Hi All, We have been facing an issue with building a flow in Apache NiFi (version 1.18) to receive events from Azure EventHub.We had a Process Group that would read events from Azure EventHub using ‘GetAzureEventHub’ processor. It was running successfully, but in March 2024 it stopped working without any changes to NiFi server or on the Azure EventHub. We received the following error - “Failed to properly initialize Processor. If still scheduled to run, NiFi will attempt to initialize and run the Processor again after the 'Administrative Yield Duration' has elapsed. Failure is due to reactor.core.Exceptions$ReactiveException: java.lang.InterruptedException: reactor.core.Exceptions$ReactiveException: java.lang.InterruptedException - Caused by: java.lang.InterruptedException”Since then, we have not been able to connect to Azure EventHub from NiFi. We have tried ‘ConsumeAzureEventHub’ processor as well, but received “Connection is disposed. Cannot get management instance” error. Azur
I am currently facing an issue while using the ImportTsv command to load data into an HBase table. I am running the command and the job is failing with a non-zero exit code 1. ./hbase org.apache.hadoop.hbase.mapreduce.ImportTsv -Dimporttsv.columns="HBASE_ROW_KEY,cf:name,cf:age,cf:gender" -Dimporttsv.separator="\t" my_1 /hbase/test2.txtERROR LOG:SLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in [jar:file:/home/super/hadoop/share/hadoop/common/lib/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J: Found binding in [jar:file:/home/super/hbase/lib/client-facing-thirdparty/slf4j-reload4j-1.7.33.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.SLF4J: Actual binding is of type [org.slf4j.impl.Reload4jLoggerFactory]2024-09-02 09:48:21,871 WARN [main] util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where appl
Hi Team,i am using 1.27 NIFI, For QuerySalesforceObject processor i am unable to find proxy configuration service for instance url, We have Proxy configuration service for OAuth2 Access token but not for salesforce url, Please suggest for proxy service enablement for salesforce instance URL as well. Sample screenshot of existing configuration below.Thanks,Krish
We are working on converting the Unix time into date-time using the QueryRecord processor. We understand that QueryRecord is built with the calcite SQL syntax and tried to use the DATE_FROM_UNIX_DATE function. We are receiving the below error. Please help us resolve this issue with your expertise.We can achieve this conversion using the update attribute but we wanted this as part of the Query record as we wanted to apply this conversion on the completed dataset.Query :SELECT DATE_FROM_UNIX_DATE(1724851471) FROM FLOWFileError :QueryRecord[id=2cc603e4-0191-1000-f3c7-ef830564cf72] Unable to query FlowFile[filename=convertfunctionsample.csv] due to org.apache.nifi.processor.exception.ProcessException: java.sql.SQLException: Error while preparing statement [SELECT DATE_FROM_UNIX_DATE(1724851471) FROM FLOWFile]- Caused by: java.sql.SQLException: Error while preparing statement [SELECT DATE_FROM_UNIX_DATE(1724851471) FROM FLOWFile]- Caused by: org.apache.calcite.runtime.Ca
I am reading oracle table using pySpark. my oracle table contains data type NUMBER and it contains 35 digits long value. when I read this column using spark, it seems spark assumes more precision than original (+10 precision)and end up in throwing following error:java.lang.ArithmeticException: Decimal precision 45 exceeds max precision 38`please note: I am inferring schema from spark data frame as I don't want to explicitly pass schema.code:df_rdbms_data = spark.read.jdbc(url=source_jdbc_url, table=source_table_name, properties=source_properties)df_rdbms_data.printSchema()df_rdbms_data.show()Is there any way to resolve this issue apart from not passing explicit schema or explicit casting?Thanks in advance.
I'm trying to Insert into a table located in /warehouse/tablespace/managed/hive from a table located in /warehouse/tablespace/external/hive using beeline. But I'm getting: ERROR : Status: FailedERROR : Vertex failed, vertexName=Map 1, vertexId=vertex_1707433862019_0104_2_00, diagnostics=[Vertex vertex_1707433862019_0104_2_00 [Map 1] killed/failed due to:ROOT_INPUT_INIT_FAILURE, Vertex Input: countries_src_ap initializer failed, vertex=vertex_1707433862019_0104_2_00 [Map 1], org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed after attempts=16, exceptions:2024-08-02T20:24:47.396Z, java.net.SocketTimeoutException: callTimeout=60000, callDuration=68708: Call to HOST/IP HOST:16020 failed on local exception: org.apache.hadoop.hbase.exceptions.ConnectionClosedException: Connection closed row 'countries_src,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=HOST_NAME,16020,1722553888133, seqNum=-1 at org.apache.hadoop.hbase.client.RpcRetryin
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.