Find answers, ask questions, and share your expertise
Recently active
I have configure knox in host knox111.abc.hadoop.dc.corp.com and namenodes in nn01.abc.hadoop.dc.corp.com, nn02.abc.hadoop.dc.corp.com.The knoxsso redirection works fine when directly configuring NN with individual Knox host but when using VIP that is configured as knox-hadoop-def.corp.com the redirection to NN doesn't work.I have configured below whitelist setting but still redirection fails. VIP is configured with CA certs and individual knox hosts are configured with self-signed.gateway.dispatch.whitelist = .*knoxsso.redirect.whitelist.regex = .* knoxsso.redirect.whitelist.regex = corp.comAny help is appreciated!
@mburgess --I am using JsonQueryElasticSearch to fetch data from elastic .I am using query to fetch only one record using a particular event_id the processor reads the same data and duplicate records are stored in Oracle DB
Hi everyone, I would like some clarification. Thank you.When we enabled Kerberos, we encountered some errors during the "start clusters" phase in the command details, specifically when starting HBase.Subsequently, we examined the HBase log: cat /var/log/hbase/hbase-cmf-hbase-REGIONSERVER-cdp717w2.am.ocp.poc.log.out2024-05-02 23:14:41,118 WARN org.apache.hadoop.hbase.zookeeper.ZKUtil: regionserver:16020-0x30046d0bb0d003e, quorum=cdp717m1.am.ocp.poc:2181,cdp717mo.am.ocp.poc:2181,cdp717w0.am.ocp.poc:2181, baseZNode=/hbase Unable to get data of znode /hbase/runningorg.apache.zookeeper.KeeperException$NoAuthException: KeeperErrorCode = NoAuth for /hbase/running at org.apache.zookeeper.KeeperException.create(KeeperException.java:120) at org.apache.zookeeper.KeeperException.create(KeeperException.java:54) at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:2131) at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.getData(RecoverableZooKeeper.java:35
I am trying to automate the cloudera services installation process how can we manually install services like hue,hive,ranger using package install
I used NiFi from HDF sandbox (PC A) to copy files to HDFS of HDP sandbox (PC B). NiFi can read files list from HDFS without any error. The flowchart is shown below:However, NiFi can not get files or put files on HDFS, the errors are shown below:GetHDFS processor error:PutHDFS processor error:Can anyone help me? Thank you very much.
Error while trying to upgrade nifi-registry from 1.25.0 to 2.0.0M1-------------------------------------------------------------------------------------------------------------------Error : ERROR [main] o.springframework.boot.SpringApplication Application run failedorg.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'accessResource' defined in file [/opt/nifi-registry/nifi-registry-current/work/jetty/nifi-registry-web-api-2.0.0-M1.war/webapp/WEB-INF/classes/org/apache/nifi/registry/web/api/AccessResource.class]: Unsatisfied dependency expressed through constructor parameter 5: Error creating bean with name 'getIdentityProvider' defined in class path resource [org/apache/nifi/registry/security/authentication/IdentityProviderFactory.class]: Failed to instantiate [org.apache.nifi.registry.security.authentication.IdentityProvider]: Factory method 'getIdentityProvider' threw exception with message: Identity Provider configuration XML was prote
I have 5 nodes of NiFi cluster. using 3000 processors. which contains 150+ pipelines(which have some simple use cases like reading the date from RDBMS or from file directory, applying some transformation, and writing it to Kudu table or HDFS. and in some use cases we are making http calls by using InvokeHTTP and JOLTTransformation processor). we are using PutKudu processor in many pipelines. some of the custom processors also we used(like ExecuteGroovyScript, GetSMPP).PFB the cluster details :Each node has 24 GB ram.2 nodes have 16 core, another 2 nodes have 32 core and the remaining node have 48 cores. Almost all the times, I am not seeing much files in the queue and active threads are also like less than 50 in each node. but still we find the NiFi UI slow. and each node consuming more than 80% of jvm heap space regularly. CPU utilization are also going beyond 80%Can someone review my configuration or guide me here to resolve this issue.
I'm working on a data processing flow using Apache NiFi, and I have a scenario that I'd like some guidance on.I have an Execute SQL script that retrieves data from a table in a SQL Server. Among the data returned, I have source and target folder paths.My goal is to loop through each of these source folder paths. For each folder, if there are any files present, I need to:Insert a record into the database to log the file's details.Move the file from the source folder to the corresponding target folder.I'm currently using NiFi, and I'm wondering what processors and strategies I should consider to achieve this workflow efficiently. Any insights, recommendations, or examples of similar workflows would be greatly appreciated.Thank you in advance for your help!
We have a requirement to collect all the data that we receive for one day in one text file. We get the data at different time intervals, We need to collect all day on a text file with the filename as currentdate.txt.Let's say, on 24th July 2024 we received some data like "This is data 1" in the morning then we need to create a new file with the name "24072024.txt" and add the data to the file. Later in the afternoon, we received data like "This is data2". then this data needs to be added to the text file - "24072024.txt". Also if the file does not exist then we need to create the new file with that date. So please help us with the NiFi flow how to append the text in the file if it exists and then how to handle the condition to create a new text file if it does not exist.
We're doing a bit of research here and trying to understand if LLMs are only available by accessing them through git and huggingface or whether there are some in built LLMs accessible using CML. Thank you
Is it possible to conenct and query Nessie catalog using Hue editors/connectors?
I am doing an ETL project that is taking data from CSV files and loading into a postgresql database. The files can contain up to 1M rows, and I need to process many files.Using NiFI version 1.15.2.The flow that I have built can be simplified into "Fetch CSV" -> "Convert to Avro" -> "PutDatabaseRecord".But I am having an issue where any timestamp columns that have microsecond precision are being truncated to seconds when inserted into the database. The project's requirements are for no data loss, so losing the microseconds will fail the requirement.I have tried using both inferred and explicit schemas in the controller services, but both methods truncate the timestamps. I created a test flow and database to explore the issue. The database has columns for storing the timestamp in string, timestamp and as an epoch number. My schema for the controller service{"name": "timestampTest","namespace": "nifi","type": "record","fields": [{"name": "bom_stn_num", "type": "s
Hi, I am looking to fetch only new files added in the directory exactly one time and once file is picked it should not be picked again in apache nifi. I want to schedule this process to to every 3 hours. Please provide solution with screenshot the properties you used to do this process or which processors you are using. I am bit confused between listfile getfile and fetchfile and which properties to used. Any help in this issue will be greatly appreciated.Thank You!
Hello!all nodemanager down everyday withou FATAL, ERROR in logsIts all log 2024-06-28 00:11:50,491 WARN SecurityLogger.org.apache.hadoop.ipc.Server: Auth failed for 10.143.10.2:46342:appattempt_1719446422443_24818_000001 (auth:SIMPLE) (DIGEST-MD5: digest response format violation. Mismatched response.)2024-06-28 00:11:50,492 INFO org.apache.hadoop.ipc.Server: Socket Reader #1 for port 38274: readAndProcess from client 10.143.10.2 threw exception [javax.security.sasl.SaslException: DIGEST-MD5: digest response format violation. Mismatched response.]2024-06-28 00:11:50,748 WARN SecurityLogger.org.apache.hadoop.ipc.Server: Auth failed for 10.143.10.2:46366:appattempt_1719446422443_24827_000001 (auth:SIMPLE) (DIGEST-MD5: digest response format violation. Mismatched response.)2024-06-28 00:11:50,748 INFO org.apache.hadoop.ipc.Server: Socket Reader #1 for port 38274: readAndProcess from client 10.143.10.2 threw exception [javax.security.sasl.SaslException: DIGEST-MD5: digest response for
Hi,It blow my mindI try to connect hive using Cloudera ODBC Driver for Apache Hive on ReportServer. We have kerberos autentication.When i test system DSN it SUCCESS And when i test connection on PowerBI ReportServer in upload powerbi report using this DSN (in menu : control>>data sources) it has success (windows autentificathion)But when i test connection on PowerBI ReportServer creating data source for SSRS report , using the same DSN , it have error (windows autentificathion) :ERROR [28000] [Cloudera][ThriftExtension] (9) Error occurred while authenticating via SASL. Error details: SASL(-1): generic failure: GSSAPI Error: Unspecified GSS failure. Minor code may provide more information (Internal credentials cache error) ERROR [28000] [Cloudera][ThriftExtension] (9) Error occurred while authenticating via SASL. Error details: SASL(-1): generic failure: GSSAPI Error: Unspecified GSS failure. Minor code may provide more information (Internal credentials cache error)
my work on hdfs data at REST encryption.i m using hybrid encryption based on python language in ubuntu vmso plz guide me how we use this hybrid encryption based on python for provide security of data at REST
https://docs.cloudera.com/runtime/7.2.18/atlas-import-utility/topics/atlas-bulk-migration-import-hive-metadata.htmlI followed this document import-hive.sh errors out saying failing to parse the arguments. Looking for any alternate options to bulk import database (having thousands of tables) from hive to atlas as it is going to be time consuming task, and may fail due to time out issue. is there export and import option? pls advise, currently its a challenge to import a database with thousands of tables in it.
Good morning. I am attempting to automate a deployment of nifi. I set all the properties I wished to dynamically configure as Parameters and uploaded the parameters through the API. This included both normal and sensitive parameters. This worked great. Next I attempted to upload a flow into a process group. All normal parameters worked great. However all sensitive parameters did not get set. For example. given a parameter my.password, it was set in the flow property as #{my.password}. So entering it from the GUI one at a time works great, but Every sensitive property set by the import is incorrect. Is there a fix for this or another approach to be able to set the sensitive properties through the api. I would prefer not to call each processor which has sensitive properties individually. ThanksRich
Hi all - I am trying to create a Hive table from nested JSON parquet data. The problem is one object is dynamic and I want to store it as a string since it changes. Example JSON: {"level1": {"level2": {"key1": "someString","level3": {"level4": {"key2": 1234,"level5": [{"this": 1,"changes": false,"each": 12345,"item": 0,},{"something": 12345,"new": true,"here": [123]}]}}}}} Here is what I have tried:CREATE EXTERNAL TABLE IF NOT EXISTS my_table (level1 STRUCT<,level2 STRUCT<,key1 STRING,level3 STRUCT<,level4 STRUCT<,key2 BIGINT,level5 ARRAY<STRING>>>>>) STORED AS PARQUETLOCATION '/my/json/parquet/'TBLPROPERTIES ("parquet.compression"="SNAPPY"); This will successfully create the table. I can query down all levels except "level5" falls apart. Is there a way I can cast the array in level5 into a string since it always changes?? FYI I have tried ROW FORMAT SERDE 'org.apache.hive.hcatalog.data.JsonSerDe', but this
Hello there,I learned about nifi counters, but when I open my nifi instance and click on the counters button in the main menu, it just opens an empty list. Same when I call nifi-api/counters. It is just an empty list. I do have processors and processgroups running.So does anyone have an explanation why that is? I use nifi 1.23.2 on my local machine. Thanks in advance!
nifi.python.command=python3nifi.flow.configuration.file=../data/flow.json.gznifi.flow.configuration.archive.enabled=falsenifi.flow.configuration.archive.dir=../data/archive/nifi.flow.configuration.archive.max.time=30 daysnifi.flow.configuration.archive.max.storage=500 MBnifi.flow.configuration.archive.max.count=nifi.flowcontroller.autoResumeState=truenifi.flowcontroller.graceful.shutdown.period=10 secnifi.flowservice.writedelay.interval=500 msnifi.administrative.yield.duration=30 secnifi.bored.yield.duration=10 millisnifi.queue.backpressure.count=10000nifi.queue.backpressure.size=1 GBnifi.authorizer.configuration.file=./conf/authorizers.xmlnifi.login.identity.provider.configuration.file=./conf/login-identity-providers.xmlnifi.templates.directory=../data/templatesnifi.ui.banner.text=nifi.ui.autorefresh.interval=30 secnifi.nar.library.directory=./libnifi.nar.library.autoload.directory=./extensionsnifi.nar.working.directory=./work/nar/nifi.documentation.working.directory=./work/docs
Hello All, When I try to restart or stop or start any services, the background operations in Ambari does not list the operations. It shows no services to show. It was working fine earlier and now all the previous operations are also missing in the list. Ambari - 2.7.3 HDP 3.1.0
Hello,We have custom syslog Cisco messages in the following format <117>2024-07-23T14:09:56Z XXXXXXXXX : %FTD-5-430003: EventPriority: Low, DeviceUUID: xxxxxxxxxxxxx, InstanceID: 2, FirstPacketSecond: 2024-07-23T14:09:56Z, ConnectionID: 32322, AccessControlRuleAction: Allow, SrcIP: A.B.C.D, DstIP: A.B.C.D, SrcPort: 42308, DstPort: 24224, Protocol: tcp, IngressInterface: XXX, EgressInterface: XXX, IngressZone: XXX, EgressZone: YYY, IngressVRF: Global, EgressVRF: Global, ACPolicy: AAA-BBB, We want to use NIFI to format to CEF ( common event format ). Any help which processors to use, please?
Hi,I’m experiencing an issue when multiple queries are executed simultaneously. When I run the query by itself, it succeeds. However, when multiple queries run concurrently, I encounter problems.Does anyone know how I should configure Impala to avoid this issue? I’ve attached the profile of the failed query.My mem_limit is set to 60GB for 5 workers and 90GB for the other 8.Thanks,
Hello, I am trying to replicate ranger policies from one instance of ranger to another. I know there is an api call called - /plugins/policies/importPoliciesFromFile I found that's good for the initial migration of all of them but when it comes to the inserts, updates, and deletes after that what's the best way to handle that? If I use the same call, it will overwrite the previous policies which isn't what I want.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.