Find answers, ask questions, and share your expertise
Recently active
Hi Experts, One of our oozie workflow got failed while sqoop import job. Please find below logs: org.apache.velocity.exception.VelocityException: Error initializing log: Failed to initialize an instance of org.apache.velocity.runtime.log.Log4JLogChute with the current runtime configuration. in other logs as : org.springframework.web.client.HttpServerErrorException: 500 null Please tell what could be the possible cause of this failure, we retried this job but getting the same error.
Hi Experts, One of the Impala daemon suddenly went down and we are unable to bring it up. Some queries were executed on the impala daemon. I have captured the logs when it got shutdown. Could not open log file: /var/log/impalad/lineage/impala_lineage_log_1.0-1647629222243@ 0x95b479 impala::Status::Status()@ 0xd00b95 impala::SimpleLogger::FlushInternal()@ 0xd01fcf impala::SimpleLogger::Init()@ 0xbb9c2a impala::ImpalaServer::InitLineageLogging()@ 0xbcb25e impala::ImpalaServer::ImpalaServer()@ 0xbb676d ImpaladMain()@ 0x8e2593 main@ 0x7f5cf7658495 __libc_start_main@ 0x9299e1 (unknown) ERROR cc:312 Aborting Impala Server startup due to failure initializing lineage logging. Impalad exiting. Can some one please tell what steps should be taken, Just to note Enable Audit Collection and Enable Impala Audit Event Generation is enabled/checked.
Version 1.15.3Windows Server 2019 Standard After GUI login receive the following error: Invalid StateThe Flow Controller is initializing the Data Flow.
Version 1.15.3 Windows Server 2019 Standard # zookeeper properties, used for cluster management #nifi.zookeeper.connect.string=nifi-inf-02:2181,nifi-inf-03:2181nifi.zookeeper.connect.timeout=10 secsnifi.zookeeper.session.timeout=10 secsnifi.zookeeper.root.node=/nifinifi.zookeeper.client.secure=falsenifi.zookeeper.security.keystore=nifi.zookeeper.security.keystoreType=nifi.zookeeper.security.keystorePasswd=nifi.zookeeper.security.truststore=nifi.zookeeper.security.truststoreType=nifi.zookeeper.security.truststorePasswd=nifi.zookeeper.jute.maxbuffer= After configuration of cluster the service spits the following error on startup. Please check the configuration of the Cluster State Provider with ID [zk-provider] in the file D:\nifi-1.15.3\.\conf\state-management.xmlat org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:176)at org.springframework.beans.factory.support.FactoryBeanRegistrySupport
Hi we have noticed through Ambari that one of the datanode has the status "DEAD"It seems that the process to replicate the block from the datanode to the rest of the datanode has started. In the main time what should be the proper procedure to restart the dead datanode? Thank you
Hello, I have a question regarding hive bucketed tables (bucketed only no partitions) optimization. Now, I know that if we have table A and table B and we want to join them using A.COL1 and B.COL1 ( A.COL1 = B.COL1), we should bucket both table A and B on col1 into same no of buckets or its multiple. But what if we have more than 2 tables ? for example, I have table A and I want to join it on table B and table C. table A is joined with table B using COL1 (A.COL1 = B.COL1) and table A is joined with table C using COL2 (A.COL2 = C.COL2 ) what columns should I cluster by for table A ??? is it bucket by COL1 and COL2 (clustered by col1,col2)? in summary, how can I optimize one table if it is joined with more than one table using buckets only. Thanks in advance.
Is it possible to connect to on-prem kafka cluster using Kerberos authentication from cloud deployed service?When we are trying to connect we are getting below error:Caused by: KrbException: Generic error (description in e-text) (60) - Unable to locate KDC for realm "ABC.COM"This is my jaas config:com.sun.security.auth.module.Krb5LoginModule required useKeyTab=true storeKey=true keyTab="/pathtokeytab" principal="principal_name@ABC.COM" ; Please help me if anyone has faced such error. Full stack trace: Caused by: org.apache.kafka.common.KafkaException: javax.security.auth.login.LoginException: Cannot locate KDC at org.apache.kafka.common.network.SaslChannelBuilder.configure(SaslChannelBuilder.java:162) at org.apache.kafka.common.network.ChannelBuilders.create(ChannelBuilders.java:146) at org.apache.kafka.common.network.ChannelBuilders.clientChannelBuilder(ChannelBuilders.java:67)
I have the following json file :“a”:{ “after”:{ “a123”:{ “ip”:”1.0.0.0”, “p_id”:”4500” } },“before”:{ “a123”:{ “ip”:”1.0.0.0”, “p_id”:”4500 } }} I'm trying to create a lookuprecord Processor in NiFi to match with the p_id. If matched then route to something and if unmatched then route to something else. The lookuprecord processor I have is a MongoDBLookUpService.The user expression I've written for the lookuprecord processor is :key : /a/after/*['p_id']Note: [*] because that bit in json keeps changing with e
If I have 3 environments eg :SIT,UAT,PROD each is having 5 nodes(total 15 nodes). I need 3 independent CDP clusters which will be having 5 nodes each. If I take a CDP license of 15 nodes can I create 3 independent clusters using the same license or I need to take separate license for each. Please assist on thisThanks & RegardsRahul P
I am trying to setup "Deploying Hortonworks Sandbox on Docker" on MAC M1 for practice , unfortunately i am not able to find a solution in spite of google search /stock overflow Official Cloudera Installation directory https://www.cloudera.com/tutorials/sandbox-deployment-and-install-guide/3.html Reference installation https://javamana.com/2021/02/20210206191356735v.html below is my configuration Ram - 16gb - i have allocated 12 gb Rosetta2 Installed Docker installed Mac M1 Docker hub image link https://hub.docker.com/r/hortonworks/sandbox-hdp/tags docker pull hortonworks/sandbox-hdp:3.0.1 --platform linux/amd64 Script #!/usr/bin/env sh#This script downloads HDP sandbox along with their proxy docker containerset -x# CAN EDIT THESE VALUESregistry="hortonworks"name="sandbox-hdp"version="3.0.1"proxyName="sandbox-proxy"proxyVersion="1.0"flavor="hdp"# NO EDITS BEYOND THIS LINE# housekeepingecho $flavor > sandbox-flavor# create necessary folders fo
I'm having issues with ExecuteStreamCommand, I have set up the Argument Delimiter as ~ like screenshot below: However when ERROR_DETAIL attribute contains newline characters (\n or %0A) apparently Nifi treats the newline as a delimiter and hence the shell script receives more than 1 arguments in the place of ERROR_DETAIL. I was expecting Nifi to use strictly just the ~ character as the argument delimiter. Am I missing a different config in Nifi? Is there a way to make Nifi ignores the newline and only use the ~ as the delimiter?
Dear: Recently i met a KUDU issue which was randomly occurred. Below is the details.CDH Version: 5.14.2KUDU Version: 1.6.0-cdh5.14.2ERROR Information:21/11/28 06:56:03 ERROR yarn.ApplicationMaster: User class threw exception: org.apache.kudu.client.NoLeaderFoundException: Master config (10.186.93.6:7051,10.186.93.24:7051,10.186.93.8:7051) has no leader. Exceptions received: org.apache.kudu.client.RecoverableException: connection disconnected,org.apache.kudu.client.RecoverableException: connection disconnectedorg.apache.kudu.client.NoLeaderFoundException: Master config (10.186.93.6:7051,10.186.93.24:7051,10.186.93.8:7051) has no leader. Exceptions received: org.apache.kudu.client.RecoverableException: connection disconnected,org.apache.kudu.client.RecoverableException: connection disconnectedat org.apache.kudu.client.ConnectToCluster.incrementCountAndCheckExhausted(ConnectToCluster.java:273)at org.apache.kudu.client.ConnectToCluster.access$100(ConnectToCluster.java:49)at org.a
Hello Team,Our impala services are not starting : its failing with below log file:Although we have put all configuration file in Impala configuration.4:18:23.781 PM INFO cc:370Webserver: set_ssl_option: cannot open /opt/cloudera/security/x509/key/host.pem: error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt4:18:23.782 PM INFO cc:124Webserver: Could not start on address 0.0.0.0:8007@ 0xb5e579@ 0x11e5fec@ 0x110e053@ 0xac6b1c@ 0x7ffa35134554@ 0xb237e84:18:23.782 PM FATAL cc:59Webserver: Could not start on address 0.0.0.0:8007
I was looking for jar files like below but not sure which drivers I need and where to obtain them. hive-exec.jarhive-jdbc.jarhive-metastore.jarhive-service.jar Any support is greatly appreciated! Thank YOU!
Hello I am having an issue retrieving bucket contents into NiFi using the FetchS3Object processor. I have configured the ListS3 processor to pull in a json array containing all the bucket information, I'm happy that's working ok... example output: I have configured the FetchS3Object processor with the same Accesskey, Secret etc but I get the following error, I haven't been able to find much online ref this error, can anyone see where I'm going wrong?FetchS3Object Config: Any assistance would be greatly appreciated, I've seen a lot of questions asked about these two processors but haven't found anything about this particular error. CheersAndy
Hi Team , I trying to get information using curl command and seems CM Manager sending me login page. I already using user name and password . curl -X GET --user 'xxxx':'xxxx' https://CM URL:7183/cmf/serviceRedirect/schemaregistry/instances<!-- __CLOUDERA__PRE__LOGIN__FORM__ --><!DOCTYPE html><html><head><meta charset="utf-8"></head><body></body></html><script type="text/javascript">var returnUrl = window.location.pathname + window.location.search + window.location.hash;var loginPageUrl = "/cmf/login";if (returnUrl !== "/cmf" && returnUrl !== "/cmf/" && returnUrl !== "/cmf/home" && returnUrl !== "/cmf/home/") {loginPageUrl = loginPageUrl + "?returnUrl=" + encodeURIComponent(returnUrl);}window.location = loginPageUrl;</script> pls some one help. Thanks
Hi, We are trying to fetch the data from one of our kafka cluster (200000 messages per seconds) where we have 19 partition on the topic and using nifi (cluster of 4 hosts) inbuilt processor (ConsumeKafka_2_6) however we are observing delay in processing messages in the processor (linage time of 7 sec per message). We tried using increase concurrent task to match up with the partition as well but it did not work. however if we use demarcation strategy (to club multiple messages into single flowfile) it is working fine but then we need individual messages for data transformation. The other processor which does the JSON evaluation also have similar problem as it can not handle large incoming data from the cosumekafka processor. Notes : Backpressure threshold is 100000 file and size threshold is 1 GB PFB reference SS of the processor configured. Evaluate Json path config: (Run duration 0.05 ms, concurrent task-4 per node )
Hi,I am facing issue accessing one of the child json attribute while forming SQL in QureyRecord processor. PFB details here is my Avro schema added for JSON reader and writter.{"name": "MyClass","type": "record","namespace": "com.acme.avro","fields": [{"name": "labels","type": {"name": "labels","type": "record","fields": [{"name": "__name__","type": "string"},{"name": "cucsMemoryUnitInstanceId","type": "string"},{"name": "instance","type": "string"},{"name": "job","type": "string"},{"name": "monitor","type": "string"},{"name": "site_identifier","type": "string"}]}},{"name": "name","type": "string"},{"name": "timestamp","type": "string"},{"name": "value","type": "string"},{"name": "producedAt","type": "string"}]} now the SQL quary for first level attribute works fine. like SELECT * from FLOWFILE where name = 'xyz' or SELECT * from FLOWFILE where producedAt = 'dd-mm-yyyy'however If I have to access attribute of nested JSON it wont work &nbs
2022-03-14 04:03:03,899 INFO [main] o.a.n.b.NotificationServiceManager Successfully loaded the following 0 services: []2022-03-14 04:03:03,902 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_STARTED2022-03-14 04:03:03,902 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_STOPPED2022-03-14 04:03:03,903 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_DIED2022-03-14 04:03:03,931 INFO [main] org.apache.nifi.bootstrap.RunNiFi Runtime Java version: 1.8.0_3122022-03-14 04:03:03,941 INFO [main] org.apache.nifi.bootstrap.Command Starting Apache NiFi...2022-03-14 04:03:03,942 INFO [main] org.apache.nifi.bootstrap.Command Working Directory: /root/nifi-1.15.22022-03-14 04:03:03,942 INFO [main] org.apache.nifi.bootstrap.Command Command: /usr/lib/jvm/java-8-openjdk-amd64/bin/java -classpath /root/nifi-1.15.2/./conf:/root/
Hi, I want to grant a set of users access to add tag based policies in ranger. I have adde the users to data steward role which grants ranger/atlas admin access but still they get a access denied when create a tag based access policy. Creating resource based policies is working for them. Ideally we want to grant them permissions to add tag based policies. We use CDP public cloud 7.2.12 in AWS. Any pointers are welcome. Thanks.
Planning to migrate to Hive3 on CDH and CDP private base. What are the feature wise changes happened from hive2 to hive3 and also point out the risk areas for hive3
I am using HDP hive-3.1.My configuration as follows:hive.support.concurrency=true;hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager; hive.exec.dynamic.partition.mode=nonstrict;hive.compactor.initiator.on=true;hive.compactor.worker.threads=2; By default, transactional table is created in hive. however, i want to create non-transactional table , by default. I tried to change hive.txn.manager to Dummymanager. Though after changing the configuration, hive table is created as transactional. any suggestion to create non-transactional table, be default?
I am using the below NIFI EXPRESSION in the update attribute This works fine, but after division getting scientific notation, say for an example if the GROSSDEPTH = 0.010000, then the expression output is coming as : GROSSDEPTH1.0E-4how to remove this scientific notation. Please help
Hi All, When I list yum packages on the Redhat/Centos server which is CDH runs, I see some samba packages.Are they necessary or related to some Cloudera services? I have also checked whether there are dependencies on samba but there are no on Linux level. We need to remove or update this package due to CVE-2021-44142. Note: First, We wanted to open a ticket through Cloudera support but it is not possible to open a ticket other than any CDH/CDP component. How can we know more detail about that? Thanks.
Hi Team, I bought CDP Public platform. And I have user and my purpose is to create Data-Hub Cluster and with my custom definition and template I have created a data hub cluster. And I see list of URL for access like Cloudera Manager, Hue and some. If I click cloudera manager URL it directly login to Cloudera Console page without any authentication. But I want to create multiple user with Cloudera access, Hue UI access. I have created machine user and I have created workload password also but how to access the UI with this User as there is only one UI access which I created initially but for the rest I'm not able to create or access console page for any services.Please help me with this. Regards,V
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.