Find answers, ask questions, and share your expertise
Recently active
Hi All, We are getting the below error intermittently for some tables and we have hive 3.1 . I am passing a sample query like insert into table test as select * from some table in Nifi PutHiveSQL processor . Hive target table is managed table and stored as avro format Error :PutHive3QL[id=d1652e76-54f7-30cf-8dc8-b1934cee3c26] Failed to update Hive for StandardFlowFileRecord[uuid=7447e7f0-4d1e-40fa-9965-5c98f7d11341,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1618924236521-4, container=default, section=4], offset=154416, length=3631],offset=0,name=20210421_test_branch_info,size=3631] due to java.sql.SQLException: Error while compiling statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.StatsTask. MetaException(message:Cannot change stats state for a transactional table ra_test.test_branch_info without providing the transactional write state for verification (new write ID -1, valid write IDs null; current state
CDP 7.1.6 with Isilon OneFS v8.2.2.0, AD kerberos enabled. While installing RangerKMS service, it failed to start up with the following errors: [root@n04 ~]# less /var/log/ranger/kms/ranger-kms-n04.gz.local-kms.log2021-06-11 08:30:32,179 INFO org.apache.hadoop.crypto.key.kms.server.KMSWebApp: -------------------------------------------------------------2021-06-11 08:30:32,181 INFO org.apache.hadoop.crypto.key.kms.server.KMSWebApp: Java runtime version : 1.8.0_232-b092021-06-11 08:30:32,185 INFO org.apache.hadoop.crypto.key.kms.server.KMSWebApp: KMS Hadoop Version: 3.1.1.7.1.6.0-2972021-06-11 08:30:32,185 INFO org.apache.hadoop.crypto.key.kms.server.KMSWebApp: -------------------------------------------------------------2021-06-11 08:30:32,208 INFO org.apache.ranger.plugin.classloader.RangerPluginClassLoaderUtil: getFilesInDirectory('/opt/cloudera/parcels/CDH-7.1.6-1.cdh7.1.6.p0.10506313/lib/ranger-kms/ews/webapp/WEB-INF/classes/lib/ranger-kms-plugin-impl'):
I am getting following error. I correctly put the path in server.properties, zookeeper.properties and zoo.cfg cmd>C:\kafka_2.11-2.0.0> .\bin\windows\kafka-server-start.bat .config\server.propertiesAccess is denied.log4j:ERROR setFile(null,true) call failed.java.io.FileNotFoundException: \logs\server.log (The system cannot find the path specified)
Hello Team, Not able to change my company's name in my profile. By mistake during account creation, selected incorrect company's name. Request you to kindly fix it. Thanks,Alex
Hi guys, How to get user specified configuration data in hive udf? what is your solution?i think there are basically three ways to achieve this goal:1. use a hdfs file to store the configuration data in xml/json/txt format, and then read the hdfs file in udf, users need to change the hdfs file when they want to change specific configuration parms;2. use a local xml/json/txt file and pack it into the udf jar, then read the local file in udf, users need to change the local file and repack it into the udf jar when they want to change specific configuration parms;3. use a hive table to store the configuration data, then read the table using hive sql dml statements in the udf (I know this sounds strange, normally we don't issue sql queries to hiveserver2 in udf, but this should also be possble), users can use hive sql dml to change specific configuration parms when they need to.4. use a hive table to store the configuration data, then read the underneath hdfs file to get configur
I have run manually minor and major compaction. Table data is referring to the new delta and base folder but the old delta and base folders are not removing and it consumes the hive storage. Moreover, No running job is referring to this table.Queries: create table compaction_check.check_file(name string, age int);insert into compaction_check.check_file values('user 1', 10),('user 2', 20),('user 3', 30);insert into compaction_check.check_file values('user 4', 10),('user 5', 30),('user 6', 15);ALTER TABLE compaction_check.check_file COMPACT 'major'; Check input files: select distinct INPUT__FILE__NAME FROM compaction_check.check_file; output: Actual table directory : Why stale the base and delta folders are not removed?
Hello,I am getting following error when trying to start Hive server = 2021-05-20 12:21:50,088 - Will retry 7 time(s), caught exception: ZooKeeper node /hiveserver2 is not ready yet. Sleeping for 10 sec(s)2021-05-20 12:22:00,098 - call['/usr/hdp/current/zookeeper-client/bin/zkCli.sh -server hdp-master.mydomain.com:2181,hdp-slave2.mydomain.com:2181,hdp-slave1.mydomain.com:2181 ls /hiveserver2 | grep 'serverUri=''] {}2021-05-20 12:22:00,780 - call returned (1, '')2021-05-20 12:22:00,781 - Will retry 6 time(s), caught exception: ZooKeeper node /hiveserver2 is not ready yet. Sleeping for 10 sec(s)2021-05-20 12:22:10,791 - Process with pid 12962 is not running. Stale pid file at /var/run/hive/hive-server.pid I referred to similar threads at this forum but didn't help.Pls suggest how to fix this issue thank you.Regards,Amey.
Hello, I would like to download the CDH sources to securize my deployed clusters (one in 5.4.3 and the other in 5.12.1) but when I try to download with wget and the detail found in pagehttps://docs.cloudera.com/documentation/enterprise/release-notes/topics/cdh_vd_cdh_download_54.html#concept_j4t_2x3_1torhttps://docs.cloudera.com/documentation/enterprise/release-notes/topics/cdh_vd_cdh_download_512.html#cdh_vd_cdh_download_512 I try with my account informations but when I use them directly I obtain a n error "Wrong port number" and I try to encode the password for url and this time I obtain.Does anyone could help me please --2021-06-07 16:18:12-- https://*login*:*password*@archive.cloudera.com/p/cdh5/ubuntu/trusty/amd64/cdh/Résolution de archive.cloudera.com (archive.cloudera.com)… 151.101.120.167Connexion à archive.cloudera.com (archive.cloudera.com)|151.101.120.167|:443… connecté.requête HTTP transmise, en attente de la réponse… 401 Authentication requiredAuthentification sé
I get two flow files and I need to look at the value of data in flow files based on two different conditions in RouteOnAttribute. If both the conditions match, then only the flow should be routed to executeSQL processor, else it should flow down to MonitorActivity Processor. I tried multiple ways, but this is not working. Every time, when one of the conditions match, it gets routed to executeSQL Processor.
Hi, I got a problem while sending a Zero Byte flow file through Nifi PutSFTP processor. Wondering if there is some configuration I have to set? thanks. Use case: get a file from a directory (GetFile Processor) send the file through SFTP (PutSFTP Processor)if success, change the filename to new filename (UpdateAttribute Processor)Remove the all of the content (ReplaceText Processor). Zero Byte flow file send the new filename through SFTP (PutSFTP Processor) I gotten this error while sending Zero Byte flow file over using PutSFTP ProcessorPutSFTP[id=1a091db4-1f9e-14cd-5206-1514485febc8] Rejecting StandardFlowFileRecord[uuid=247457a8-6608-4271-a626-3c016a1bbe7c,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1618805512561-40, container=default, section=40], offset=15043, length=0],offset=0,name=AS_MPS_20200927_010010.xml.done,size=0] because it is zero bytes It will be great if someone could help me. Thanks in adv
Hello, I am trying to execute 1 .hql script from Edge node. [hdp-slave4.mydomain.com] hdp-slave4 machine is not running any server roles i.e. zookeeper or hive. Only having zookeeper & hive clients.HDP version: 3.1.4 Command = hive -f ./dumping_test_script.hql I am getting following error =INFO : Moving data to local directory /home/user1/user1_Run_Jar/AB_HIVE_1805 2021/neo4j-graph-preparation/data-files/user_stats from hdfs://hdp-master.mydomain .com:8020/tmp/hive/hive/df588c46-4e05-4a5c-8fde-5b7aaf9329a6/hive_2021-06- 01_13-55-09_157_7991483949013764396-29555/-mr-10000ERROR : FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.ex ec.MoveTask. Unable to move source hdfs://hdp-master.mydomain.com:8020/tmp/hive/hive/df588c46-4e05-4a5c-8fde-5b7aaf9329a6/hive_2021-06-01_13-55-09_157_79914 83949013764396-29555/-mr-10000 to destination /home/user1/user1_Run_Jar/AB_HIVE_18052021/neo4j-graph-preparation/data-files/user_statsDEBUG : Shutting down query INSERT
Hello,We have a 9 node HDP 3.1.5 cluster with erasure coding enabled. The hdfs fsck command returns under replicated blocks though the filesystem under path '/' is HEALTHY. Please advise how to reconstruct the replication for the under replicated blocks. Please find the hdfs fsck report below: [hdfs@hostname (prod) ~] $ hdfs fsck /Connecting to namenode via http://namenode:50070/fsck?ugi=hdfs&path=%2FFSCK started by hdfs (auth:SIMPLE) from /10.19.224.62 for path / at Wed May 26 22:48:22 PDT 2021/app/warehouse/db/data/eventdate=20210516/00000-21028-5a7dd08a-8c9e-4f62-b920-b6265292da8c-00001.orc: Under replicated BP-350338832-10.19.224.63-1582213708410:blk_-9223372036850161008_890690. Target Replicas is 9 but found 8 live replica(s), 0 decommissioned replica(s), 0 decommissioning replica(s)./app/warehouse/db/data/eventdate=20210408/00047-789-396cdf80-9b0b-4411-a6e2-a1094cfb223e-00001.orc: Under replicated BP-350338832-10.19.224.63-1582213708410:blk_-9223372036850438512_87
Hello, I am taking a big data class and am new to this whole field, so I apologize for any incorrect use of terminology. I am trying to use sandbox. I was able to create a virtual machine, login to port 4200 with the username "root" and change the admin password using "ambari-admin-password-reset". The password works when I log into port 8080. But when I try to go back to port 4200 and login as "admin", instead of "root", the password doesn't work. Is there a different password? What am I missing? Any suggestions would be great. Thanks
I'm trying the processor ReplaceText to change all my dot to comma, but i can't I really need some help here, please. This is my CSV file: MONEY (header)109.29 I need this result MONEY (header)109,28
Is there a processor that can detect hidden characters in NiFi? In our test environment I am using an API invoke to deliver a JSON payload, for added security we want to filter out any hidden and potentially malicious text. I have been trying to use RouteText, RouteOnContent and ExtractText processor to only allow alphanumeric and punctuation characters through but can't seem to get the regex to work when looking for 'uncommon' text or characters? any help would be appreciated. Andy
Hello, I have followed this guide:https://docs.cloudera.com/documentation/enterprise/5-16-x/topics/cm_ag_change_hostnames.html In order to change the hostname on my Cloudera single node CMS system. However, now none of my services will start. Everything is set to localhost (because its all on this one host). I notice that the old hostname is still referenced for the server... Even though Hive, Hue, YARN, etc are all set to "localhost" for their databases my ZooKeeper server keeps thinking it's still the previous hostname.How do I get rid of the hostname that is stuck in Cloudera Manager / ZooKeeper? The only other thing I can think to do is remove the "Server Name override" for the ZooKeeper myid and then restart the service to see if it picks up the new hostname.
Hi, According to the official Nifi documentation, the state allows Nifi processors to "resume from the place where it left off after NiFi is restarted. Additionally, it allows for a Processor to store some piece of information so that the Processor can access that information from all of the different nodes in the cluster". If my understanding is good, when we configure a zookeeper Provider, the state will not be persisted locally, instead, the data will be sent to zookeeper. I've explored the zookeeper znodes and could not find any data related to the state, all I can find are the informations about the Coordinator and Primary nodes. However, the local state directory is still filled. The configuration is very simple, I've 3 external ZK nodes and 3 Nifi instances. Here is an exerpt of the nifi.properties file:nifi.cluster.is.node=truenifi.zookeeper.connect.string=zk-node1:2181,zk-node2:2181,zk-node3:2181nifi.state.management.embedded.zookeeper.start=falsenifi.
How Can I get access (login/password) to old HDP repository ? I need 3.1.5. from https://archive.cloudera.com
File 'hdfs://xxx:8020/data/hive/warehouse/xxxx.db/test_bak/8743abe2968ecbe7-3f9c13700000000_2053286657_data.0.parq' has an incompatible Parquet schema for column 'xxxx.test_bak.ordered_revenue'. Column type: STRING, Parquet schema: optional double ordered_revenue [i:20 d:1 r:0] I made this change in Hue.
Hi, One of our customer willing to migrate to CDP 7.x, however customer wants to use code base of Flume developed in earlier version of CDP.Customer is not willing for NiFi migration and want to check if we can copy the open source Flume binaries to CDP 7.x and setup the runtime of Flume. Can this be achievable? Any suggestion are appreciated. ThanksVenkata Madhu
Hi experts,Many of the devs are getting the following error when trying to connect with squirrel:Error: org.apache.thrift.transport.TTransportException: java.net.SocketTimeoutException: Read timed outSQLState: 08S01ErrorCode: 0 I believe the issue may be because there are too many concurrent hive connections. Can someone help suggest how should i configure this to allow more hive connections?Also I find it weird that I can connect through beeline using the edge node of that cluster but Squirrel is giving an error. Thanks,Any help is much appreciated.
Hi Community I am trying to copy HDFS from an HDP 2.6.x cluster (kerberized) to a CDP Private Cloud Base 7.1.5 cluster (not kerberized) and using other ports as well, it gives me an error So I write the command in consolehadoop distcp hdfs://svr2.localdomain:1019/tmp/distcp_test.txt hdfs://svr1.local:9866/tmp/ what could be the origin of the fault? Thank you ***********ERROR*************************Java config name: nullNative config name: /etc/krb5.confLoaded from native config>>>KinitOptions cache name is /tmp/krb5cc_11259>>>DEBUG <CCacheInputStream> client principal is useradm/admin@LOCALDOMAIN>>>DEBUG <CCacheInputStream> server principal is krbtgt/LOCALDOMAIN@LOCALDOMAIN>>>DEBUG <CCacheInputStream> key type: 18>>>DEBUG <CCacheInputStream> auth time: Sun May 09 18:39:04 VET 2021>>>DEBUG <CCacheInputStream> start time: Sun May 09 18:39:04 VET 2021>>>DEBUG <CC
Hello, I'd like to implement a lock mechanism in a data flow that prevents a flow file from progressing. Similar in a way to the wait processor, holding a flowfile in a queue while another flowfile with a corresponding signal attribute passes through a 'gate' further down the flow, similar to a notify. In my specific case I load a number of files received together in to target tables. I have a single flow which does the following: PutSql - issues a truncate table command that empties the target staging table. The table name is taken from an attribute.PutDatabaseRecord - Inserts the records into the staging table based on the same attribute.PutSql - executes a stored procedure passing the relevant tables name as parameter from the attribute. This SP merges data from the staging table into a 'main' table.A number of these files, share the same staging and target tables and on occasions I have a race condition where the the staging table is trun
Hi, I am new to NIFI, I wanted to Get total count of number of events per minute from consumer kafka.After searching on internet, I get 'UpdateCounter' , but information was very less. Can someone suggest me how to add counter . I added ${filename} in UpdateCounter>properities>counter name, It is giving individual file name with value 1 in hamburger menu>counter.Or is there any other processor that can give the event count from the consumer kafka.Thank you in advance.
Hello, We are currently using CDH 6.3 with Kafka as one of the components. We have Kafka and Zookeeper services installed and running. Want to install the Kafka Connect service to install and run a few source and sink connectors. Is it possible to do so with this distribution.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.