Find answers, ask questions, and share your expertise
Recently active
getting this error while starting id can't update anythind in adding snn or remove nn same shows anyone help me
Hi Team,Currently i am using 5 node cluster of NIFI - 1.27 version.node have 47 Gb RAMMy NIFI heap memory level keep on increasing and crashing by reaching 150 hours.Frequency of data is around 100 Gb in a day.I am using variety of processors (Kafka, split and merge , distributed cache processors,Attribute level processors, hive3streaming processor,(select and put)Execute SQL (postgre,SSIS),Kudu processor etc).Please find nifi properties below:# JVM memory settingsjava.arg.2=-Xms16gjava.arg.3=-Xmx20gjava.arg.7=-XX:ReservedCodeCacheSize=512mjava.arg.9=-XX:+UseCodeCacheFlushingjava.arg.23=-XX:ParallelGCThreads=8java.arg.24=-XX:ConcGCThreads=4java.arg.25=-XX:G1ReservePercent=10java.arg.26=-XX:+UseStringDeduplicationjava.arg.27=-XX:InitiatingHeapOccupancyPercent=25java.arg.28=-XX:MaxGCPauseMillis=200java.arg.40=-XX:SurvivorRatio=8java.arg.41=-XX:NewRatio=3java.arg.42=-Xmn6gjava.arg.13=-XX:+UseG1GCnifi.content.repository.archive.max.retention.period=7 hoursnifi.content.rep
Eg: Update table table_name emp_name=? where empid=? But My column name is emp_id
hi alli have an CDP and CDS Private Cloud,so i trying to explore more about Data Catalog for Sensitivity Profiler.i try to make an custom rule.but the rules still not working.did you guys have try to make some custome rules ?and how its works ?i need some reference thanks
Hello Dear all,I am encountering an issue with an Oozie workflow that involves moving data from an external table to HDFS. The Oozie job successfully completes the process of bringing data from the external table to HDFS. After that, Sqoop should transfer this data into an ORC table.The issue occurs at a specific point in the Oozie workflow, where it tries to read two files from an HDFS directory: one containing the YARN application_id and the other with the instructions for database insertion. The job fails, and the directory remains empty. In the logs, I get the following error:org.apache.hadoop.ipc.Client - Exception encountered while connecting to the server : org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.ipc.StandbyException): Operation category READ is not supported in state standby.Context:This error began after an incident where directories in HDFS were deleted. This may have affected the failover process and high availability (HA) of HDFS.The error seems to be relate
Im on CM 7.10.1, cloudera runtime 7.1.8. I am trying to enable auto tls after creating the cluster, after i input ssh credentials (which are correct), I am getting error "java.lang.IllegalStateException: Failed to run CMCA command, return code: 2" More info: I have enabled kerberos but have not enabled auto tls yet Could someone please guide me on how to troubleshoot this issue?
Hi, Has anyone come across such a problem when enabling Auto-TLS?Thanks appreciate your comments java.lang.IllegalStateException: Failed to run CMCA command, return code: 2 at com.cloudera.cmf.command.CertmanagerRunner.runCmcaCommand(CertmanagerRunner.java:55) at com.cloudera.cmf.command.GenerateCmcaCmdWork.runSetupCmcaCommand(GenerateCmcaCmdWork.java:65) at com.cloudera.cmf.command.GenerateCmcaCmdWork.doWork(GenerateCmcaCmdWork.java:202) at com.cloudera.cmf.command.flow.CmdStep.doWork(CmdStep.java:178) at com.cloudera.cmf.command.flow.SeqCmdWork.doWork(SeqCmdWork.java:107) at com.cloudera.cmf.command.flow.CmdStep.doWork(CmdStep.java:178) at com.cloudera.cmf.command.flow.SeqFlowCmd.run(SeqFlowCmd.java:117) at com.cloudera.cmf.command.CmdWorkCommand.execute(CmdWorkCommand.java:107) at com.cloudera.cmf.service.ServiceHandlerRegistry.executeGlobalCommandHelper(ServiceHandlerRegistry.java:865) at com.cloudera.cmf.service.ServiceHandlerRegistry.executeGlobalCommand(Ser
I'm using ForkRecord processor in Apache NiFi for a use case where I need to retain the parent of the record and it is working smoothly for file sizes up to 100 MB. When I pass larger files say for example files with 250 MB or above it is taking longer time resulting in huge backlogs of files. Is there any alternate flow I can build to avoid such backlogs?Can I completely avoid fork record processor and choose some other flow logic to solve this ? @mburgess @MattWho Please help here
HelloI am struggling to set the time zone for the sessions on Spark Sql while submitting the query over the HUE.Maybe somebody already has this problem and know how to solve it - I would be grateful for the help. So far I checked that:on pyspak session running on linux the time zone is the one i want :spark.conf.get("spark.sql.session.timeZone")'Europe/Warsaw'However then i submit the TIMESTAMP on HUE running query against SparkSql I got the UTC Time Stamp.SELECT TIMESTAMP 'now'; TIMESTAMP '2024-07-02 08:01:06.157849' My current time 12024-07-02T06:01:06Z the UTC TIME I have also added the variable to the spark-defaults.conf file like spark.sql.session.timeZone=Europe/WarsawBut after restarting Spark3 and Hue nothing has changed. Thank you for your help in advance.Regards,Bart
Hi! Is there a way to create an Application on Cloudera Cloudera Data Visualization and expose it to users that don't have credentials to login? What I intend to do is to create an app with dashboards that can be accessed in a read-only way without the need to login, because this users won't have credentials to login. Thanks!
Hi folks, I tried to submit a query with params via ODBC to Impala. Thi is my code: import pyodbc# connectcrsr = pyodbc.connect('DSN=impala', autocommit=True).cursor()param1 = 1000000000param2 = '2023-01-01'# long queryquery = """select *from target_test.test d left outer join (select cli, fsc, nom_rag_soc, dat_ini_val, dat_ccz_inl, dat_csz_efv, dta_cessata, sta, prg_var, cod_cau_csz_dl, rn from (select c2.cod_cli as cli, trim(c2.cod_fsc) as fsc, trim(c2.nom_rag_soc) as nom_rag_soc, c2.dat_ini_val, dat_ccz_inl, dat_csz_efv, (case when c2.dat_csz_efv= '1900-01-01 00:00:00' then '2999-01-01 00:00:00' else c2.dat_csz_efv end) as dta_cessata, sta, prg_var, cod_cau_csz_dl, row_number() over (partition by cod_fsc order by (case when c2.dat_csz_efv='1900-01-01 00:00:00' then '2999-01-01 00:00:00' else c2.dat_csz_efv end) desc) as rn from target_test.test2 c2 where c2.sta='c' and c2.dat_
Hi,I want pass from csv file to InvokeHTTP processor for changing begin and end timestamp of URL.This is my flow and how to do update this flow?
Hi all,I need a help 😉I am trying to install and launch Apache Hive meta store with PG database on Kubernetes.The version of Hive is : apache-hive-4.0.0-bin.I configured hive-site.xml and all volume needed for Apache Hive.The init scheme was done succsufly by executing : ./schematool -dbType postgres -initSchemaSince, when try to launch hive, I obtained this error that nput name is null. @Former Member-hive-v2-78d588-gf8rv:/opt/apache-hive-bin/bin$ hiveWARNING: log4j.properties is not found. HADOOP_CONF_DIR may be incomplete.SLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in [jar:file:/opt/apache-hive-bin/lib/log4j-slf4j-impl-2.17.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J: Found binding in [jar:file:/opt/hadoop/share/hadoop/common/lib/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.SLF4J: Actual binding is of type [org.apache.loggin
Hi, My issue related to committing workflow changes onto my Github repository. I have made changes in the providers.xml file and now my Nifi flows are linked to Github flowPersistenceProvider.However, when I try to commit changes to the same linked repo, it gives me below error: and in the log files, it says: "Flow version is not added yet, can not be serialized.. Returning Conflict response."I also witnessed on "show local changes" that the prompt gives an error "version must be greater than 1". Are these linked?Any guideline would help. Thanks.
Dear FreindsMy Cloudera Cluster has no access to the internet - if I need to gather some parcel or any file via wget for example But what if I want to import some python library in HUE or Zeppelin that requires dynamic access to the internet.I have installed via pop3 pgeocode library and now in Peppelin or HUE when I want to dynamically call that library I am getting TIme OUT issue : File "/usr/lib64/python3.9/urllib/request.py", line 1349, in do_openraise URLError(err)urllib.error.URLError: <urlopen error [Errno 110] Connection timed outHow can I use proxy server in such cases so HUE or Zeppelin if record has access to the internet - able to reach the python library modules.
Hello I am using the EnforceOrder in order to sort the flow files. This procesosr is maintaning state and i want to clear in it some regular interval for e.g. 4 min. I am runnig NIFI over a cluster. I am clearing the state through Inactive Timeout propery by setting it 4 min. I can see some time state is clear and most of the time not. Please help in a resolution for how clear state consistently.
I am using NiFi 2.0 that supports python scripts directly from a working directory, after I add my custom processor to the canvas, an error "Processor invalid because initializing runtime environment for the processor" is indicated in each custom processor. I have already installed Java JDK 21, python 3.11 and all the requirements specified in the official documentation. How can I resolve this?I have already installed Java JDK 21, python 3.11 and all the requirements specified in the official documentation.I changed the python extension parameters in the nifi.properties file.This is what appears in the app-log:2024-07-24 10:31:06,608 ERROR [Initialize CreateFlowFile] org.apache.nifi.NiFi An Unknown Error Occurred in Thread VirtualThread[#138,Initialize CreateFlowFile]/runnable@ForkJoinPool-1-worker-2java.lang.RuntimeException: Failed to launch Process for Python Processor [CreateFlowFile] Version [0.0.1-SNAPSHOT]at org.apache.nifi.py4j.StandardPythonBridge.getProcessForNextComponent(St
Unfortunately, Cloudera seems to only actively maintain a maven plugin for packaging the code into a nar file. My company has a standard to do things in gradle and do not want me changing to a maven project. Previously, we used a project compatible with gradle 6. Now we are upgrading to Java 17 and Gradle 8.8 and what we had previously used is now incompatible so I was wondering if anyone has had luck with this issue?
I want to grant user 'txw387' RWC permissions. There is a hadoop folder 'txw387' under /user.However, this error occurs: ERROR: org.apache.hadoop.hbase.coprocessor.CoprocessorException: HTTP 403 Error: Grantee user txw387 doesn't existat org.apache.ranger.authorization.hbase.RangerAuthorizationCoprocessor.preGrant(RangerAuthorizationCoprocessor.java:1277)at org.apache.ranger.authorization.hbase.RangerAuthorizationCoprocessor.preGrant(RangerAuthorizationCoprocessor.java:1110)at org.apache.hadoop.hbase.master.MasterCoprocessorHost$164.call(MasterCoprocessorHost.java:1892)at org.apache.hadoop.hbase.master.MasterCoprocessorHost$164.call(MasterCoprocessorHost.java:1889)at org.apache.hadoop.hbase.coprocessor.CoprocessorHost$ObserverOperationWithoutResult.callObserver(CoprocessorHost.java:558)at org.apache.hadoop.hbase.coprocessor.CoprocessorHost.execOperation(CoprocessorHost.java:631)at org.apache.hadoop.hbase.master.MasterCoprocessorHost.preGrant(MasterCoprocessorHost.java:1889)at org.
Dear Cloudera Support Team,I am experiencing an issue when running the ImportTsv command in HBase using the following command:hbase org.apache.hadoop.hbase.mapreduce.ImportTsv -Dimporttsv.separator='\t' -Dimporttsv.columns='HBASE_ROW_KEY,cf:gender,cf:age,cf:income,cf:exp' Customers /hbase/data.txtThe job is failing with the following error message:2024-10-03T15:00:41,530 INFO [main] mapreduce.Job: Running job: job_1727859616916_00042024-10-03T15:00:50,594 INFO [main] mapreduce.Job: Job job_1727859616916_0004 running in uber mode : false2024-10-03T15:00:50,597 INFO [main] mapreduce.Job: map 0% reduce 0%2024-10-03T15:00:50,616 INFO [main] mapreduce.Job: 9616916_0004_02_000001Exit code: 1[2024-10-03 15:00:49.597]Container exited with a non-zero exit code 1. Error file: prelaunch.err.Last 4096 bytes of prelaunch.err :Last 4096 bytes of stderr :SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".SLF4J: Defaulting to no-operation (NOP) logger implementationSLF4J: See http://www.s
Hi, I am looking for explanation for below error. Why driver is trying to convert LIMIT into TOP? This log comes from LogLevel=5.Sep 18 16:51:32.339 DEBUG 73090 com.cloudera.impala.jdbc.core..call: establishConnection() in a new thread: 73090Sep 18 16:51:32.342 INFO 73090 com.cloudera.impala.hivecommon.core.HiveJDBCCommonConnection.establishConnection: Schema is set to default: defaultSep 18 16:51:32.343 DEBUG 73090 com.cloudera.impala.hivecommon.core.HiveJDBCCommonConnection.establishConnection: socketTimeout = 0, loginTimeout = 60Sep 18 16:51:32.343 DEBUG 73090 com.cloudera.impala.hivecommon.core.HiveJDBCCommonConnection.establishConnection: SocketTimeout is: 60 seconds for testSep 18 16:51:34.408 DEBUG 73090 com.cloudera.impala.hivecommon.core.HiveJDBCCommonConnection.establishConnection: socketTimeout is set back to 0 secondsSep 18 16:51:34.408 DEBUG 73090 com.cloudera.impala.hivecommon.core.HiveJDBCCommonConnection.setServersideProperties: {LoginTimeout=60, SSLTrustStoreType=JKS}
Hi, I am looking for explanation for below error. It fails on getColumns call. Caused by: java.sql.SQLException: [Cloudera][ImpalaJDBCDriver](500001) Error setting metadata information: Metadata Initialization Error. at com.cloudera.impala.hivecommon.dataengine.metadata.HiveJDBCColumnsMetadataSource.initializeColumn(Unknown Source) at com.cloudera.impala.hivecommon.dataengine.metadata.HiveJDBCColumnsMetadataSource.(Unknown Source) at com.cloudera.impala.hivecommon.dataengine.HiveJDBCDataEngine.makeNewMetadataSource(Unknown Source) at com.cloudera.impala.dsi.dataengine.impl.DSIDataEngine.makeNewMetadataResult(Unknown Source) at com.cloudera.impala.hivecommon.dataengine.HiveJDBCDataEngine.makeNewMetadataResult(Unknown Source) at com.cloudera.impala.jdbc.jdbc41.S41DatabaseMetaData.createMetaDataResult(Unknown Source) at com.cloudera.impala.jdbc.common.SDatabaseMetaData.getColumns(Unknown Source)...Caused by: com.cloudera.impala.support.exceptions.GeneralException: [Cloudera][Im
Spark on HDP-3.1 is copying hive-1.x jars in /usr/hdp/3.1.4.0-315/spark2/jars/ directory. Due to this I am getting classpath issues when I tried to interact with hive-3 server via my spark code. Any specific reason why spark2 is still using hive-1.x jars. I also am supplying hive3.x jars via --jars option but no effect. Since hive-1.x jars are added first to the classpath all the classes are loaded from hive-1.x jar by AppClassLoader. After moving them into /tmp/ directory all the jobs are working fine because MutableUrlClassLoader is loading classes from hive-3.x jars. Deleting them from /usr/hdp/3.1.4.0-315/spark2/jars/ is not a good solution. Is there any workaround to solve this issue. Any help would be appreciated. Thanks!
Hello . I get the error message saying : nifi-registry 2024-10-02 08:08:58,582 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut 2024-10-02 08:08:58,581 INFO [NiFi Registry Web Server-37] o.a.n.r.w.m.AccessDeniedExceptionMapper identity[cef567], groups[] does not have permission to access the requested resource. Unable to view users/user groups. Ret ││ urning Forbidden response. ││ nifi-registry 2024-10-02 08:08:58,651 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut 2024-10-02 08:08:58,650 INFO [NiFi Registry Web Server-52] o.a.n.r.w.m.AccessDeniedExceptionMapper identity[cef567], groups[] does not have permission to access the requested resource. Unable to view use
Hello everyone,We would like to try disabling Hive Kerberos on CDP 7.1.7.Here are the parameters we tried disabling:Hive Service Advanced Configuration Snippet (Safety Valve) for hive-site.xmlhive.server2.authentication.kerberos.principal hive.server2.authentication.kerberos.keytabhive.server2.authentication NONEhive.security.authorization.enabled falsehive.server2.enable.impersonation falsehive.metastore.sasl.enabled falseHive Service Advanced Configuration Snippet (Safety Valve) for core-site.xmlhadoop.security.authentication simplehadoop.security.authorization falseAfter turning off the following parameters and restarting HiveServer2, we noticed that HiveServer2 still seems to fail due to Kerberos authentication.Could you please advise on how to completely disable Kerberos for HiveServer2? 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.