Find answers, ask questions, and share your expertise
Recently active
Hi all, I have a cluster in CDP 7.1.8 private cloud based. Today I tried migrating CM server and following the instruction in https://docs.cloudera.com/cdp-private-cloud-base/7.1.8/managing-clusters/topics/cm-moving-the-cm-server-new-host2.html After I manually restore the cluster following the instruction in https://docs.cloudera.com/cdp-private-cloud-base/7.1.3/configuring-clusters/topics/cm-api-import-configuration.html, the cluster cannot restart. Found that in the Parcel page in CM Console, the parcels are activating but keep on loading forever. Here are the log message related to parcel from cloudera-scm-agent.log: [02/May/2023 03:29:55 -0400] 6258 MainThread parcel ERROR Error while attempting to modify permissions of file '/opt/ cloudera/parcels/CDH-7.1.8-1.cdh7.1.8.p0.30990532/lib/hadoop-0.20-mapreduce/sbin/Linux/task-controller'. File "/opt/clo
Hi Team,Mysql service is not getting start and log is also not showing . Can someone help? [root@]# service mysqld startRedirecting to /bin/systemctl start mysqld.serviceJob for mysqld.service failed because a configured resource limit was exceeded. See "systemctl status mysqld.service" and "journalctl -xe" for details.[root@devtest mysqld.log]# RegardsShamim
C#- i am using below parameterized query for getting the data from hiveQuery- select * from builds_changelogs where array_contains(deliveryconstructuid,?)Parameter-OdbcParameter paramdc = new OdbcParameter("@deliveryconstructuid", OdbcType.NVarChar);paramdc.Value = "1E4272C7D9E64DF8B3DADA3D056F35A1"; When i am executing the query it is throwing below error-ERROR [42000] [Hortonworks][Hardy] (80) Syntax or semantic analysis error thrown in server while executing query. Error message from server: Error while compiling statement: FAILED: ParseException line 1:48 cannot recognize input near '?' 'and' 'array_contains' in expression specification
hi all I'm looking to create a table to show all table names and information within a database as im having capacity issues something simple like username,size,tablename,last updated date hoping this is an easy ask but i had no luck so far
Hello Team,I have JSON like following[{"INTEGRATION_ID": "1","ISSUE_STATUS_CAT": "Done","SPRINT_LIST": ["24-w1-2","24-w1-3","24-w1-4"]},{"INTEGRATION_ID": "2","ISSUE_STATUS_CAT": "Done","SPRINT_LIST": "24-w1-2"}]My requirement is to check whether SPRINT_LIST is array or not. so I am using UpdateRecord processor with following formula ${field.value:startsWith(" [ ")}I was getting the correct output earlier, where it returned 'True' when the value was a list and 'False' when it was null or not a list. However, after making some changes and then reverting back to the original settings, I started encountering issues. "Cannot convert value [true] of type class java.lang.String to Object Array for field error"
When my job streaming is running, i go to yarn cluster ui and i choose the application that im running. I click to the Tracking URL: ApplicationMaster, it bring me to the page "ip:port/proxy/application_id".It said HTTP ERROR 403 User yarn is not authorized to access this page.Is this because of yarn manager queue authorization or some missing configs for yarn.
Have enyone had a deal with Impala parametrs such as topic_update_tbl_max_wait_time_ms and catalog_max_lock_skipped_topic_updates. Should I try to change them and what will it affect on?May the reduce of the topic_update_tbl_max_wait_time_ms improve the time of loading table's metadata to the impala daemon from catalog?If you know some recomendation or more detail information please share it.Thank you in advance!
Hi,Our yarn spark jobs trigger with oozie workflow. there are situations where we need to set a high priority for some of the jobs. I noticed there is a property mapreduce.job.priority to set a priority. how to set a job priority in oozie workflow so that yarn schedules our job with high priority over default from other jobs?
Hi Everyone,I'm trying to use ValidateRecord processor where I have a json input with date field as follows: { "name": "sam", "age": "20", "dob": "01/01/2004", "id": "001"} In the validaterecord Record Writer Im using JsonRecordSetWriter with the following configuration:Where I'm using the following avro schema in the Schema Text property: { "name": "person_rec", "type": "record", "namespace": "nifi.com", "fields": [ { "name": "name", "type": "string" }, { "name": "age", "type": "int" }, { "name": "dob", "type": "int", "logicalType": "date" }, { "name": "id", "type": "string" } ]} Also I'm setting the Date Format to : MM/dd/yyyyI though based on the description that when I set the Date Format it will be able to parse the date when reading\writing date fields. I thought by date field it means using logicalType "date" which means the type must be "int" according to avro schema. My expectation is that my validate
we have ambari cluster , HDP version `2.6.5` cluster include management of two name-node ( one is active and the secondary is standby )and 65 datanode machines we have problem with the standby name-node that not started and from the namenode logs we can see the following 2021-01-01 15:19:43,269 ERROR namenode.NameNode (NameNode.java:main(1783)) - Failed to start namenode.java.io.IOException: There appears to be a gap in the edit log. We expected txid 90247527115, but got txid 90247903412.at org.apache.hadoop.hdfs.server.namenode.MetaRecoveryContext.editLogLoaderPrompt(MetaRecoveryContext.java:94)at org.apache.hadoop.hdfs.server.namenode.FSEditLogLoader.loadEditRecords(FSEditLogLoader.java:215) for now the active namenode is up but the standby name node is down regarding tojava.io.IOException: There appears to be a gap in the edit log. We expected txid 90247527115, but got txid 90247903412. what is the preferred solution to fix this problem?&nbs
Hello,I just installed a new Hadoop server which has hive and impala servers on it.Cloudera Runtime 7.1.8Server version: impalad version 4.0.0.7.1.8.0-801 RELEASE (build a3b56f90d9c31ebfa5ce3c266700284a420db28f)However, I am getting an error when try to import data from .cvs file from Impala shell:The error is:Query: INSERT OVERWRITE TABLE ATABLE SELECT * FROM JMASTER.ATABLEQuery submitted at: 2024-02-14 14:00:53 (Coordinator: http://hiveservername.domainame.com:25000)Query progress can be monitored at: http://hiveservername.domainame.com:25000/query_plan?query_id=0248306127fdcbd1:36d35f5a00000000ERROR: File 'hdfs://hiveservername.domainame.com:8020/user/hivetest/master_tables/hivetesttable/ATABLE.csv' has an invalid Parquet version number: 30 30 30 30 .Please check that it is a valid Parquet file. This error can also occur due to stale metadata. If you believe this is a valid Parquet file, try running "refresh jmaster.hivetesttable".Could not execute command: INSERT OVERWRITE TABLE AT
Hi, Is there any way that Nifi processors stop automatically after no input for example 10 minutes rather than running until they are manually stopped?Kindly let me know if there is any such feature..
We have multiple different sources which we are using same process group. We need to call same process group with different parameters in parallel.
Hi All,I'm having a 6 node on prem nifi cluster which has certain process groups. It had a node disconnect once and got auto connected back. Post this I tried to stop/disable a process group which was in started state in the UI, but it threw me an error stating -Node xxx is unable to fulfill this request due to : [xxxx, xxxxxxxxxxx, xxxxxxxxxxxxx] is not the most up-to-date revision. This component appears to have been modified.Although I didn't modified any component in the past, only a node disconnect and auto connect was the event which happened in between. As per my previous experiences, I had to restart whole nifi from Cloudera Manager UI and then restart the flows which would resolve the problem which I stated above. But I was looking for an alternate solution other than restarting whole NiFi from CM UI as this is my production cluster and I can't get downtime so easily.Any help would be highly appreciated.--Adding the snapshot of the error below which i got while stopping/d
I'm going to take a Cloudera Certificate Exam (CDP Data Engineer Exam CDP-3002). I have already read the FAQ section, but I still have some questions about it. Please understand that I'm just a fresh graduate student from a 3rd world country, so the 333$ cost is very high for me. So I need to make sure I am fully prepared before paying for the exam.1. From payment, how long does it take until I receive an email with detailed information about the test?2. From payment, how long does it take until the test starts?3. The email will guide me in detail on the steps to start the exam, right?4. I read through the FAQ section, is there a person called "proctor" who will instruct me on what to do before the exam?5. I just need to install the Questionmark Secure software, right?6. There are only multiplier choice questions and no exercise questions (I have to code), right? Sorry for all the questions, please understand for me because I'm very confused right now. There isn't much thing
We would like to convert 3 nodes ( these nodes have only zookeeper roles deployed on them ) to unmanaged nodes by purging the cloudera software . These 3 nodes forming a zookeeper ensemble were created long time ago and are not used by any of our existing CDP cluster services but some external edge querying applications . we now need to take them off being managed by cloudera manager to avoid being included unnecessarily in the licensing cost . How should I go about completing this task ? I don't want to break the external application but there is no reason that we should have these nodes managed by CM . Do I have to rebuild the ensemble using the open source s/w from apache after purging the cm agent s/w ?
Are there any plans and target dates for CDP Private Cloud to support Java 17 and Spark 3.3?
Hi, our team has started using Cloudera Data Science Workbench.We want to connect CDSW with VSCODE using SSH and have followed the steps described in the Cloudera documentation.However, I cannot find method to reconnect existing(running) session using cdswctl CLI.I came across this article stating that reconnecting to an existing session was impossible as of 2020. Is this still the case?"Additionally, if there are any alternative methods available, please let me know." 🙂
Dear all,A bit background about this:I receive fresh data from a data vendor on a weekly basis and aim to either insert or update my existing database. If the lookup identifies matching values (such as company ID, fiscal year, etc.) in a record, we perform an update on specific fields (e.g., announcement date); otherwise, we insert a new record.My chain of lookups:My lookup processor setup:My data:Before lookup:After first lookup (Company ID) (It return me fs_ID):After second lookup (Fiscal_Year) (It return me another fs_ID):Note: fs_ID is retrived value from lookup tablesHowever, I check my lookup table:It does not match the "Company_ID", it only match the "Fiscal_year", It seems like those lookup processor worked independently. I expected this output: myincomingdata.Company_ID = ent_fundamentals.Company_ID AND myincomingdata.Fiscal_year = ent_fundamentals.Fiscal_year..etc., (I can update this record base on those columns if they all match)Can anyone please help me this
My setup looks like above.My question is: what if I have 11111 in total, I think each 1000 flowfiles will be merge, how about the leftover 111 flowfiles? how can I deal with the leftover flowfiles?Thanks!
2024-02-16 01:50:21,843 ERROR namenode.NameNode: Failed to start namenode.java.io.IOException: Gap in transactions. Expected to be able to read up until at least txid 35923060031 but unable to find any edit logs containing txid 20264370028at org.apache.hadoop.hdfs.server.namenode.FSEditLog.checkForGaps(FSEditLog.java:1751)at org.apache.hadoop.hdfs.server.namenode.FSEditLog.selectInputStreams(FSEditLog.java:1709)at org.apache.hadoop.hdfs.server.namenode.FSEditLog.selectInputStreams(FSEditLog.java:1684)at org.apache.hadoop.hdfs.server.namenode.FSImage.loadFSImage(FSImage.java:701)at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:323)at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFSImage(FSNamesystem.java:1086)at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFromDisk(FSNamesystem.java:714)at org.apache.hadoop.hdfs.server.namenode.NameNode.loadNamesystem(NameNode.java:632)at org.apache.hadoop.hdfs.server.namenode.NameNode.initi
When I activate an environment with Private Load Balancer, Private Executors I am not able to access Hue from my warehouse. Any help with what I am missing would be appreciated.
I already have a working connection through ODBC using Cloudera ODBC Driver for Apache Hive, where I have my DSN set and all I need is to call pyodbc.connect(f"DSN={mydsn}", autocommit=True)I'd like to use SQLAlchemy, but I'm struggling how to create a working connection url for multiple hosts.I was trying to base my idea on this guide where I found connection string jdbc:hive2://datanode1:2181,master1:2181,master2:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2However, thisfrom sqlalchemy import create_enginequery = """SELECT TOP 10 * from eb.mobile_sa"""conn_url = f'hive://{UID}@host1:2181,host2:2181,host3:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2'engine = create_engine(conn_url)with engine.connect() as conn: df = pd.read_sql(query, conn)throws an error invalid literal for int() with base 10: '2181,host2:2181,host3:2181 etc. I've also considered cloudera's impyla since Pyhive seems to be currentl
Hello all, I am creating a processor group that read from kafka topic and write it to the clickhouse database. I am using stateless mechanism to ensure that when there is a problem during execution, nifi crash, or nifi restarted or clickhouse database return error, kafka offset will not be committed and process will be retry.Unfortunately clickhouse will create a new row for duplicated message. In order to avoid duplicate message, i would like to check first the database and see if i have duplicated message before processing. Have someone create similiar use case as this one?
Hello support,I am creating another execute stateless from a processor group. This processor group has one consume jms connected with ibm mq. Below is the processor group and consume jms ssl context service. The processor group running fine without execute stateless. After i push the processor group to be referenced with execute stateless processor. After i got following error:Is there a specific way to define the type of truststore file or password for execute stateless.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.