Find answers, ask questions, and share your expertise
Recently active
Hi fellas, I have a folder structure where the parent folder is the date which contains multiple locations folder which contains the actual txt files.So the structure is such Logfolder/20240515/Location/logs.txtMy nifi setup is to retrieve the date folders inside the parent directory of Logfolder and pass it to executestreamcommand processor which contains my python script which requires the date folders to be sent in as argument along with all the contents inside the datefolder with original directory structure.But currently the flowfile is sending logs.txt to my executestreamcommand instead of the 20240515 as the flowfile. How do I structure such that the date folders as a whole is passed to the python script and not file by file?I have tried chatgpt but it isn't quite helpful. I appreciate any help on this as it is quite urgent.
Hello, We have a strange issue here. We are on CDP7.1.9 and have ranger in place for authorizations. A user is trying to execute queries from Hue on Impala Editor and fails with Authorization errors. However, same query works fine via Hive and also via Impala shell. It fails only from Hue editor. We have:1. Refreshed metadata2. Invalidated metadata3. Verified permissions are in place in Ranger4. There are no logs generated (I checked in Hue, Sentry Server and Catalog server). Please suggest if any other place should also be checked. Example query:select * from DB.table limit 5; Kindly help to diagnose and resolve this issue.
I am getting the below error while connecting to hive using jdbc urlCaused by: com.cloudera.hiveserver2.support.exceptions.GeneralException: [Cloudera][HiveJDBCDriver](500171) Error occurred Connecting to ZooKeeper: At: <my_host>:2181/hiveserver2With Error Message: KeeperErrorCode = AuthFailed for /hiveserver2.JDBC URL:jdbc:hive2://zk=<my_host>:2181/hiveserver2,<my_host>:2181/hiveserver2;SSL=1;SSLTrustStore=/trustore_path/cm-auto-global_truststore.jks;SSLTrustStorePwd=My_pwd;AuthMech=1;KrbRealm=MYREAL.ORG.COM;KrbHostFQDN=_HOST;KrbServiceName=hive;LogPath=/tmp/log
I am trying to access the hadoop filesystem but I am facing below error.How to provide the access right to the user.even getfacl command also giving same error.I have tried the kinit command user has valid TGT.My main objective is to use the HadoopDelegation token.but code is failing even when tried to just list the hdfs files.FileSystem fs = FileSystem.get(conf);Path root = new Path("/");System.out.println((root));fs.listStatus(root); ----- code failing on this lineERROR message :java -jar HadoopDelegation-1.0-SNAPSHOT.jarlog4j:WARN No appenders could be found for logger (org.apache.hadoop.metrics2.lib.MutableMetricsFactory).log4j:WARN Please initialize the log4j system properly.log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.java.io.IOException: DestHost:destPort master.localdomain.com:8020 , LocalHost:localPort master.localdomain.com/10.49.0.149:0. Failed on local exception: java.io.IOException: org.apache.hadoop.security.AccessControlException: Cl
HDFS cluster in HA enabled with one active namenode and one standby namenode. During checkpointing in how editlogs and fsimage get merged ?I tired with the source code check but got confused by the flow, Can someone help on this?, how editlogs and fsimage file get merged ?
Hi All, We are trying to install CDP 7.10.1 in RHEL 8.9 . As per the Cloudera Support Matrix i dont see it is listing . During the installation we are encountering with Mutiple issues .Kindly let me know if any one have tried with the similar installation combination . As we are mainly using the RHEL 8.9 as standard image we would like to keep the same standard for Cloudera also . Any suggestion is welcome. RegardsJiji
I have a cloudera cluster up and running. I have Knox which forwards requests to webhbase and hbase uses ranger for authorization. Ranger is connected to FreeIPA LDAP and we use kerberos internally for authentication.In Ranger, I have a policy that gives access to read a table. In that same ranger policy a group in my freeIPA instance has the ability to access that table. I am having an issue. When I remove a member from that group in freeIPA and rerun ranger user sync, I try a curl call to get data from the table it still works. However when I run it again it gives the expected result as a denial. This has been a consistent pattern for all changes to user membership in ldap groups. The Ranger HBase Policy Sync is working as expected and the Usersync is working as expected as well. After I run Usersync, I confirm that the user has been removed from that group in Ranger but it's still allowing me access. Does anyone know why this is? There are similar Kafka and HDFS poli
Hi i have problem with NIFI-I download json records from Kafka, I split to have single records-here i have round robin strategy, I add attributes, then I give the id attribute and divide the flow into two paths, on one I do some actions with invokes http to reach some data and transform it to attributes, I add attributes, clear the context and I would like to merge it back to keep these jsons from one paths and attributes on the other. I use the merge content processor for this, merging using the id attribute that I assigned at the beginning. And now I have a problem because it works, but in the case of a larger number of records, e.g. 200, it doesn't because I have an error BIN_MANAGER_FULL. Minimum Number of Entries is 2 and Maximum Number of Entries is 2, while Maximum number of Bins is 10 and I would not like to increase it. Is there any way to bypass this and make it work for a larger number of records? For example, apply a limit so that it merges only when there is space or dived
We save some flows into a registry with postgresql and now we want to transfer to a fresh nifi instance but we are getting this error:The Flow Registry with ID ? reports that no Flow exists with Bucket ?, FlowAny suggestion what is it happening?
Hi guys, I have some problem with my NIFI flow-I download records from Kafka, I split it to have single record per split-here i have round robin load balance.Next i add id attribute and then i divide the flow to two paths, on one I do some actions with http iinokes to have some new attributes.Next I clear the context on this path and I would like merge it back with this other path to have this json context and this attributes in one.I use merge content processoe for this, merging using the id attribute that I assigned at the beginning. And now I have a problem because it works but in the case of a larger number of records, eg. 200 it doesn't because I have an error BIN_MANAGER_FULL. Minimum Number of Entries is 2 and Maximum Number of Entries i have 2 too, while Maximum number of Bins is 10 and i would not like to increase it. Is there any way to bypass this and make it work for a larger number of records?For example apply the limit so that it merges only when there is space or wait fo
I am trying to create grafana dashboard for the CM charts . So is it possible to connect grafana directly or if we need to store the data in database . Any samples.
Hello,Is there a way to list all HDFS directories a (human, not Impala, ...) user has access to, using the Ranger API?Many thanks.
I am trying to run an application on using hive and hadoop.And, my YARN cluster is not recognizing any active NodeManagersTerminal output on: yarn node -listanushkakundu@AnushkaHP14:/opt/hadoop/bin$ /opt/hadoop/bin/yarn node -list2024-05-23 17:07:47,933 INFO client.DefaultNoHARMFailoverProxyProvider: Connecting to ResourceManager at /0.0.0.0:8032Total Nodes:0 Node-Id Node-State Node-Http-Address Number-of-Running-ContainersOne more thing: My terminal reads: The url to track the job: http://AnushkaHP14:8088/proxy/application_1716465092573_0001/However http://AnushkaHP14:8088/proxy/application_1716465092573_0001/ says This site can’t be reachedI have done the following:Started Hadoop (verified by running jps), started hive (metastore and hiveserver2 are active.)Modified my yarn-site.xml to allocate appropriate resources.Re stared everything.Any suggestions are really welcome.
We are having some issues while trying to connect with Cloudera Impala through pyobdc in our production enviroment (not in development env, neither in pre-production env).We have configured our Driver ODBC for Impala with v2.6.11.1011-1, Kerberos 5 v1.18.2, pip v23.3 and pyodbc v4.0.38.The Impala odbc driver is installed without problem, the impala ports are open, the kerberos ports are open too, everything was validated with telnet.Our connection string is defined in the following way: connection_string_IaaS = f''' DRIVER=/opt/cloudera/impalaodbc/lib/64/libclouderaimpalaodbc64.so; Host=(name of host); Port=21050; AuthMech=1; Encrypt=no; KrbRealm=(name of data source); KrbFQDN=(name of host); KrbServiceName=impala; TrustedCerts=/opt/cloudera/impalaodbc/lib/64/cacerts.pem; TSaslTransportBufSize=60536; RowsFetchedPerBlock=4000; SSP_BATCH_SIZE=60536''' Once we ensure the kerberos ticket is right, we try to establish the connection by making pyodbc.connect(connec
Hi there!I am trying to use this processor. I have found a very useful guide: https://docs.cloudera.com/cdf-datahub/7.2.18/mainframe-ebcdic-nifi/topics/cfm-create-mainframe-ebcdic-recordreader.html?I am following the same steps but I am encontering this error:"Copybook Path" validated against #{hdfs.output.raw-input-files}TGSS/copybook.cbl is invalid because The specified resource do not exist or could not be accessed: [#{hdfs.output.raw-input-files}TGSS/copybook.cbl]Is anybody having this issue?How can I solve it?Thanks in advance
Hi Team, I Installed cloudera manager, its running but its not able to take admin admin as username and password. http://35.226.36.214:7180/cmf/login?returnUrl=%2Fcmf%2FpostLogin%3FreturnUrl%3D
Hi Team, I am installing solr on cloudera manager.Getting below error, Zookeeper is running but still getting this error while start error. Solr is not working.Solr Logs:```24/05/09 12:27:16 INFO zookeeper.Login: [Thread-1]: TGT refresh thread started.24/05/09 12:27:16 INFO zookeeper.Login: [Thread-1]: TGT valid starting at: Thu May 09 12:27:16 UTC 202424/05/09 12:27:16 INFO client.ZooKeeperSaslClient: [main-SendThread(cloudera-1.c.cloudera-project-422106.internal:2181)]: Client will use GSSAPI as SASL mechanism.24/05/09 12:27:16 INFO zookeeper.Login: [Thread-1]: TGT expires: Thu May 09 22:27:16 UTC 202424/05/09 12:27:16 INFO zookeeper.Login: [Thread-1]: TGT refresh sleeping until: Thu May 09 20:38:23 UTC 202424/05/09 12:27:16 INFO zookeeper.ClientCnxn: [main-SendThread(cloudera-1.c.cloudera-project-422106.internal:2181)]: Opening socket connection to server cloudera-1.c.cloudera-project-422106.internal/10.128.0.11:2181. Will attempt to SASL-authentic
Hi,I am using InvokeHTTP processer in Apache Nifi. Only 20 requests are getting POST at a time. how can I increase the number of requests post through InvokeHttp.Do we have any parameter we can add or change in the InvokeHTTP processer it self orDo we need to change any config level changes.Thanks In advance.
Hi!Currently, we're utilizing a 3-node Nifi setup within Kubernetes, incorporating a custom NAR to integrate custom processors (approximately 30 processors developed).When updating Nifi along with our custom processors, we typically follow these steps:- Develop a new docker image containing the updated NAR version.- Modify our Kubernetes deployment to incorporate the new docker image.- Delete the Kubernetes deployment, resulting in a complete Nifi stop.- Recreate the Kubernetes deployment, initiating Nifi with the new docker image.Though effective, this process introduces downtime.We're contemplating transitioning to a rolling update approach, wherein each Nifi node undergoes a stop-start cycle. However, in Nifi 1.7 at least, the node that is stopped and restarted cannot to join the cluster due to flow differences in the version of our custom processors. We're curious whether this issue persists in the latest Nifi version, say 1.25.Another option involves deploying multiple versions of
Hi,we installed a CDP Private Cloud 7.1.9 cluster (CM 7.11.3) on AWS ec2 machines with Postgres RDS as backend database.Hive Metastore Server is on two machines:ap-cdpclusteru1c (role group: Hive Metastore Server Default Group)ap-cdpclusteru2c. (role group: hive-HIVEMETASTORE)Configuration in CM looks identical for both Rolesap-cdpclusteru1c starts successfully but ap-cdpclusteru2c fails to start with following error: + exec /cdh/opt/cloudera/parcels/CDH-7.1.9-1.cdh7.1.9.p6.51045883/lib/hive/bin/hive --config /var/run/cloudera-scm-agent/process/1546344708-hive-HIVEMETASTORE --service metastore -p 9083SLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in [jar:file:/cdh/opt/cloudera/parcels/CDH-7.1.9-1.cdh7.1.9.p6.51045883/jars/log4j-slf4j-impl-2.18.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J: Found binding in [jar:file:/cdh/opt/cloudera/parcels/CDH-7.1.9-1.cdh7.1.9.p6.51045883/jars/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.
Hello i just installed APACHE Nifi in Linux CentOS and for testing purposes i have this configuration in nifi.properties <pre>nifi.web.https.host=127.0.0.1 nifi.web.https.port=8443 </pre> I saw a solution from here saying that Jetty 10 doesn't accept IP address but instead hostnames, so what I did was to change etc/hosts to 127.0.0.1 -> nifi.local and used that nifi.web.https.host=nifi.local for the configuration of the nifi.properties file. I run in browser https://nifi.local:8443 and i get the same error:( Can someone assist please?`HTTP ERROR 400 Invalid SNI URI: /nifi STATUS: 400 MESSAGE: Invalid SNI SERVLET: - CAUSED BY: org.eclipse.jetty.http.BadMessageException: 400: Invalid SNI Caused by:org.eclipse.jetty.http.BadMessageException: 400: Invalid SNI at org.eclipse.jetty.server.SecureRequestCustomizer.customize(SecureRequestCustomizer.java:266) at org.eclipse.jetty.server.SecureRequestCustomizer.customize(SecureRequestCustomizer.java:207) at
I have a nifi cluster, which keeps having issue of nodes getting disconnected and cluster is unstable.What should be the approach to debug the issue?
Hello experts,I am facing an issue in one of the Nifi server where we have multiple consume eventhub flows.The flow file repository disc is getting full but content and provenance repos are not. Have attached the screen shot of all repos usage and content of flowfile repo.journals folder is occupying very large amount of data.nifi.properties (related to flofile repo):nifi.flowfile.repository.always.sync=falsenifi.flowfile.repository.checkpoint.interval=2 minsnifi.flowfile.repository.directory=/flowfilenifi.flowfile.repository.implementation=org.apache.nifi.controller.repository.WriteAheadFlowFileRepositorynifi.flowfile.repository.partitions=256nifi.flowfile.repository.retain.orphaned.flowfiles=truenifi.flowfile.repository.wal.implementation=org.apache.nifi.wali.SequentialAccessWriteAheadLog Can anyone help me understand what is the issue? how to resolve this?Thanks,Mahendra
Hi everyone.How can i change, if possible, the ID of a connection in Apache NiFi?from: 9e16eefa-018c-1000-663d-ec184ba2fc6cto: a0077eefa-023c-1000-423d-ef184ba2fc6c (example)I think it's not possible and certainly it's not recommended, but it's a client request. They have an external software that identify the connection by its ID. They've deleted the connection and recreated it, so the ID has changed, and now the external software cannot read the status of this connection. We also cannot change de external software.
Hi,Anyone Unlucky enough to run into this problem (at least as it happens on version M2.0.0-M2) when you try to run run-nifi.bat file to start nifi to be welcomed with this error: Could not find or load main class org.apache.nifi.bootstrap.RunNiFi At this point the nifi-app.log file has not been created so you are out of luck in determining what caused this error.Solution:I'm not saying this is the only reason you could encounter this error. After spending some time researching this error , Idid not find the exact match of this error message but I found something close (Example: https://community.cloudera.com/t5/Support-Questions/Error-Error-Could-not-find-or-load-main-class-org-apache/td-p/141006 )In my case you need to watch for the full error message which is : 'F:\NIFI' is not recognized as an internal or external command,operable program or batch file.The JAVA_HOME environment variable is not defined correctly.Instead the PATH wi
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.