Ask questions, get answers, or find community-sourced articles
Recently active
How does nifi delay scanning the files on the ftp server, which processor to choose,thank you
How to convert String Into Int in the SQL table
While creating table , its failing with below error.Query: CREATE TABLE REPORTKUDUPRIMARY KEY(Marketing_Cloud_Visitor_ID)PARTITION BY HASH(Marketing_Cloud_Visitor_ID) PARTITIONS 10STORED AS KUDU TBLPROPERTIES('kudu.master_addresses'='X.X.X.X','kudu.num_tablet_replicas'='1')AS SELECT * FROM REPORTN WARNINGS: Error applying Kudu Op.: Incomplete: buffer size limit is too small to fit operation: required 52236317, size limit 10485760Key already present in Kudu table 'impala::db.REPORTKUDU'. (1 of 9006 similar)
Hello I'm new to the community and to cloudera/big data in general, I am having issues with hive performance I have for example a table of 600 records and when I use a select * it runs in .05 seconds but if I use for example a count(*) or any function it runs in like 17 seconds, do any have any tip or trick to check performance or what parameter to check/modify in order to improve this execution time? My enviroment are CDH 6.1.0 withHive 2.1.1-cdh6.1.0 Thank you in advance Ulises Rangel
Hello Guys, We have 3 node NiFi cluster and the NiFi version is 1.12.1nifi-hatest-01nifi-hatest-02nifi-hatest-03 All the 3 nodes are in cluster, but not in UI.In all the 3 NiFi nodes, we see this 2 nodes in cluster mode:Now, as we see nifi-hatest-02 is the primary and cooridantor. And nifi-hatest-03 is not being shown here. In nifi-hatest-01, we see nifi-hatest-01 is connecting to nifi-hatest-022022-01-19 16:02:09,840 INFO [Clustering Tasks Thread-1] o.a.n.c.c.ClusterProtocolHeartbeater Heartbeat created at 2022-01-19 16:02:09,820 and sent to nifi-hatest-02:9088 at 2022-01-19 16:02:09,840; send took 20 millis In nifi-hatest-03, we see nifi-hatest-03 is also connecting to nifi-hatest-022022-01-19 16:02:09,840 INFO [Clustering Tasks Thread-1] o.a.n.c.c.ClusterProtocolHeartbeater Heartbeat created at 2022-01-19 16:02:09,820 and sent to nifi-hatest-02:9088 at 2022-01-19 16:02:09,840; send took 20 millis In nifi-hatest-02
Hi Team , We have upgraded from CDH to CDP 7.4.4,Atlas has been installed and Navigator also running parallely .Is it safe to remove and clean up databases of cloudera navigator and from CM ?Please share the steps involved. Thanks,Syed
Hi,We are not able to start the metrics collectors. We get the following alerts on ambari : Every time we tried to start the metrics collector without any success, We are getting the following logs:stderr: /var/lib/ambari-agent/data/errors-90083.txtPython script has been killed due to timeout after waiting 1200 secs stdout: /var/lib/ambari-agent/data/output-90083.txt...2022-01-17 16:25:00,758 - Execute['/usr/bin/kinit -kt /etc/security/keytabs/ams.collector.keytab amshbase/xx-xxx-x1-xx03.xxxxx.xx@XXXX.XXXXX.XX; /usr/sbin/ambari-metrics-collector --config /etc/ambari-metrics-collector/conf --distributed start'] {'user': 'ams'} /var/log/ambari-metrics-collector/ambari-metrics-collector.log...2022-01-18 07:32:51,941 WARN Timed out waiting to close instance java.util.concurrent.TimeoutException at java.util.concurrent.FutureTask.get(FutureTask.java:205) at org.apache.phoenix.jdbc.PhoenixDriver$1.run(PhoenixDriver.java:101)2022-01-18 07:35:26,793 WAR
Hello, I wanted to ask if there's a page / instructions / info regarding the recent log4j2 vulnerability (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44228) and how it can affect Cloudera CDH setups? If it does affect, what are the recommended mitigations on it? Thanks, Mor
Is Apache NiFi HIPAA certified?
Hello Experts, I have a 3 node nifi cluster with host name as nifi-hatest-01, nifi-hatest-02, nifi-hatest-03. nifi-hatest-01 is primary node at the moment and I can see (in logs) it is receiving heartbeats from 02 & 03.And if I create flows in any one of the 3 nodes it gets sycned to all nodes. But the problem now is the 3rd node (nifi-hatest-03) does not show up in the "cluster" tab of Nifi UI. Any idea what could be the issue?any suggestion would be much appreciated. @MattWho @GangWar @smdas ThanksMahendra
I have a flow that extracts an ID from a flow file, then does an ExectueSQL to fetch some additional data. Since this is one at a time, it's very inefficient (~300 records per minute - which doesn't sound bad until it's processing a million records). Is there a way to run flow files through a process and extract the required value in batches of 50 or 100 so that it returns a comma-separated value (like 123, 124, 125, 126, ... etc.) to pass to the ExecuteSQL so it's returning data in larger batches instead of one at a time? Currently, it's doing an EvaluateJsonPath, pulling that one value to a property so the ExecuteSQL processor can construct the SQL like "SELECT * FROM TABLE_NAME WHERE KEY = ${key}". I'd like to modify that so it's "...WHERE KEY IN (${keyList})" and keyList is the comma-separated list created above. Not sure how to approach this, however.
I have a JSON text coming in a flowfile. { "_id":{ "_data":"8261DB7CD7000000362B022C0100296E5A1004B9491C697A7B45E1BCDF455EB59ABC6F46645F6964006461DB7CD7564AB600124193730004" }, "operationType":"insert", "clusterTime":{ "$timestamp":{ "t":1641774295, "i":54 } }} I would like to be able to replace all JSON attribute names with lowercased names.Nifi is quite new to me. Can anyone please give a sample implementation?Thank you very much.
Please help me, I found log files making full on path after I deleted some logs in /var/log/cloudera-scm-agent and back to CM. I try to restart Cloudera Management Service and then I face Event Server cannot start anymore My stdout err message show as below : [14/Jan/2022 19:41:19 +0000] 29231 MainThread redactor INFO Started launcher: /opt/cloudera/cm-agent/service/mgmt/mgmt.sh eventserver[14/Jan/2022 19:41:19 +0000] 29231 MainThread redactor ERROR Redaction rules file doesn't exist, not redacting logs. file: redaction-rules.json, directory: /run/cloudera-scm-agent/process/22986-cloudera-mgmt-EVENTSERVER[14/Jan/2022 19:41:19 +0000] 29231 MainThread redactor INFO Re-exec watcher: /opt/cloudera/cm-agent/bin/cm proc_watcher 29239+ date+ dateFri Jan 14 19:41:20 +07 2022+ umask 027+ BASE_JAVA_OPTS='-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC'+ MGMT_HOME_ARG_NAME=--mgmt-home++ dirname /opt/cloudera/cm-agent/service/mgmt/mgmt.sh+ cloudera_config=/opt/
Is it possible to send hive variables to multiple hql files/queries and execute them in a single hive session?when I try something like this, only the first query is picking up the variables and other is returning no result. $beeline -u "{$url}" --hivevar FROM=2020 --hivevar TO=2021 -e "$(cat loadTable1.hql loadTable2.hql)" Where both the hqls take these two variables as parameters.My goal is to run my hqls in parallel in one hive sessions, are there any cons to this approach? -Thanks
HI,We have a HDFS Capacity Utilization alert on Ambari. The alert says that we have a 81% Disk usage. After check in HDFS we realized that most of the data used comme from the following folders:- /tmp- /user/hive/checkpoints_tmpCould you please give us a clear procedure to clean up those folders without losing any data?Thank you Environnement infos:HDP-3.0.1.0HDFS 3.1.0YARN 3.1.0MapReduce2 3.0.0.3.0Hive 3.0.0.3.0HBase 2.0.0.3.0ZooKeeper 3.4.9.3.0Ambari Metrics 0.1.0Atlas 0.7.0.3.0Kafka 1.0.0.3.0Knox 0.5.0.3.0Ranger 1.0.0.3.0Kerberos 1.10.3-30
Hi, I am getting error when I run kudu ksck command Errors:==================Corruption: master consensus error: there are master consensus conflictsFAILEDRuntime error: ksck discovered errors All 3 Masters & Tablet server are reported as healthy, Any assistance / pointer in fixing this error. Thanks
Hi Everyone, I need to delete hbase znode from zokkeeper CLI but getting follwing error when I try that:[zk: localhost:2181(CONNECTED) 1] rmr /hbase-secureAuthentication is not valid : /hbase-secure/replication[zk: localhost:2181(CONNECTED) 2] This is the ACL set:[zk: localhost:2181(CONNECTED) 11] getAcl /hbase-secure'world,'anyone: r'sasl,'hbase: cdrwa I have even tried to set the ACL as follows but it didn't help either:[zk: localhost:2181(CONNECTED) 7] setAcl /hbase-secure world:anyone:cdrwaAuthentication is not valid : /hbase-secure[zk: localhost:2181(CONNECTED) 8] rmr /hbase-secureAuthentication is not valid : /hbase-secure/replication The Cluster is kerberized, what am I missing here? Appreciate all the help!
Hi guys, good afternoon!I'm using NiFi to load a Hive table.I would like to know what alternatives I have and how I need to proceed so that a FlowFile from the ExecuteSQL Processor is transformed from AVRO to TXT (CSV).I tried to use ConvertRecord Processor but AvroReader, even using Embedded Avro Schema, gives the following error:ConvertRecord[id=be0735bf-babb-134a-acfa-71df3952b30d] Failed to process StandardFlowFileRecord[uuid=610e5f55-7040-45d5-8c79-d734dbd589d2,claim=StandardContentClaim [resourceClaim=179,sectionidresource12,container=12 container=12 =112], offset=53226, length=1281],offset=0,name=46842655031134935,size=1281]; will route to failure: org.apache.nifi.processor.exception.ProcessException: Cannot write Schema Name As Attribute because the Schema Name is not knownI have an HDP version 2.6.5 and the NiFi version is 1.5.0.3.1.2.0-7Thanks in advance for any help.Luis Leite
Hi,We are trying to run some code in parallel using Zeppelin two notebooks in two Zeppelin UI open in two tabs in the browser login with the same user. However, even if we run both notebooks at the same time, one of them gets executed and the other one waits until the first one finishes to start running. Is it normal behavior of Zeppelin? Is there any way it supports parallel execution of notebooks with the same user? Thanks.
We have a new 1.13.2 NIFI Cluster. The cluster has nodes randomly restarting and we are unable to determine the cause. We do see 'connection refused' errors intermittantly without explanation in the logs (attached). We don't know what additional steps are to take at this point. nifi.properties and latest nifi-app.log. Cluster Details12 x 8 cores - 32gb of Memory These servers leverage a 5 node Zookeeper Quorum, we have not seen latency or file handler issues there. NIFI Properties File (redacted to protect the innocent)# Licensed to the Apache Software Foundation (ASF) under one or more# contributor license agreements. See the NOTICE file distributed with# this work for additional information regarding copyright ownership.# The ASF licenses this file to You under the Apache License, Version 2.0# (the "License"); you may not use this file except in compliance with# the License. You may obtain a copy of the License at## http://www.apache.org/l
Hello All, I am trying to access the NiFi bulletin-board through NiFi API with InvokeHTTP process in order to consume the failure message. Referencing these curl command of this post: Creating NiFi Template via Rest API I am at the V1.15 with single-user login mode.My current attempt is:1. User GenerateFlowFile to simulate the content for API /access/token.{"Custom Text" : "username=${username}&password=${password}"} 2. Use InvokeHTTP to request the access token.HTTP MethodPOSTRemote URLhttps://localhost:8443/nifi-api/access/tokenContent Typex-www-form-urlencodedThis will response an access token which will be sent within the header. 3. Use InvokeHTTP to request the bulletin-board.HTTP MethodGETRemote URLhttps://localhost:8443/nifi-api/bulletin-boardAuthenticationBearer ${access_token}This will response the bulletin-board I need.HoweverIn my current approach, the password will appear in the flowfile content as plain-text witch doesn't make it a
Hi,I am facing issues with HDFS in my Cloudera Manager cluster. I have a cluster of 4 virtual machines (1 master and 3 slaves) on cloud and at every shutdown and restart of the cluster/vms HDFS shows some missing blocks.I have found a "workaround" as deleting the missing files and restarting the service would solve the problem but sometimes the missing files contain important data related to other hadoop services that generate issues if they are removed. Is there another solution to avoid deleting data ?Thank you.
Hello,I use yarn (base on HDP3.1.5.0-152),when I view the nodemanager log,I found the log doesn't note the log likes:INFO org.apache.hadoop.yarn.server.nodemanager.containermanager.monitor.ContainersMonitorImpl: Memory usage of ProcessTree 28532 for container-id container_e51_1637148502450_21618293_01_000024: 4.1 GB of 4.5 GB physical memory used; 6.3 GB of 9.4 GB virtual memory usedI don't remember there are some conf in yarn-site.xml can control this.Any one help?
FileSystem Operation Failed: File /tmp/xxx.txt could only be written to 0 of the 1 minReplication nodes. There are 1 datanode(s) running and 1 node(s) are excluded in this operation. I'm using Cloudera Trial version installed in single node. Does anyone have this problem too?
I'm just starting to learn NiFi. I need to read parquet data from s3 bucket, I don’t understand how to set up lists3 and fetchs3object processors for reading data. full path looks like this: s3://inbox/prod/export/date=2022-01-07/user=100/cro.parquet I'll write data to sql database - I don't have problems with it, but not sure)) I tried to configure the lists3 processor myself and I think is not very good bucket inbox aws_access_key_id aws_secret_access_key region US EAST endpoint override URL http://s3.wi-fi.ru:8080
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.