Find answers, ask questions, and share your expertise
Recently active
we have Hadoop cluster with active/stand by resource manager services the active resource manager is on master1 machine and the stand by resource manager is on master2 machinein our cluster YARN service that include both resource manager services is managing 276 node manager component on workers machinesfrom Ambari WEB UI alerts ( Alerts for Resource Manager ) we notice about the followingResource Manager Web UIConnection failed to http://master2.jupiter.com:8088(timed out)we start to debug the issue by wget with port 8088 , and we found that process is hang on - HTTP request sent, `awaiting response... No data received`.example from resource manager machinewget --debug http://master2.jupiter.com:8088DEBUG output created by Wget 1.14 on Linux-gnu.URI encoding = ‘UTF-8’Converted file name 'index.html' (UTF-8) -> 'index.html' (UTF-8)Converted file name 'index.html' (UTF-8) -> 'index.html' (UTF-8)--2024-02-21 10:13:42-- http://master2` .jupiter.com:8088/Resolving master2.jupiter.com
I read the article But I can't understand a few things1. I havea Hadoop (3.1.3)MIT KDC cluster on a separate serverActive Directory forserver users with hadoop is not included in the domain2. All hadoop NN, DN, JN, etc. services are launched using the keytabs created for them and are working successfully3. any requests from the user from AD fall with an error2024-01-27 15:56:07,949 DEBUG security.SaslRpcClient: Sending sasl message state: NEGOTIATE2024-01-27 15:56:07,950 DEBUG security.SaslRpcClient: Get token info proto:interface org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolPB info:@org.apache.hadoop.security.token.TokenInfo(value=class org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenSelector)2024-01-27 15:56:07,951 DEBUG security.SaslRpcClient: tokens aren't supported for this protocol or user doesn't have one2024-01-27 15:56:07,951 DEBUG security.SaslRpcClient: Get kerberos info proto:interface org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolP
[root@cdp1~]# kinit hdfsPassword for hdfs@HADOOP.COM:********[root@cdp1~]# klistTicket cache: KCM:0:86966Default principal: hdfs@HADOOP.COM Valid starting Expires Service principal2022-02-11T01:52:21 2022-02-12T01:52:21 krbtgt/HADOOP.COM@HADOOP.COMrenew until 2022-02-18T01:52:21 [root@cdp1 ~]# hdfs dfs -ls /22/02/11 01:53:31 DEBUG util.Shell: setsid exited with exit code 022/02/11 01:53:31 DEBUG conf.Configuration: parsing URL jar:file:/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop/hadoop-common-3.1.1.7.1.7.0-551.jar!/core-default.xml22/02/11 01:53:31 DEBUG conf.Configuration: parsing input stream sun.net.www.protocol.jar.JarURLConnection$JarURLInputStream@4678c73022/02/11 01:53:32 DEBUG conf.Configuration: parsing URL file:/etc/hadoop/conf.cloudera.yarn/core-site.xml22/02/11 01:53:32 DEBUG conf.Configuration: parsing input stream java.io.BufferedInputStream@369f73a222/02/11 01:53:32 DEBUG lib.MutableMetricsFactory: field org.apache.hadoop.metrics2.lib.MutableRate or
Hello,I recently installed Nifi on a Mac with an M1 chip, Sonoma 14.4.1. I am able to run "nifi.sh run" successfully and navigate to localhost port 8443/nifi. However, when I run "nifi.sh start" it fails to open localhost 8443/nifi. The logs do not throw any errors, I have checked (see screenshot below). I am running openjdk 21.0.2 and nifi 2.0.0-M2. My environment variables for java (/Library/Java/JavaVirtualMachines/jdk-21.0.2.jdk/Contents/Home), nifi (/Users/RZO4145/nifi-2.0.0-M2), and apache maven have been set.I have also checked when doing the nifi.sh start, it looks like there is nothing listening on 8443 (and I checked nifi.properties, it is still set to 8443). I've also tried setting the host to 0.0.0.0 instead of 127.0.0.1 and changing the port. After about 5-10 minutes of running, I will finally be able to see it on localhost 8443 (see attached), but the page will still not load.Is there something I'm missing?
hellomy cluster is cdh5.14 centos7.4 JAVA7We have been receiving alerts for Impala. The health test result for IMPALAD_QUERY_MONITORING_STATUS has become bad: There are 0 error(s) seen monitoring executing queries, and 1 errors(s) seen monitoring completed queries for this role in the previous 5 minute(s). Critical threshold: any.The following picture shows cloudera-scm-agent error logshow to solve this error?
Hi Everyone,I am trying to perform some data transformations using UpdateRecord processor.The input format is a nested JSON, and I am able to perform shifting of some fields using RecordPath.But facing issues when preparing a field using some conditional logic from a nested list.Here is my scenario:Input JSON[ { "orderId": "1234", "orderName": "Order 1", "orderItems": [ { "orderItemSeqId": "01", "itemStatusId": "ITEM_APPROVED", "orderItemQuantity": 1, "unitPrice": 149, "goodIdentifications": [ { "goodIdentificationTypeId": "SHOPIFY_PROD_ID", "idValue": "43623074824370" }, { "goodIdentificationTypeId": "SKU", "idValue": "2510524-4BB-S" }, { "goodIdentificationTypeId": "UPCA", "idValue": "2510524-4BB-S" } ] }, { "orderItemSeqId": "02", "itemStatusId": "ITEM_APPROVED", "orderItemQuant
I use the PutIcebergProcessor to write data to my data lake. Therefore I need to specify a HiveCatalogService. This Service needs HadoopConfigurationResources. This parameter is a path to an xml file containing the credentials to the S3 where the Iceberg files are stored.My Problem with this, that some content of this file is supposed to be secret to the users interacting with the nifi ui. However, as soon as a UI user knows this path, he can simply use ExecuteProcess Processor to retrieve those information. Is there any way to keep those information safe? Reference:HiveCatalogService PutIceberg
Hello All,We have installed the Cloudera ODBC driver of version 2.6.11 and configured ODBC driver. Making use of impala ODBC as a data source and custom query in Power BI desktop, developed a report and published it into the power bi service. But when i refreshed the dataset to get the updated data in the Power BI report. We are getting below error, can anyone help me to troubleshoot the refresh issue.Error message 1{"error":{"code":"DM_GWPipeline_Gateway_MashupDataAccessError","pbi.error":{"code":"DM_GWPipeline_Gateway_MashupDataAccessError","parameters":{},"details":[{"code":"DM_ErrorDetailNameCode_UnderlyingErrorCode","detail":{"type":1,"value":"-2147467259"}},{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage","detail":{"type":1,"value":"<ccon>ODBC: ERROR [08S01] [Cloudera][ImpalaODBC] (450) Error when calling the Impala Thrift API ExecuteStatement: SSL_read: error code: 0</ccon>"}},{"code":"DM_ErrorDetailNameCode_UnderlyingHResult","detail":{"type":1,"value":"
Can someone tell me how to use GETSFTP processor?For the hostname should we provide value like sftp://host or hostI am not able to fetch the files from SFTP.I have provided hostname, Port, Username, Password, Remote path.For remote path, I am following this pattern : /folder/subfolder/
We have deployed NIFI application in AKS with 3 pods. The primary pod is working fine without error but pod1 and pod 2 are continuously restarting. I checked the logs for both, getting errors such as 2024-04-05 11:04:52,015 INFO [Thread-1] Initiating shutdown of Jetty web server...2024-04-05 11:04:52,020 INFO [Thread-1] Stopped ServerConnector@fb713e7{SSL,[ http/1.1]}{nifi-1.nifi-headless.iic-nifi-uat.svc.cluster.local:9443}2024-04-05 11:04:52,021 INFO [Thread-1] node0 Stopped scavengingI have checked the resources such as memory leaks and CPU consumption, everything seems to be in ideal state. Kindly request insights from forum how to overcome this err
I have Nifi 1.25 on Ubuntu EC2 (m6i.2xlarge) = (8CPU/32GB RAM)Bootstrap.conf was set like the following:java.arg.2=-Xms2gjava.arg.3=-Xmx24gjava.arg.13=-XX:+UseG1GC <not sure if needed even>ExecuteSQL is set like the following: The flow is getting about 50-60 tables from mySQL and start creating flow files from them , upload to S3 and then copy into Redshift.Seems like the ExecuteSQL is consuming high CPU & RAM. The java.arg.3=-Xmx24g is the upper limit for the RAM?How can I control the CPU?
I'd like to have a process for automatically exporting the data flow definition and configuration without needing to go into the CDF UI.Right now, if I wanted the configuration, I'd click here in the UI:My thought was to use the CDP CLI, but under the df section, there doesn't appear to be a command for this.Any suggestions?
Hi All community/Support, I would like to ask how to extend this self-signed certificate validity to 6 months. As per default was 60 days. May i know which section of the code that setting this 60 days validity during start-up? 2024-04-02 07:32:08,803 INFO [main] org.apache.nifi.bootstrap.Command Generating Self-Signed Certificate: Expires on 2024-06-012024-04-02 07:32:11,796 INFO [main] org.apache.nifi.bootstrap.Command Generated Self-Signed Certificate SHA-256: 4XXXXXXXXXXXXXXXXXXXXXXX Appreciate if someone could help point out.
24/04/12 15:15:54 ERROR tools.DistCp: Exception encounteredjava.io.IOException: Failed on local exception: java.io.IOException: Couldn't setup connection for replication_user@xxxxxx.xxx.xxx.xxx.COM to destination ip/destination ip:8020; Host Details : local host is: "xxxxxx.xxxxx.com/192.xxx.x.x"; destination host is: "xx.xxx.x.xxx":8020;
Hey Everyone,We installed CDP Private Cloud Data Services i.e. ECS 1.4.1. After registering environment through management console, when we are trying to create CDE (Cloudera Data Engineering) cluster we are getting aws_key_id error although we have not deployed servers through AWS. Please find the logs below.2023-10-18 08:06:48: Create: Cluster: Data-engineering-1, user: <admin@cdp.example>, event: Create, properties: [internal-actor-crn=crn:altus:iam:us-west-1:altus:user:__internal__actor__]2023-10-18 08:07:04: Log: Cluster provisioning initiated, cloud platform: STANDARD2023-10-18 08:07:04: Log: Started provisioning a managed cluster, provisionerID: liftie-9bylvhxh2023-10-18 08:07:04: LogDebug: Updating cluster status from ClusterProvisioningInitiated to ClusterProvisioningInProgress2023-10-18 08:07:04: LogDebug: Checking underlying cluster status2023-10-18 08:07:04: Log: Cluster provisioning completed2023-10-18 08:07:04: LogDebug: Updating cluster status from Clus
We are seeing an error / alert and unable to schedule / run jobs in CDE. We are on CDP - PCAny guidance in resolving this Tks Wert
I have tried this code on jupyter of Cloudera Machine Learning.============================================================import cml.data_v1 as cmldatafrom pyspark import SparkContext#Optional Spark ConfigsSparkContext.setSystemProperty('spark.executor.cores', '4')SparkContext.setSystemProperty('spark.executor.memory', '8g')#Boilerplate Code provided to you by CML Data ConnectionsCONNECTION_NAME = "go01-dl"conn = cmldata.get_connection(CONNECTION_NAME)spark = conn.get_spark_session()# Sample usage to run query through sparkEXAMPLE_SQL_QUERY = "show databases"spark.sql(EXAMPLE_SQL_QUERY).show()================================================= I cheched enable spark, as well when I tried to create sessionHowever the result was failed with error message 'No data connection named go01-dl found' While I am trying this, I thought I have to get information of spark.BUT I CANNOT. Where Can I get the connection name of SPARK?What should I do to do ru
Hi,In the CML, the sessions in the PBJ Workbench show all infos and warnings in red by default (with a little symbol). Is there a way to set the color to black? Kind regards!
Dear Team, I am new to Cloudera. We are planning to use cloudera data platform. Is it possible to manage Data Governance activities with cloudera itself? Actually we are using informatica suite for data governance. Please advice. I like to have a call with Middle East Cloudera Technical Team. Is it possible to connect with me? Thanks! Regards, S.Ramakrishnan
We recently upgraded to CDE 1.20.3. After the upgrade we encountered issues related to resource allocation. I suspect that the yunikorn is not properly functionining because jobs are waiting time even if there are available resources to distribute to the spark jobs.Is there a yunikorn UI available from the CDE where we can access to monitor so we can easily monitor the yunikorn pods?
I am planning to appear in the Cloudera Administration Certification, CDP Administrator - Private Cloud Base Exam CDP-2001. Can someone please help me with some training links and sample question papers?
Hello!I have a flow that extracts 100 CSV files from a SFTP sever. I need to identify the last CSV file in order to continue the flow after all the files are loaded in GCP bucket.So, let me explain my scenario: I am extracting all 100 files from SFTP and load them in a GCP bucket. However, after the files are loaded, I want to redirect one file (preferably the last one) using the RouteOnAttribute in order to continue the flow for executing another processors.Can someone help me please?
Hi Regarding python updates, how can they affect cloudera?there is a security update RHSA-2023:0833 - Security AdvisoryDescriptionA vulnerability was discovered in Python. A quadratic algorithm exists when processing inputs to the IDNA (RFC 3490) decoder, such that a crafted unreasonably long name being presented to the decoder could lead to a CPU denial of service. Hostnames are often supplied by remote servers that could be controlled by a malicious actor, which could trigger excessive CPU consumption on the client attempting to make use of an attacker-supplied hostname. Do these types of updates affect cloudera?
After deployed Impala Virtual data warehouse of Data service.I faced Error "401 client Error: Unauthorized for url: http://coordinator:28000/cliservice"Sometimes It works well. To solve this problem what should I check?
I have a url endpoint that provides a json file with a size of a couple of `GB`. Unfortunately the api does not support pagination which would be the normal approach to my problem.So what i can do in python is to use ijson lib and split the json from the endpoint while receiving it and storing the result to my hard drive. This is very memory efficient and gives me the ability to run this async and start transforming the results while data are still loaded. import ijsonimport jsonfrom urllib.request import urlopenf = urlopen(url)objects = ijson.items(f, 'item', use_float=True)record = (o for o in objects)for i,r in enumerate(record): print(i) with open(f'/tmp/streamwriter/{i}.json', 'w') as f: f.write(json.dumps(r)) now i want to do this in nifi. Is there a processor that can do the same. The way I understand the InvokeHttp Processor by now is that it has to receive the full payload before it sends the flowfile down stream.----Reference:I asked the same questi
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.