Find answers, ask questions, and share your expertise
Recently active
I have a cluster, we are running INSERT OVERWRITE QUERY through HIVE CLI which fails with OutOfMemoryError: Java heap space.I have tried multiple set parameters and updated the machine config but no luck.set hive.exec.max.dynamic.partitions=4000;set hive.exec.max.dynamic.partitions.pernode=500;set hive.exec.dynamic.partition.mode=nonstrict;SET mapreduce.map.java.opts=-Xmx3686m;SET mapreduce.reduce.java.opts=-Xmx3686m;SET mapred.child.java.opts=-Xmx10g;set hive.tez.container.size=16384;set tez.task.resource.memory.mb=16384;set tez.am.resource.memory.mb=8192;set hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DummyTxnManager;set hive.support.concurrency=false;set hive.vectorized.execution.enabled=true;set hive.vectorized.execution.reduce.enabled=true;set hive.exec.orc.split.strategy=BI;set hive.exec.reducers.max=150;Error thrownStatus: FailedVertex failed, vertexName=Reducer 4, vertexId=vertex_1731327513546_0052_5_08, diagnostics=[Task failed, taskId=task_1731327513546_0052_5_08_00004
Hello,I have deployed Apache NiFi and NiFi Registry on a Kubernetes cluster, but I am unable to retrieve the buckets in the NiFi interface. However, when I set the buckets to "public", I can see them in the "Network" tab of the browser’s developer tools.I have been troubleshooting this issue for over a month without success. If anyone has encountered a similar situation or has any suggestions on what might be causing this, I would greatly appreciate any help or advice.Thank you in advance for your assistance!@MattWho
when I enable HDFS Federation RBF, Hive tez job will throw error as follows: hive-server2.log: Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error while processing writable (null) org.apache.hadoop.security.AccessControlException: Client cannot authenticate via:[TOKEN, KERBEROS] I see https://issues.apache.org/jira/browse/TEZ-4032, and my tez version is 0.10.1,I didn't get any help from it. Is there someone who can help me?
my cluster is cdh5.14 impala 2.11 kudu 1.6.0impala on kudu,When union all is used to merge more than three select join queries, the third and later select must perform full table scanning. How can I solve the problem of full table scanning?A full table scan is not performed when the select join statement is executed alone.sql as follows:SELECTmb.unitno,mb.materialcode,mb.starttime,mb.length,ib.equipmentcode,ib.defectclass,ib.defectname,ib.sideFROMsc1.tba1 mbLEFT OUTER JOINsc1.tbb1 ibONmb.materialcode = ib.materialcodewhere mb.starttime>'20240827'and mb.starttime<'20240828' )UNION ALLSELECTmd.unitno,md.materialcode,md.starttime,md.length,id.equipmentcode,id.defectclass,id.defectname,id.sideFROMsc1.tba2 mdLEFT OUTER JOINsc1.tbb2 idONmd.materialcode = id.materialcodewhere md.starttime>'20240827'and md.starttime<'20240828' )UNION ALLSELECTme.unitno,me.materialcode,me.starttime,me.length,ie.equipmentcode,ie.defectclass,ie.defectname,ie.sideFROMsc1.tba3 meLEFT OUTER JOINsc1
Specifies the character to use as a delimiter between fields when query results are printed in plain format by the -B option. Defaults to tab ('\t'). If an output value contains the delimiter character, that field is quoted, escaped by doubling quotation marks, or both. Added in Impala 1.0.1.My output value contains some ('\t'),So,I tried using \`field\` OR “field” and so on, But all of them doesn't work.Does anyone know how to solve it?Impala Shell v3.4.0-SNAPSHOT
I am trying to run use db_name;show tables and it is failing. Can you please help me with it [root@cupid ~]# sudo -u hive beeline -u "jdbc:hive2://charon.devemc.com:2181,cupid.devemc.com:2181,portia.devemc.com:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2;" --showHeader=false --outputformat=tsv2 --delimiter=';' -e "use default;show tables;"scan complete in 2msConnecting to jdbc:hive2://charon.devemc.com:2181,cupid.devemc.com:2181,portia.commvault.com:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2;Connected to: Apache Hive (version 0.14.0.2.2.9.0-3393)Driver: Hive JDBC (version 0.14.0.2.2.9.0-3393)Transaction isolation: TRANSACTION_REPEATABLE_READError: Error while compiling statement: FAILED: ParseException line 1:11 missing EOF at ';' near 'default' (state=42000,code=40000)
We have a hive table in cloudera data platform and we need to export the same to oracle.hive:create external table temp_fns .ABC(account_id NUMBER,`1234` number) stored as orc; oracle : create table schema.ABC(account_id decimal(28,0),"1234" decima;(28,0)) ; sqoop export command :sqoop export --connect jdbc:oracle:thin:@//server:1521/xyz --username pravin --P --num-mappers 5 --hcatalog-database temp_fns --hcatalog-table ABC -table schema.ABC -- --batch The ORA error I am getting is "Error: java.io.IOException: java.sql.SQLSyntaxErrorException: ORA-01747: invalid user.table.column, table.column, or column specification"We cannot alter the oracle structure and most important thing is the same sqoop export works from HDP but it fails while exporting from CDP.THe error is because of numeric column name "1234" when sqoop generates insert into statements like insert into schema.ABC (account_id,1234) values (1,234)it fails with ORA error ORA
HTTP ERROR 400 Invalid SNIURI:STATUS:MESSAGE:SERVLET:CAUSED BY:URI: /nifiSTATUS: 400MESSAGE: Invalid SNISERVLET: -CAUSED BY: org.eclipse.jetty.http.BadMessageException: 400: Invalid SNICaused by:org.eclipse.jetty.http.BadMessageException: 400: Invalid SNIat org.eclipse.jetty.server.SecureRequestCustomizer.customize(SecureRequestCustomizer.java:266)at org.eclipse.jetty.server.SecureRequestCustomizer.customize(SecureRequestCustomizer.java:207)at org.eclipse.jetty.server.HttpChannel$RequestDispatchable.dispatch(HttpChannel.java:1594)at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:753)at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:501)at org.eclipse.jetty.server.HttpChannel.run(HttpChannel.java:461)at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:421)at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:390)at org.eclipse.jetty.util.thread.st
I have executed the command hdfs namenode -reformat on my hadoop cluster and the namenode data files have newly generated VERSION file.This created inconsistency as the datanode and namenode VERSION files have different cluster-ID.I manually changed the cluster-id in the datanode VERSION file to match the namenode one. This resulted in succesful start of the cluster but after the start there is a new block create with new blockpoolID which is empy. All my data is in the old datafile with old blockpoolID but it is currently not mapped to my hadoop filestystem.How can I recover my old data and make it accessible in my hadoop cluster again?Can I somehow just start over with my old datafile from datanode?
We're attempting to execute a basic Spark job to read/write data from Solr, using the following environment:CDP version: 7.1.9Spark: Spark3Solr: 8.11Spark-Solr Connector: opt/cloudera/parcels/SPARK3/lib/spark3/spark-solr/spark-solr-3.9.3000.3.3.7191000.0-78-shaded.jarWhen we try to interact with Solr through Spark, the execution process hangs indefinitely, without any errors or results. Other components, such as Hive and HBase, integrate smoothly with Spark, and we’re using a valid Kerberos ticket that successfully authenticates with other Hadoop components. Additionally, we’ve tested REST API calls to Solr via both curl and Python’s requests library, and we’re able to retrieve data with the Kerberos ticket.The problem appears isolated to Spark’s connection with Solr, as all other systems interact as expected. Has anyone experienced a similar issue or have ideas on what might be causing this?Here’s the Spark code we’re trying:solr_options = {"zkhost": "zkURL-01.orgis.ie:2181,zkURL-02.o
using commandALTER TABLE test table DROP PARTITION (START_DATE = DATE_ADD('2023-09-13', -13) )error: SQL Error [500051] [HY000]: [Cloudera][HiveJDBCDriver](500051) ERROR processing query/statement. Error Code: 40000, SQL state: TStatus(statusCode:ERROR_STATUS, info Messages:[*org.apache.hive.service.cli.HiveSQLException:Error while compiling statement: FAILED: ParseException line 1:78 cannot recognize input near 'DATE_ADD' '(' ''2023-09-13'' in constant:17:16Need Result : '2023-08-31'
Hi Team,How can I replace the custom ConsumeASB Processor with the InvokeHttp Processor in NiFi? I am currently using a Topic subscription with my ConsumeASB Processor to read messages from an Azure Service Bus endpoint.How can I configure the InvokeHttp Processor to achieve the same functionality?Could you please provide some inputs.
Hello!Xml file has the following structure: <root> <nested1> <nested2> <nested1>value</nested1> </nested2> </nested1></root> EvaluateXPath processor type_rec property: name(/*/*[1])And I got the following error: EvaluateXPath[id=ce4e0c05-169f-387f-520d-77e2e664bacc] Input parsing failed FlowFile[filename=69de5f2c-a887-4042-8734-beca03e3d27b]: org.apache.nifi.xml.processing.ProcessingException: Parsing failed- Caused by: org.xml.sax.SAXParseException; lineNumber: 6; columnNumber: 5; The element type "nested2" must be terminated by the matching end-tag "</nested2>".As I understand, parser except, at 4 level closed tag </nested1> , because it'v met open tag with the same name at level 2 (<nested1>). But at level 4 file has a new tag with the same name. I tried to use ReplcaseText processor for
Connecting to impala using one of the BI tools with jdbc string on port 21050The connection is successful but drops intermittently for some time with below errorjava.net.SocketException: Connection or outbound has closedThe firewall is open, there is no network issue between two servers
Hi,I have now deployed NiFi on my Kubernetes cluster, and for ease of learning, I modified the contents of the start.sh script in the scripts folder to enable HTTP access. I set all certificate-related content to be empty.Now, I am encountering an issue: when I try to change the environment variable "NIFI_CLUSTER_IS_NODE" to "true", my container fails to start. Strangely, there are no errors in the logs.When such content appears in the logs, the container stops and attempts to restart, repeatedly going through this restart loop.It looks all right, doesn't it? But after this the container just stops.I am wondering if this is because I enabled HTTP access?By the way, can I start a NiFi cluster using the embedded ZooKeeper? I didn’t see an option to configure "nifi.state.management.embedded.zookeeper.start" in the environment variables of the NiFi docker image.I hope to get your help, thank you very much!
2024-11-19 04:52:41,378 WARN [Monitor Processor Lifecycle Thread-1] o.a.n.controller.StandardProcessorNode Timed out while waiting for OnScheduled of ExecuteScript[id=acb441ba-c36b-1fdd-53f2-3a4821d43833] to finish. An attempt is made to cancel the task via Thread.interrupt(). However it does not guarantee that the task will be canceled since the code inside current OnScheduled operation may have been written to ignore interrupts which may result in a runaway thread. This could lead to more issues, eventually requiring NiFi to be restarted. This is usually a bug in the target Processor 'ExecuteScript[id=acb441ba-c36b-1fdd-53f2-3a4821d43833]' that needs to be documented, reported and eventually fixed.
Hi I have a new line character in the data, which I want to process using apache Nifi …since the new line character is in data itself, the data is getting spilled over in new line . Please suggest the solution of the problem
Logged SELECT statement targets table with 10736979 rows. What can the reason for this error? Is it related to query timeout? What is the default driver query timeout? prepareStatement has been running for around 3 hours before driver thrown the error. Caused by: java.sql.SQLException: [Cloudera][ImpalaJDBCDriver](500051) ERROR processing query/statement. Error Code: 0, SQL state: TStatus(statusCode:ERROR_STATUS, sqlState:HY000, errorMessage:Invalid session id: 854422e228b99fe7:8a73e8f716a58fbf), Query: SELECT `type_enr`, `num_enr`, `num_carte`, `seq_carte`, `type_carte`, `cd_pdt_pilotage`, `code_tarif`, `num_cpt`, `letr_cle`, `numero_personne_host`, `nom_porteur`, `typ_porteur`, `autoris_comerc`, `statu_crt`, `dt_statut`, `dt_saisie`, `dt_vente`, `dt_eche`, `dt_der_fab`, `dt_der_fact`, `code_renouv`, `code_suivi`, `date_suivi`, `nbr_recalcul`, `dt_recalcul`, `nbr_relance`, `dt_relance`, `opt_releve`, `num_dern_rlv`, `matr_vend`, `cd_motif`, `usr_crea`, `trm_crea`, `usr
Hello!The source csv file is: 123456TextValue1 654321TextValue2where 123456 and TextValue1 are different values, separated by binary delimiter (\u0001)Similar, 654321 and TextValue2 have non-visible at Web-UI binary delimiter (\u0001)I use ConvertRecord for updating the delimiter from "\u0001" to ";"RecordReader is CSVReader with the following properties:- Schema Access Strategy: Use 'Schema Text' Property- Schema Text: #{test_schema}- Value Separator: \u0001- Treat First Line as Header: false- Ignore CSV Header Column Names: trueRecordWriter is CSVRecordSetWriter:- Schema Access Strategy: Use 'Schema Text' Property- Schema Text: #{test_schema}- Value Separator: ;- Include Header Line: truetest_schema is{"type": "record","name": "test_schema","fields": [{"name": "FIELD_1","type": ["int","null"],"description": "FIELD_1"},{"name": "FIELD_2","type": ["string","null"],"description": "FIELD_2"}]
The document said that "To change attributes based on some condition, use the Advanced User Interface (UI) in the processor by clicking the Advanced button in the lower right corner.". But I cant find anything in Properties of UpdateAttribute
Iam trying to connect hive database using hive-driver npm package in nodejs. But the session can't be established. If anyone please help me on this
Hi,I wanted to know if it is possible to disable kerberos once it has enabled in cloudera. I couldn't find any option to for kerberos in he configuration in cloudera.
we have cluster with 12 Kafka machines and 3 zookeeper servers on Linux servers- Kafka version is 2.7 version , ( broker and controller are co-hosted on the same PID )as known Kafka have 2 important logs and they are **server.log** and **controller.log**about **controller.log** , when we look on this log we can see the following words - "`Shutdown completed`" in the log[2024-08-20 21:42:01,582] INFO [ControllerEventThread controllerId=1001] Shutdown completed (kafka.controller.ControllerEventManager$ControllerEventThread)the first thinking when we see the messages about "`Shutdown completed`" - is like this message is "bad" and why controller stopped ...but when we look on all machines most of the machines have this message as - `Shutdown completed` (`kafka.controller.ControllerEventManager$ControllerEventThread`)**but on other hand** only one controller should be active from all brokers and maybe the messages as "`Shutdown completed`" are only indicate that controllers that are not ac
Hi Team,We are configuring the job in CML to run every 4 hours as shown below. Currently, the job is getting triggered automatically at 12 PM, 4 PM, 8 PM, and 12 AM. But the jobs are not getting triggered at 4 AM and 8 AM. Also, it's not getting triggered over the weekend. Please help us with your expertise if there is any additional setting or any admin configuration that we need to validate here. Thanks in advance!
Hello,Yesterday, I purchased the CDP-2001 CDP Administrator - Private Cloud Base Exam, but I haven’t yet received the follow-up email to schedule my exam. I only received the payment confirmation. All of my colleagues received their scheduling email right away. Could you please look into this for me?Thank you!
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.