Find answers, ask questions, and share your expertise
Recently active
Hi,I use following in my cdp cluster. While I create a simple parquet table from Hue and store it in external table on s3 express bucket, it shows 'EOFException'.1. Hive 3.1.3000.7.2.18.200-39, Hadoop 3.1.1.7.2.18.200-392. Data hub CM version 7.12.0.200, CM runtime version: 7.2.18-1.cdh7.2.18.p200.54625612I have tried following setting but didn't help. Could anyone help here? Thank you.1. Data cluster -> CM -> hdfs -> add fs.s3a.experimental.input.fadvise=sequential2. Data cluster -> CM -> spark3_on_yarn -> add spark.sql.parquet.enableVectorizedReader=false INFO : Compiling command(queryId=hive_20240816153040_ebe87870-3c90-4f07-84dc-b2b6e354520c): select * from smallINFO : Semantic Analysis Completed (retrial = false)INFO : Created Hive schema: Schema(fieldSchemas:[FieldSchema(name:small.id, type:string, comment:null)], properties:null)INFO : Completed compiling command(queryId=hive_20240816153040_ebe87870-3c90-4f07-84dc-b2b6e354520c); Time tak
Hi there!!I'm trying to insert into Hive managed table from HBase which is the external table made with SerDe and I'm getting the error WARN org.apache.hadoop.hbase.ipc.RpcServer: Expected HEADER=HBas but received HEADER=\x0A\x04hi from xx.xxx.xx.xxx:39720The insert into external table runs well, I mean the insert persist the information in the final HBase table but trying to run insert overwrite table managed_ml select key, cf1_id , cf1_name from c_0external_ml; The error is shown in HBase logs. Any idea what's wrong? HBase log:2024-08-13 21:53:30,583 INFO SecurityLogger.org.apache.hadoop.hbase.Server: Auth successful for hive/HOST@REALM (auth:KERBEROS)2024-08-13 21:53:30,584 INFO SecurityLogger.org.apache.hadoop.hbase.Server: Connection from xx.xxx.xx.xxx:55106, version=2.2.3.7.1.7.0-551, sasl=true, ugi=hive/HOST@REALM (auth:KERBEROS), service=ClientService2024-08-13 21:53:30,584 INFO SecurityLogger.org.apache.hadoop.security.authorize.ServiceAuthorizationMan
Hi Everyone,I’m new to Apache Ranger. I’ve created an HDFS policy and configured it to store audit logs in Solr. When I create or delete directories in HDFS, the audit logs are generated and visible in the Ranger UI. However, when I perform operations as the superuser (hdfs), no audit logs are generated.As shown in below screenshot, rangertest1 and rangertest2 users audit logs are shown on UI. But any operations performed using hdfs user, those logs not going in Audit DB. Does Ranger not support audit logging for superuser actions?I have already checked all the configs and there are no exclusions to any user.Best regards,Aditya
recently HIVE 4 has been released, please advise about the plans to make it available in cloudera
After upgrading our cloudera cluster to CDP 7.1.9 from CDP 7.1.7snappy is no longer available when running hadoop checknative and our apps getting error : nnative snappy library not available: this version of libhadoop was built without snappy supportHadoop version we have is Hadoop 3.1.1.7.1.9.14-2 Native library checking:hadoop: true /opt/cloudera/parcels/CDH-7.1.9-1.cdh7.1.9.p14.53489573/lib/hadoop/lib/native/libhadoop.so.1.0.0zlib: true /lib64/libz.so.1zstd : true /opt/cloudera/parcels/CDH-7.1.9-1.cdh7.1.9.p14.53489573/lib/hadoop/lib/native/libzstd.so.1bzip2: true /lib64/libbz2.so.1openssl: true /lib64/libcrypto.soISA-L: false Loading ISA-L failed: Failed to load libisal.so.2 (libisal.so.2: cannot open shared object file: No such file or directory)Please advice
Hi ,I have apache atlas setup in place and hive hooks are up and running. All the hive create/update , lineages etc sowing in atlas.Now I have dropped one hive table from Hive and this same hive table entity is still showing up in apache atlas as ACTIVE. can someone suggest is this something expected or do we need to explicitly delete this entity from Atlas?
Hi all, I am trying to integrate sending emails from NiFi using the put email processor. Below is my configuration:When I start the processor I get this 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 java.lang.NullPointerException: java.lang.NullPointerException Do you have any advice regarding the configuration? Thanks
HI allI've been using this community support a LOT lately as I try and get into NiFi and the ETL power it has, and I think it's incredible, but today I find myself instead asking for help, after spending far too long trying to work something out on my own 😕I'm not too familiar with JOLT and so what I'm trying to do is take a data flow I have which is in the following format: [ { "CODE": "1234", "PRODUCT": "product 1", "Valid": null, "Zone 1": "1.00 USD", "Zone 2": "1.00 USD", "Zone 3": null, "Zone 4": null, "Zone 5": null, }, { "CODE": "9876", "PRODUCT": "product 2", "Valid": null, "Zone 1": "18.00 USD", "Zone 2": "12.00 USD", "Zone 3": null, "Zone 4": null, "Zone 5": null }, { "CODE": "3745", "PRODUCT": "product 3", "Valid": null, "Zone 1": "51.00 USD", "Zone 2": "21.00 USD", "Zone 3": null, "Zone 4": null, "Zone 5": null }]and try to convert it to something like this:[ { "code": "1234", "produc
I have a requirement to read say name of users from a file(all in new lines) and insert to Database(oracle). I am using GetFile->SplitText->ExtractText->PutSql in NiFi. All works fine for less records(around 10 records). But when I try it for 50 or 100 plus records, the connection between ExtractText and PutSql, I am getting "A flowfile is currently penalized and data can not be processed at this time". Also all flowfiles remain in queue.Note in PutSQL I am using simple sql (insert into users_table(user_name) values ('user123'); It works properly for 10, 20 records but when I provide 100+ records then it gets stuck.
Hello Team ,We are using HDP-3.1.0We have executed import-hive.sh script to import already existing hive tables in Atlas. It got successfully executed. Now we can see all hive databases and tables in Atlas, but we are not able to see data linage of that imported tables.If we create external table on any hdfs path then we can see lineage in Atlas.Also, If we create any managed tables in Atlas, we are not able to see lineage of that old tables. But we still can see lineage of that new tables. Why we are not getting lineage of older tables?Please suggest. We are stuck now.Thanks,
After get the entity gui, I sent the request for the partial Update, but i get this error curl "http://xxxxxxxxxx:21000/api/atlas/v2/entity/guid/5a71e80b-c610-4a0f-bb30-f196225114d6" \-i -X PUT --negotiate \-H 'Content-Type: application/json' \-H 'Accept: application/json' \-u username:password -d @entidad.json{"errorCode":"ATLAS-400-00-023","errorMessage":"Attribute null not found for type LBK_Dataset"}[ please any suggestion??
[09/Jul/2024 14:42:27 +0800] 276182 MainThread redactor INFO Started launcher: /opt/cloudera/cm-agent/service/yarn/yarn.sh application-diagnostic-data -use_cli true -applicationIds job_1720485812953_0005[09/Jul/2024 14:42:27 +0800] 276182 MainThread redactor INFO Re-exec watcher: /opt/cloudera/cm-agent/bin/cm proc_watcher 276204[09/Jul/2024 14:42:27 +0800] 276205 MainThread redactor INFO Re-exec redactor: /opt/cloudera/cm-agent/bin/cm redactor --fds 3 5[09/Jul/2024 14:42:27 +0800] 276205 MainThread redactor INFO Started redactorTue Jul 9 14:42:27 CST 2024+ source_parcel_environment+ '[' '!' -z /opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/meta/cdh_env.sh ']'+ OLD_IFS=' '+ IFS=:+ SCRIPT_ARRAY=($SCM_DEFINES_SCRIPTS)+ DIRNAME_ARRAY=($PARCEL_DIRNAMES)+ IFS=' '+ COUNT=1++ seq 1 1+ for i in `seq 1 $COUNT`+ SCRIPT=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/meta/cdh_env.sh+ PARCEL_DIRNAME=CDH-7.1.7-1.cdh7.1.7.p0.15945976+ . /opt/clo
Hi,Do I need a license key for CDP Private base trial installation and if yes where can I obtain it?
Hello everyone.So I've been finding on How to Perform Word Replacement in a csv file by using a Dictionary File as the Guide.I've yet unable to succeed in doing this. I was hoping to get it done with just a single dataflow and just by using processors (without script) but I don't know what processors to use. I've tried a few but nothing seems to work. Hopefully I can get help.The input csv file i have is named try.csv which contains the words that need to be processed (word replacement takes place).While the dictionary file is named syno_street.csv which have a couple of rows and 3 columns:column1: original word (need to be searched in input csv)column2: original word (need to be searched in input csv)column3: replacement word (the output after processing)syno_street.csv:try.csv: (input csv for testing)Thank you in advance.
When we try to get YARN log from cloudera manager, it's shopiwng following Logs are unavailable because Application Timeline Service seems unhealthy and could not connect to the JobHistory server. Please help anyone?
Hello Everyone,We are developing a data lakehouse using Hive for the banking and financial sector. We would appreciate your insights on the following:1. Which data modeling approach is recommended for this domain?2. Are there any sample models available for reference?3. What best practices should we follow to ensure data integrity and performance?4. How can we efficiently manage large-scale data ingestion and processing?5. Are there any specific challenges or pitfalls we should be aware of when implementing a lakehouse in this sector?Your expertise and guidance would be greatly appreciated.
I am trying to connect to impala using jdbc from one of the BI tools however ,The connection being successful sometimes disconnects for a while with below errorCaused by: java.sql.SQLException: [Cloudera][ImpalaJDBCDriver](500593) Communication link failure. Failed to connect to server. Reason: java.net.SocketException: Connection or outbound has closed. ExecuteStatment for query "SELECT a,b from test limit 101".at com.cloudera.impala.hivecommon.api.HS2Client.handleTTransportException(Unknown Source)at com.cloudera.impala.hivecommon.api.HS2Client.executeStatementInternal(Unknown Source)at com.cloudera.impala.hivecommon.api.HS2Client.executeStatement(Unknown Source)at com.cloudera.impala.hivecommon.dataengine.HiveJDBCNativeQueryExecutor.executeNonRowCountQueryHelper(Unknown Source)at com.cloudera.impala.hivecommon.dataengine.HiveJDBCNativeQueryExecutor.executeQuery(Unknown Source)at com.cloudera.impala.hivecommon.dataengine.HiveJDBCNativeQueryExecutor.<init>(Unknown Source)at com.
In the development cluster, the NiFi nodes do not show data or connection to Cloudera Manager, but if I access them via WebUI, the nodes appear properly connected and functional. Attached are NiFi logs and screen prints as evidence Previously I was instructed to review the Ranger policies as described in the Cloudera documentation, but the problem persisted, attached are the current Ranger settings. I also found the following error curious: Cookie rejected [hadoop.auth=""u=nifi&p=nifi/v321d186.prevnet@DEVDATALAKE.CDPDTP&t=kerberos&e=1721689709429&s=qJPbU6hDNqLtkL1BokMp...", version:0, domain:v321d175.prevnet, path:/solr/ranger_audits_shard1_replica_n1, expiry:null] Domain attribute "v321d175.prevnet" violates the Netscape cookie specification However, in the prod cluster the same error appears in the logs and I don't have this problem
Hi,I have a json data as follow.INPUT :{ "vlineid" : "9PIA", "type" : "M", "catg" : "C", "nhhigh" : 100.0, "nhigh" : 50.0, "nlow" : null, "nllow" : null, "uom" : "sec", "vsectionid" : "PEPO60", "vparamdesc" : "CYCLE TIME", "vpartid" : "-", "vflgipc" : "IPC02", "vwctid" : "P9PIA0", "vmachineid" : "IMM04", "vparam" : "CYCLE-TIME", "nvalue" : 0.0, "t" : 1722833150160, "vcrea" : "NIFI", "vmodi" : "NIFI", "dmodi" : "2024-08-05 11:49:17", "dcrea" : "2024-08-05 11:49:17", "t_epoch" : 1}I tried to remove the null field with this JOLT SpecificationJOLT :[{ "operation": "shift", "spec": { "*": "temp.&" } }, { "operation": "modify-overwrite-beta", "spec": { "*": "=recursivelySquashNulls"  
When trying odbc connection it is successful here. But when trying to connect from Qliksense, it is throwing an error "Error: Connector connect error: SQL##f - SqlState: 28000, ErrorCode: 9, ErrorMsg: [Amazon][ThriftExtension] (9) Error occurred while authenticating via SASL. Error details: SASL(-1): generic failure: GSSAPI Error: Unspecified GSS failure. Minor code may provide more information (Matching credential not found)" What might be the issue?is it issue with kerbeors? then what is the solution?it is happening with all the conenctions.
Hello,I have a 5-node cluster, running nifi 1.19.1. Recently, I got multiple alerts saying CPU usage is too high (more than 380% in a 4-core server). When I tailed nifi-app.log, I found the node was kept trying to join the cluster. An weird thing I found was as following fragment:2024-08-16 10:21:44,490 INFO [Process Cluster Protocol Request-15] o.a.n.c.p.impl.SocketProtocolListener Finished processing request 8bd938b4-6e77-4353-8eef-1e00662efd82 (type=HEARTBEAT, length=5905 bytes) from mnprdlgmsyslog04.ds.cpr.ca:9443 in 145 millis2024-08-16 10:21:44,501 INFO [Clustering Tasks Thread-2] o.a.n.c.c.ClusterProtocolHeartbeater Heartbeat created at 2024-08-16 10:21:41,904 and sent to mnprdlgmsyslog04.ds.cpr.ca:11443 at 2024-08-16 10:21:44,501; determining Cluster Coordinator took 105 millis; DNS lookup for coordinator took 0 millis; connecting to coordinator took 2334 millis; sending heartbeat took 146 millis; receiving first byte from response took 11 millis; receiving full response t
We want to setup some Impala monitoring and look specifically for queries that have a "Waiting for client" state. I am pretty familiar with the Cloudera Manager API calls to get Impala query information, but can't seem to figure out how to get this particular state. Can someone shed light on how Cloudera Manager itself does it, since I see that status in the Cloudera Manager UI when looking at Impala queries? Thanks, I appreciate any help in advance.Mark
Basically, I'm attempting to create a standalone Yarn application that runs code on hdfs files on a block level for validation purposes. First I will need to get where the different blocks are distributed (hdfs file metadata), and will run validation code on every block and will combine the results to determine if the file is valid or not. I want to minimize/eliminate network overhead by making the application validation code run on the same node on which the block resides (data locality).So, for instance, a 1 GB file could be divided into 10 blocks. In order to run the same validation code on all blocks in parallel, I would want to run 10 different instances.My thinking is, I would launch a single ApplicationMaster with 10 containers.Does my approach make sense, and if not, what do you suggest I change in my approach? And if it does make sense, how do I launch 10 different instances while (possibly) determining 10 different hosts for every container.
I need to inject data read from elastic in Json format to two different tables having parent child relationship.i.eUser tableName, Age, RoleDavid,35,1Tay,23,2John,27,2Role table:1,admin2,userMy requirement is to insert in user table first get the Role ID and then include that id in next insert to dump data in Role tableHow can i achieve this thing Apache Nifi?@mburgess
In Apache NiFi, We are interacting to SOAP api through powershell. As API expect attachment with MTOM.Now if we load 10000 request we can see only one server is acting on those requeset while other remainnig 2 server are sitting idle. Is there way to share the load acrooss all three servers?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.