Find answers, ask questions, and share your expertise
Recently active
Currently I am facing issue in data stored in HBase where the old data got updated with recent timestamp and majorly columns being null which is partial record even though there was no update transaction received or any update operation performed in Hadoop.Need help to understand in which all scenarios this is can happen or anyone who faced this kind of issue?
Hello,I want to upgrade the NiFi version for my 3 nodes from 1.22.0 to 1.28.1.my question is: can i do the upgrade directly without going through intermediate versions? are there any recommendations?thank you for your feedback in advance
Hello:How to use HAProxy to connect for Kafka with Kerberos authentication?I have three kafka brokers, and i try to use haproxy in front of kafka, but kerberos authenticated failedMy haproxy.conflisten kafka bind *:6677 mode tcp balance roundrobin server kafka1 kafka-1.kafka.net:6668 check server kafka2 kafka-2.kafka.net:6669 check server kafka3 kafka-3.kafka.net:6666 checkI also modifiedkafka1 server.propertiesadvertised.listeners=INTERNAL://:6667,LB://gateway.kafka.net:6668listeners=INTERNAL://:6667,LB://:6668listener.security.protocol.map=INTERNAL:SASL_PLAINTEXT,LB:SASL_PLAINTEXTinter.broker.listener.name=INTERNALlistener.name.LB.gssapi.sasl.jaas.config=com.sun.security.auth.module.Krb5LoginModule required doNotPrompt=true useKeyTab=true storeKey=true keyTab="/etc/security/keytabs/kafka.service.keytab"principal="kafka/gateway.kafka.net@KAFKA.NET"kafka2 server.propertiesadvertised.listeners=INTERNAL://:6667,LB://gateway.kafka.net:6669listeners=INTERNAL:/
We have been using nifi with anonymous enabled with initial development.Now the requirement is to disable anonymous and have user based authorization / authentication.To start with, we want to disable anonymous and have single-user-authorizer.Manage to create Administrator user with the set user script. Able to login with Administrator. But the anonymous is still enabled. Code created user Administrator is still visible with anonymous user. Update nifi.properties with false flag as shared below. But still we are able to access without credentails. nifi.security.user.authorizer=single-user-authorizernifi.security.allow.anonymous.authentication=falsenifi.security.user.login.identity.provider=single-user-providernifi.security.user.jws.key.rotation.period=PT1Hnifi.security.ocsp.responder.url=nifi.security.ocsp.responder.certificate=
I am trying to execute a PowerShell script in java windows minifi workflow using the ExecuteStreamCommand Processor (https://community.cloudera.com/t5/Support-Questions/How-to-execute-a-shell-script-while-using-NiFi-in-Windows/td-p/153638)The script is working when executed manually in the PC but does not work in the workflow. The powershell script checks the current user and if the workflow user is an admin and writes the output to a file.The properties of the ExecuteStreamCommand Processor are as follows :Command Path : C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exeCommand Arguments : -File C:\\scripts\\AdminCheck.ps1 -OutputFile C:\\Path\\adminOutput.txtThe command that works when executed on the PC :-C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe File C:\\scripts\\AdminCheck.ps1 -OutputFile C:\\Path\\adminOutput.txtThis is the powershell script :-param ([string]$OutputFile = "C:\Path\adminOutput.txt" )# Get the current user$C
I use CDP Private Cloud Base 7.1.7 and just enabled Kerberos security. I followed the setup documentation but could not proceed further than this step <https://docs.cloudera.com/cdp-private-cloud-base/7.1.7/security-kerberos-authentication/topics/cm-security-kerberos-enabling-step7-prepare-cluster.html>.In short, I lost "supergroup" access to hdfs. Here are details.* I created an AD account mysuperuser@example.com and an AD group mysupergroup@example.com.* After Kerberos is enabled, I changed dfs.permissions.superusergroup=mysupergroup, and restarted the cluster. Certainly, "mysupergroup" and "mysuperuser" do not exist anywhere in Hdfs POSIX permission settings.* I kinited mysuperuser@example.com, but got hdfs permission denied error. It looks like that Kerberos could not understand AD groups associated with the kinited account.* Then I changed dfs.permissions.superusergroup=mysuperuser, restarted all services, but still got permission denied error.I intended to use Ranger
Hi All, I want to find out what are the roles / groups assigned to a DB / Schema in Hive, how I can get those details ? please suggest. Thank you. Regards,PK
Hi, I've been trying to get this to work, but am not sure how to complete it.From a previous SplitJson I have a queue of Flowfiles in these two formats.{"s_id": 1000,"parent": 0,"items": { "2020": { "s_id": 2020, "parent": 1000 }, "2021": { "s_id": 2021, "parent": 1000 } }}and{"s_id": 1001,"parent": 0}I would like to un-nest them further to the Flowfiles.{"s_id": 1000,"parent": 0}{"s_id": 2020,"parent": 1000}{"s_id": 2021,"parent": 1000}{"s_id": 1001,"parent": 0}I've tried another SplitJson with a JsonPath expression of $.items[*], however this throws a failure for the json where "items" doesn't exist.Can someone please guide me on the steps and process
In Apache Atlas, I am trying to model the data flow of different processes. The issue I am having is that some of these processes share common DataSets but I don't necessarily want the different processes I am modeling to appear to be connected to each other.For example, in this lineage model, I want to show that there is an input of an XML Data source file into a process that outputs and transferred to another computer.{"entity": {"typeName": "datasystem_datatransfer","attributes": {"id":"b75af137-9279-4c73-be9f-0e37b686dde5","qualifiedName": "b75af137-9279-4c73-be9f-0e37b686dde5@datasystem_datatransfer","displayName": "Data Transfer Use Case 1","inputs": [{"uniqueAttributes":{"qualifiedName": "25b60fe5-891c-4c94-87ab-b075d838ec30@datasystem_datasource"},"typeName": "datasystem_datasource"}],"outputs": [{"uniqueAttributes":{"qualifiedName": "21781e1b-4b94-435b-be0a-141776267c4e@datasystem_computer"},"typeName": "datasystem_computer"}],"description": "Data transfer from Data Source to
안녕하세요 CML에서 nexus 로컬 레지스터리를 통해 docker image업로드시 아래와 같이 에러나가서daemon.json 을 수정하여 처리하였으나, cml서버에서 nexus로 image push할때는 에러가 나지 않으나, cml에서 add runtime할때에는 에러가 발생합니다조언 부탁드립니다감사합니다 #에러내용 cml could not fetch the image metadata http:server gave resopnse to HTTPS client
Hi,can you tell me if it is possible to change the owner of a project in cdsw? And how? Many thanks
Good morning,Is there a way to automate the creation of users, groups, and/or policies in NiFi? For example, I have configured LDAP authentication in NiFi -- is there a way to manage not only authentication but also authorization? It is not necessary for this to be LDAP-based.I was considering the possibility of using a script with the API, but I wanted to know if there is an "out-of-the-box" solution available.Thank you.
I'm working in with nifi to grab parquet files from a S3 bucket. But when I read in the parquet files the arrays in the data end up with the following format: [ { "id": 1, "name": "John", "address": { "street": "Main St", "city": "New York" }, "hobbies": [ { "element": "coding" }, { "element": "music" } ], "greetings": [ { "element": { "intro": "hello", "end": "bye" } }, { "element": { "intro": "hola", "end": "adios" } } ], "gender": [ { "element": "M" } ], "record_id": [ { "element": "2a2c6c86947719eacc1742adf1d6f2c7" } ] }] Instead of the des
Hi I have integrated Secured Nifi with NGINX and is integrated with Onelogin SAML 2.0 Custom Connector (Advanced)After entering credentials of one login it shows user logged in on onelogin portal,But on Browser it redirects to /nifi-api/access/saml/login/consumer this url and it shows HTTP ERROR 401 UnauthorizedURI:STATUS:MESSAGE:/nifi-api/access/saml/login/consumer401UnauthorizedFew findings are- Recipient value in SAML payload is empty and Cookie value is not matching with InResponseTo value in SAML PayloadAlso not sure how to match itfrom nifi.user.log file i can see error:SAML Authentication Request Identifier Cookie not foundCan anyone please guide here?
Hi Team,how to sort this below output in Ascending order by maintaining same space in both header values. I've tried using query record but couldn't able to add spaces using SPACE function. but space which i've given is considering as SPACE(numeric) value instead of INT.input:NO CUSTOM.;NO INCSUPB;NO ALLBPBM ;IMPORTE BRUTO;DESCUENTO;IMPORTE NETO0000000023;123548 ;999888 ;875,92 ;176,88 ;699,040000000012;123547 ;777666 ;2347,04 ;591,84 ;1755,2 Expected Output:NO CUSTOM.;NO INCSUPB;NO ALLBPBM ;IMPORTE BRUTO;DESCUENTO;IMPORTE NETO0000000012;123547 ;777666 ;2347,04 ;591,84 ;1755,20000000023;123548 ;999888 ;875,92 ;176,88 ;699,04
I am facing issue with upserting any record in phoenix table thru mapreduce jobs. When using upsert command inside sqlline.py, records are getting inserted but when trying to load/BulkLoad records thru mapreduce or psql.pygetting below error:Exception in thread "main" org.apache.phoenix.schema.MaxPhoenixColumnSizeExceededException: ERROR 732 (LIM03): The Phoenix Column size is bigger than maximum HBase client key value allowed size for ONE_CELL_PER_COLUMN table, try upserting column in smaller value. Upsert data to table SYSTEM.CATALOG on Column TENANT_ID exceed max HBase client keyvalue size allowance, the rowkey is TENANT_ID= AND TABLE_SCHEM=SYSTEM AND TABLE_NAME=CATALOG AND COLUMN_NAME=TENANT_ID AND COLUMN_FAMILY= at org.apache.phoenix.compile.UpsertCompiler.setValues(UpsertCompiler.java:150) at org.apache.phoenix.compile.UpsertCompiler.access$500(UpsertCompiler.java:124) at org.apache.phoenix.compile.UpsertCompiler$UpsertValuesMutationPlan.execute(UpsertCompiler.java:1309) at org.a
Hello all,I'm trying to convert many records from json to parquet with ConvertRecord processor.Most succeed, but convert fails for some files with this error. org.apache.parquet.schema.InvalidSchemaException: Cannot write a schema with an empty group: optional group pop_pools I assume this is because some json files contain the following field. "pop_pools": {} As source record is log data, we can't modify it.Is there any way to avoid this error and convert the records to parquet format?Thanks,
Hi AllI have installed Apache hive 3.1.3 with postgres as remote metastore. schematool initiation successfully happened. Able to create table also but not able to insert any record. Can anyone please help. Hadoop version is 3.3.4. Error is as under:ERROR exec.TaskRunner: Error in executeTask java.lang.NoSuchMethodError: org.apache.hadoop.yarn.util.Apps.setEnvFromInputProperty(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;Lorg/apache/hadoop/conf/Configuration;Ljava/lang/String;)V at org.apache.hadoop.mapreduce.v2.util.MRApps.setEnvFromInputProperty(MRApps.java:717) at org.apache.hadoop.mapred.YARNRunner.setupContainerLaunchContextForAM(YARNRunner.java:537) at org.apache.hadoop.mapred.YARNRunner.createApplicationSubmissionContext(YARNRunner.java:584) at org.apache.hadoop.mapred.YARNRunner.submitJob(YARNRunner.java:326) at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:251) at org.apache.hadoop.mapreduce.Job$11.run(Job.java:1570) at org.apache.hadoop.map
Hello,I' trying to merge over 20000 parquet files into 1 file with MergeRecord processor.But it generates 7 files.It doesn't seem to be caused by Bin size, Bin age or number of records limitation.Looking into the generated file, it looks that similar log records are in the same file. So I assume MergeRecord processor looks into source record content and determine the target file to be merged into.Is this expected behavior?I don't set value in Correlation Attribute Name field.Thanks,
Hi All, This could be a silly question, Apologies for that. How do i serialize the headers sent from PublishKafka_2_6 processor ?Currently, the processor i am using is sending headers along with the payload as a string ID:N1,GRANTED-ID:[root,UI1] {...<Payload>...} we have other applications communicating with Kafka , which sends out headers along with payload as GRANTED-ID: ��♣sr‼java.util.ArrayListx��↔��a�♥☺I♦sizexp☻w♦☻t♦roott♦UI1xID: ��♣t♣N1{...<payload>...} Is it possible for NiFi also to send across as the above format?
We have created new java service for establishing connection with hive of Cloudera kerborized cluster, but stuck because of below error. Error remains the same even we generate kerberos ticket for the hive user through its keytab at remote machine. Tried establishing manual connection using the hive beeline utility as well after generating Kerberos ticket but facing the same issue after several hit and trail .If any one having authentic document or steps to establish jdbc or beeline connection with remote hive for the kerboriszd cluster please share.Caused by: org.ietf.jgss.GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)Detail error message is below (with masked host and server deatils>> -bin]$ ./beelineSLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in [jar:file:/home/maxiq/apache-hive-3.0.0-bin/lib/log4j-slf4j-impl-2.10.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J: Found binding in [jar:file:/home/ma
I am using NiFi ListSFTP 2.1.0 to scan files in the root directory of an SFTP server. The Listing Strategy is set to Tracking Timestamps, and the Remote Poll Batch Size is set to 5000. There are over 10,000 files on the server, and each file has a timestamp. The processor only outputs 1000 files during its first run, but subsequent runs do not list the remaining files. However, with the same configuration, ListSFTP 1.9.1 works as expected. Why is this happening?
Hello,I am new with Apache nifi.i need support to which processors i should use to read an files from server i know it's privilege
Hi, I have a secured Nifi cluster. Im trying to call a nifi api to start\stop processor using postman. I followed the instruction for the api "PUT /processors/{id}/run-status". Provided the Bearer token and the Json Body. However I keep getting 403 Forbidden message. Does anybody know why? I'm able to run other APIs successfully such as getting processor info "GET /processors/{id}"! Im guessing its because Im using SSL secured nifi with jks keystore and truststore, but not sure how to provide this information to postman. Can anyone help please?
Hello, I am trying to implement file processing in batched manner using NiFi processors. My use case is, there are 70-80K files coming daily having size of 200-300 MB each.Taking input those files from S3 store and sending those to spark execution by Livy processor. Plan is to not sending each file location to spark, instead we can batch few files and sending to spark by Livy, so livy connections to spark will get reduced. Below are consideration while creating batch.1. Batch Size: Batch will be based on size e.g. 1000MB2. Wait duration: If there are not enough file to complete batch size then, batch will start after specific wait durationI am trying to implement this using wait, notity and updateAttribute(using stateful variables) based on batch size and wait time, but its not working fully. Any leads/suggestions how to implement this would be much appreciable. Thanks.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.