Find answers, ask questions, and share your expertise
Recently active
How to use FFmpeg in NIFI . I want to convert Video to Tiff .
I have a flow that queries data from a source table and loads it into an iceberg table. The source data includes a Date type which gets read in as a string. The destination table has the same field where the schema is also a Date. When I try to use the PutIceberg processor, I get the following error:org.apache.nifi.serialization.record.util.IllegalTypeConversionException: Failed Conversion of Field [null] from String [2023-10-30] to LocalDate- Caused by: java.lang.NumberFormatExceptionThe flow file is Avro and I'm using an AvroReader service for the PutIceberg. Here's a sample of the Avro:[ {"scan_id" : "1698665963-82DD686DBC1979E6FF6C5443BA82456621DB5004","queue_seq_id" : 558745163,"flight_airline_code" : "AC","flight_number" : 8663,"flight_departure_date" : "2023-10-30","scan_airport_code" : "YHZ","scan_checkpoint_name" : "Transborder","scan_stage_name" : "S2 - Screening Lines","manual_entry" : "N","wait_time_pax_queue" : "Main Queue","wait_time_seconds" : 93,"included_in_counts" : "
Trying to load and parse YARN application metrics and store it for performance analysis by using REST api call. Data returned is a single json entry with multiple application entries nested in a complex format. Can someone suggest or provide correct DDL how to map all data points to a hive external table since JsonSerde can parse and tabulate it?Sample json data format: {"apps":{"app":[{"id":"application_282828282828_12717","user":"xyz","name":"xyz-4b6bdae2-1a0c-4772-bd8e-0d7454268b82","queue":"root.users.dummy","state":"finished","finalstatus":"succeeded","progress":100.0,"trackingui":"history","trackingurl":"http://dang:8088/proxy/application_282828282828_12717/","diagnostics":"session stats:submitteddags=1, successfuldags=1, faileddags=0, killeddags=0\n","clusterid":282828282828,"applicationtype":"aquaman","applicationtags":"ABC,xyz_20221107070124_2beb5d90-24c7-4b1b-b977-3c9af1397195,userid=dummy","priority":0,"startedtime":1667822485626,"launchtime":1667822485767,"finishe
I am new to Apache NiFi and have a fresh apache NiFi instance on my local system and i want to create 3 users and authenticate them with openID/google oAuth from their email ID( instead of seeing the usual NiFi login screen, i want to see the google authentication window where i can use my email id to login).i tried to follow the bryan bende's article on it but it feels very outdated for now. (https://bryanbende.com/development/2017/10/03/apache-nifi-openid-connect)please help me with this and provide me with a step-by-step breakdown on how can i achieve this? Thanks
Hi Team,I have Nifi connectivity with ioT Hub. In ioT hub i have device under which publisher and subscriber is there. Nifi is configured with ioT hub and its working fine however intermittently the connectivity breaks between ioT and nifi.Do we have any mechanism or process in nifi to identify when connectivity breaks it retry the connection. If restart the nifi service manually then again connection establishes. I want to automize this process either from ioT hub or from nifi side if connectivity breaks then it should retry connection and restart the nifi service automatically.@cotopaul @Former Member @ApacheNifi
I have a problem like this.I am using ApacheNifi nifi-1.23.0 version.Generate flowFile with GenerateFlowFile processor as follows.When I view the content, I see that it is as I shared below.As far as I understand, it mixes the content I triggered with a different content.What could be the reason for this?
Nifi Error : failed to import data from buffer | unable to create content claim due to Java io EOFException.Please help to resolve this nifi UI issue .
[root@b7-40 ~]# hiveSLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p1000.24102687/jars/log4j-slf4j-impl-2.17.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p1000.24102687/jars/slf4j-log4j12-1.7.30.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.logging.slf4j.Log4jLoggerFactory]WARNING: Use "yarn jar" to launch YARN applications.SLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p1000.24102687/jars/log4j-slf4j-impl-2.17.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p1000.24102687/jars/slf4j-log4j12-1.7.30.jar!/org/slf4j/impl/StaticLoggerBinder.class]
I started the Cloudera training a few years back, but did not complete it.As technologies have change over the years, is the Cloudera training on Coursera still relevant to study Cloudera's current offerings?If not, does Cloudera have plans to do anything with the materials on Coursera at this point ?Are there systems to replace the Cloudera VM for the training lessons on Coursera which may or may not come from Cloudera ?
【Problem】After upgrading Cloudera Manager to 7.11.3, attempting to reboot the cluster causes an error in the Lily HBase Indexer of the Key-Value Store Indexer.【Use】CDP Private Cloud Base 7.1.8 (Will upgrade to 7.1.9 later)OS: RHEL 7.6Java: OpenJDK 11.0.8Python: 3.8.12【Occurrence procedure】Before upgrading, I installed Python 3.8 on all hosts that contained Cloudera Manager Agents.The installation was done according to the following documentation:https://docs.cloudera.com/cdp-private-cloud-base/7.1.9/installation/topics/cdpdc-cm-install-python-3-rhel-custom-location.htmlThen, according to the following documentation, Cloudera Manager was upgraded from 7.7.1 to 7.11.3.https://docs.cloudera.com/cdp-private-cloud-upgrade/latest/upgrade-cdp/topics/ug_cm_upgrade.htmlVerified that the Server and Agent were upgraded successfully.Therefore, I proceeded with the steps in Step 5: After You Upgrade, "Perform Post-Upgrade Steps".When I rebooted the cluster in step 4, I encountered an error with the
i generated a .p12 certificate using tls-toolkit by using following command :- ./tls-toolkit.sh standalone -n 'localhost' -B admin1admin -C 'CN=admin,OU=lending'when i try to upload this certificate in keychain access, it shows invalid password and after trying multiple time with the correct password, an error is thrown "mac verification failed during pkcs12 import (wrong password?)". please help me in solving this issue.
I want to have multiple users in Nifi. I don't want to use LDAP because I don't have a LDAP. I don't want to use Kerberos because I don't have a Kerberos. I don't want to use Apache Knox because I don't have a Apache Knox. I don't want to integrate with the thing because I don't have the thing. I just want to have 3 users, each with their own username and password. I've gotten to the point where I have three users but I have no idea what password to use for the non-admin users.
HelloI'm running Nifi toolkit v1.12.1 with JDK 8I'm running into a problem when running the following commandcli.sh nifi pg-list -p /nifi.properties --verboseI can do awget --certificate=./my.pem --private-key=./my.key --ca-certificate=./myca.pem https://xxx/nifi-api/flow/process-groups/rootand get a correct outputCan you help me get the corret output with the toolkit ?Is it possible to log the toolkit requests / responses ?The stack trace I get with the toolkit is: org.apache.nifi.toolkit.cli.api.CommandException: Error executing command 'pg-list' : nullat org.apache.nifi.toolkit.cli.impl.command.nifi.AbstractNiFiCommand.doExecute(AbstractNiFiCommand.java:65)at org.apache.nifi.toolkit.cli.impl.command.AbstractPropertyCommand.execute(AbstractPropertyCommand.java:74)at org.apache.nifi.toolkit.cli.impl.command.CommandProcessor.processCommand(CommandProcessor.java:252)at org.apache.nifi.toolkit.cli.impl.command.CommandProcessor.processGroupCommand(CommandProcessor.java:233)at org.apa
Hi all Getting below error, when trying to start hive metastore: Exception in thread "main" java.lang.NoSuchMethodError: org.apache.hadoop.fs.FsTracer.get(Lorg/apache/Hadoop/conf/Configuration;)Lorg/Apache/htrace/core/Tracer; Details are as under Hive version: Apache hive 3.1.3 Remote metastore: postgres version 12 Schematool init created all relevant tables without any error. Only when trying to start metastore services facing error. Checked for htrace core incubating jar versions also. Htrace version details across cluster are attachedapache-hive-3.1.3-bin/lib/htrace-core-3.2.0-incubating.jarhadoop-3.3.4/share/hadoop/common/lib/htrace-core-3.2.0-incubating.jarhadoop-3.3.4/share/hadoop/yarn/timelineservice/lib/htrace-core-3.2.0-incubating.jarhbase-2.4.14/lib/htrace-core4-4.2.0-incubating.jarhbase-2.4.14/lib/client-facing-thirdparty/htrace-core4-4.2.0-incubating.jar Request your help.Thanks
Hi,I am running NIFI in Kubernetes cluster with 3 nodes. After the upgrade of NIFI to 1.23.1 version, most of the time, the JSON messages or CSV files are corrupted something like below, which is causing serious production issues to my workflows. Actual message:{"RequestPeriod":"morning","TRANSMISSION_TYPE":"","ReturnDatetime":"2022-02-07T13:00:00+01:00", "PickupDatetime":"2022-02-07T08:00:00+01:00"}Corrupted message:1:00"}{"RequestPeriod":"morning","TRANSMISSION_TYPE":"","ReturnDatetime":"2022-02-07T13:00:00+01:00", "PickupDatetime":"2022-02-07T08:00:00+0 Additional screenshots:OUTPUT: This is become an URGENT issue now. Any support would be highly appreciated.
I want to configure Apache Spark for collecting metrics using Jolokia. For that I am able to do in standalone but not in Cloudera Data Platform as it requires to edit the conf directory in which bigdata.ini file is present. I want to add the following lines in it:- [Spark-Master]stats: http://127.0.0.1:7777/jolokia/read Do anyone have any idea that how can we configure this in Cloudera?
Hi, I'm new to apache spark so Im not sure if this is the best set up, my goal is to create an environment where I can test and evaluate before making decision. I set up cluster on Windows using the steps from: https://aamargajbhiye.medium.com/apache-spark-setup-a-multi-node-standalone-cluster-on-windows-63d413296971 The cluster version Im using is the latest: 3.3.1\Hadoop 3 The master node is starting without an issue and Im able to register the workers on each worker node using the following comand:spark-class org.apache.spark.deploy.worker.Worker spark://<Master-IP>:7077 --host <Worker-IP>When I register the worker , its able to connect and register successfully as the message indicates , and Im able to see both workers in the US with the ALIVE status. Then I tried submitting simple hello_world py job using:spark-submit --master spark://<Master-IP>:7077 hello_world.py My hello_world.py application is like this: s
Even after passing the executor memory and driver memory as 1 Gb still it is getting maximum heap size rounded to 512 MB spark-shell --conf spark.executor.memory=1g --conf spark.driver.memory=1gWarning: Maximum heap size rounded up to 512 MB Anything that is missing?
Hello, I have configured & set Hadoop Cluster over 2 nodes and launch it along with Yarn like so : On the master node :hdfs namenode -regularyarn resourcemanager On the slave node : hdfs datanode -regularyarn nodemanagerAnd it shows through UI that there has been a connection established between the two machines that form the cluster.To note that start-dfs on the master node started both namenode and datanode even after setting slaves and hosts files.Now i submit an application (simple hello world) to Yarn : through this command :Spark-submit --class "main" --master yarn pathToJar But i get the error 15/08/29 12:07:58 INFO Client: ApplicationManager is waiting for the ResourceManager client token: N/A diagnostics: N/AApplicationMaster host: N/AApplicationMaster RPC port: -1queue: root.hdfsstart time: 1440864477580final status: UNDEFINED user: hdfs 15/08/29 12:07:59 INFO Client: Application report for application_1440861466017_0007 (sta
I ran into an interesting situation using the Impala external table. In short, I used "create external table" statement but ended up with a table like a managed one. Here are details.Step 1: creating an external tablecreated external table testdb1.table1 ( fld1 STRING, fld2 STRING ) PARTITIONED BY ( loaddate INT ) STORED AS PARQUET tblproperties('parquet.compress'='SNAPPY','transactional'='false');Step 2: adding partitions and loading data files.alter table testdb1.table1 add if not exists partition (loaddate=20231018);load data inpath '/mytestdata/dir1' into table testdb1.table1 partition (loaddate=20231018);Step 2 shows that this table1 behaves exactly like a managed table. Files at /mytestdata/dir1 are moved to hdfs warehouse path warehouse/tablespace/external/hive/testdb1.db/table1/loaddate=20231018 path. If I drop this partition 20231018, the directory at warehouse/tablespace/external/hive/testdb1.db/table1/loaddate=20231018 is removed.So what exactly is the difference between a m
Goodmorning,I am having troubles with Ranger Service configuration for HDFS.Once opened the Cloudera Manager panel I go to: Clusters -> HDFS -> configuration, then I look up for "ranger" to enable this setting:The issue is that just after I saved the changes whenever I move to another webpage the setting is lost. Microsoft Edge would pop up a message saying "if you leave now some setting could go lost". This happens ONLY when I try to change this setting (Ranger Service for HDFS). It doesn't happen when I modify other values for HDFS or other services.Basically I can't use Ranger for HDFS. Can someone help me on this ? Why cloudera manager won't properly save this setting ?
We are working on below configuration platform.Cloudera Version: CDP 7.1.2Kerberos 5 version 1.15.1Hive 3.1.3000.7.1.7.1000-141Phoenix 5.1.5After kerberos enabled on the platform, we are not able to connect to hive and phoenix from DBeaver or sql client.
Hi, I have the following problem - I download data from the database using QueryDatabaseTable, I receive the data in the avro-binary format, so then I use ConvertAvroToJson - everything converts nicely except the UUID field, I am left with the following json:{"Name":"Mary","Surname":"Smith","Mail":"m.smith@google.com","UUID":{"bytes":"_쪨Ը¬I³Sñ])º\u000E•"},"City":"New York"}I tried to extract this UUID as an attribute and replace it with the :toString() method but it doesn't work, does anyone have an idea how to convert it to a string?
I am new to cloudera rest api.I try to upgrade the cloudera runtime with rest api instead of the web-ui for automation. I am able to download the CDH with rest api. curl -X POST -u admin:admin "http://{url}:7180/api/v44/clusters/{cluster-name}/parcels/products/CDH/versions/7.1.8-1.cdh7.1.8.p0.30990532/commands/startDownload" I am stuck on it ask for upgrade the cluster when it finish the download. From the Web-UI. it is a series of process. I can skip all the checkup step(I understand the risks) and upgrade the cluster. How to do that with the rest api?Thank you very much!!
Hi ,we have added a user via ldap and using super user we have given Grants to the added user but when we log-in in hue using the same and later try to execute create table statement its giving us:Authorization Exception: User <user> does not have privileges to execute 'CREATE' on: defaultas we don't have sentry admin password with us. I need to reset it so that i can log-in using sentry admin and provide the privilege's.i am thinking it should work. please help if there is another work around for this. urgently we need to give privilege's to the added user.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.