Find answers, ask questions, and share your expertise
Recently active
Hello All, Just checking if anyone is aware or can guide me to a documentation that would provide details of comparison between CDP Private Cloud vs HPE Ezmeral Data Fabric Platform. I have read somewhere that HP took over MapR and then formed HPE Ezmeral. However, can't find what are the differences. Please advise. Thankssnm1523
hi community cloudera, we are verifying a strange behavior of an Impala connection controller on nifi, when the processor starts the connection, it displays the error below:[Cloudera][ImpalaJDBCDriver](500593) Communication link failure. Failed to connect to server. Reason: java.net.SocketException: Connection or outbound has closedcommunication between hosts is ok, ports communicating without problem.when we start and stop the processor the connection occurs without problem, this shows that the error is intermittent.has anyone experienced this type of problem?
Hi, we need to upgrade an old Cloudera CDP 7.1.1 installation to Cloudera CDP 7.1.9 version. The components we use are the following: Apache Hadoop (Includes YARN and HDFS) ,Apache Hive, Apache Impala, Apache MapReduce, Apache ORC, Apache Parquet, Apache Spark 2, Apache Sqoop, Apache Tez, Hive on Tez, Apache Zookeeper.For your knowledge, is the cdp 7.1.9 version backwards compatible with the cdp 7.1.1? Thanks in advance.
Hi Team,I am facing the issue, while trying to fetch the value from jsonpathreader with avroschema attributes as below.json reading from avro schema with jsonpathreader, and want to fetch home number with expression $.phoneNumbers[?(@.type=="home")].number. However, it is getting failed.Please help on this. { "firstName": "John", "lastName": "Smith", "isAlive": true, "age": 25, "address": { "streetAddress": "21 2nd Street", "city": "New York", "state": "NY", "postalCode": "10021-3100" }, "phoneNumbers": [ { "type": "home", "number": "212 555-1234" }, { "type": "office", "number": "646 555-4567" } ], "children": [], "spouse": null}
After I deleted the old cluster and then recreated a new one. I had a new error never got before at the Command Details step. I don't know exactly what is the reason, can someone help me fix this issue? here is the Error Log of Cloudera scm server:2024-07-31 15:56:09,184 ERROR CommandPusher-1:com.cloudera.cmf.model.DbCommand: Command 1546343795(Format) has completed. finalstate:FINISHED, success:false, msg:Failed to format NameNode.2024-07-31 15:56:09,188 ERROR CommandPusher-1:com.cloudera.cmf.model.DbCommand: Command 1546343686(First Run) has completed. finalstate:FINISHED, success:false, msg:Completed only 3/4 steps. First failure: Command (Format (1546343795)) has failedThank you.
While working with JsonRecordSetWriter 1.22.0 on an ExecuteSQLRecord 1.22.0 processor, we have noticed that when selecting columns with arrays such as the below example:the writer has the below output:However, if I select a smaller number in the array:I seem to get the correct result:This seems to be an overflow of some kind that did not seem to exist on our previous version of nifi when working with nifi 1.11.4I am providing below both the settings of the ExecuteSQLRecord processors and the JsonRecordSetWriter. Please advise if this is a bug or If there might be something I am overlooking. Thank you.
Hello everyone,Our team wants to migrate the services running on CM Server i.e node03 to other nodes in the cluster except the Cloudera Manager Services. This is to test high availability so that developer won't get any issues if there is any issue with the node03 of the cluster.Please note: We want to migrate the services individually or to find a better alternative so that we can follow the same procedure in the event of an issue. Need your expertise to discuss further on this.CDH6.3.4
Hey all,So I'm trying to check some columns together to ensure that the sums of A & B equal to row C, for each given currency. Table Sales;CurrencyColAColBColCAUD50,00050,000100,000CAD{null}20,00020,000MZN30,000{null}30,000YER10,00010,00020,000Query that I can't seem to get working properly:SELECT Currency, CAST((SUM)CASE WHEN((coalesce(ColA,0)) + (coalesce(ColB,0))) = (coalesce(ColC,0)) THEN 0 ELSE SUM((coalesce(ColA,0)) + (coalesce(ColB,0))) - (coalesce(ColC,0) END AS sales_check)The output that I'd like to get:Currencysales_checkAUD0CAD0MZN0YER0Thanks,
Hello, I have a problem with execute script processor. I have an incoming flowfile with json content like this:{ "setName": "name", "optionalDict": {}, "directories": [ { "path":"path/to/file", "fileName":"filename", "id":1 } ], "setId":12} My script is the following: import jsonimport java.iofrom org.apache.commons.io import IOUtilsfrom java.nio.charset import StandardCharsetsfrom org.apache.nifi.processor.io import StreamCallbackfrom org.apache.nifi.processor.io import InputStreamCallbackflowFile = session.get() if (flowFile != None): stream_content = session.read(flowFile) text_content = IOUtils.toString(stream_content, StandardCharsets.UTF_8) IOUtils.closeQuietly(stream_content) json_data = json.loads(text_content) session.remove(flowFile) d = {} for x in range(len(json_data['directories'])): d["flowfile{0}".format(x)] = None for i, file in enumerate(d): file = session.create() file = session.putAttribute(file, "setId", str(json_data['setId'])) file = sessi
We have a CDH 5.16 cluster with:- two way Active Directory kerberos & sentry enabled, also Hue backend authentication enabled with AD... We have a "user1" added in AD.... user1 can do kinit & get the tgt. & "user1" is not added in linux user /etc/passwd Problem statment:- user1 logs in to Hue, it clicks to the database icon & since no privileges are given to user1, so it can not see any hive tables...that is expected with sentry authorization..... But...the problem is:- if the user1 clicks HDFS icon in Hue, then user1 is able to see all the data present in hdfs including /user/hive/warehouse/ Why in Hue GUI, user1 is able to read all the data from hdfs including hive warehouse directory...even though sentry is enabled...Isn't the purpose of authorization defeated the moment the "user1" is able to access the data using Hue GUI by clicking HDFS icon, even though we have not provided any privileges to it & also user1 is not added in Linux user in /e
I want to utilise the ConvertRecord 1.23.2 processor to convert text based CEF into JSON using the CEFReader to JsonRecordSetWriter, but somehow keep the original text CEF log as it appears in its text formate as a field called event.original. Is this at all possible within Nifi?
So I have 2 values from different tables that i'm trying to join and aggregate. The problem is that i get results where the math doesn't add up at times- and have tried changing the join\inner join, group by, select distinct, cast- it doesn't seem to work. I need coalesce, as there are null values.Dataset:Table Sales:CurrencyColAColBColCDateFieldAUD208,883{null}{null}'2024-06-30'CAD215,913{null}{null}'2024-06-30'MZN00{null}'2024-06-30'YER0{null}10'2024-06-30'Table OTHER_Sales:CurrencyCol1Col2Col3DateFieldAUD{null}208,88320'2024-06-30'CAD{null}215,9130'2024-06-30'MZN{null}013'2024-06-30'YER{null}00'2024-06-30'Query:SELECT a.currency as currency, SUM((coalesce(a.ColA,0)) + (coalesce(b.Col2))) as sales_checkFROMdb.sales a inner join db.OTHER_sales bON a.currency = b.currencyWHERE a.DateField = '2024-06-30'GROUP BY a.currencyThe incorrect results that I currently get:currencysales_checkAUD-1645761638.790000CAD5855379123.770950MZN0YER0The correct results that I need to get:currenc
I have two hive tables and I want to manually create a lineage relationship between them using the Atlas API.I'm trying to run this POST request:```curl --location 'https://[url]/atlas/api/atlas/v2/entity' \--header 'Content-Type: application/json' \--header 'Authorization: ••••••' \--data-raw '{"entity": {"typeName": "hive_process","qualifiedName": "my_etl_process@cluster","name": "my_etl_process","description": "ETL process from input_table to output_table","attributes": {"inputs": [{"guid": "9768381b-8783-49c3-850d-39bf1f14b73f"}],"outputs": [{"guid": "998de7ba-2254-418d-b405-656eba428643"}]}}}'```I'm getting this 404 response:```{"errorCode": "ATLAS-404-00-007","errorMessage": "Invalid instance creation/updation parameters passed : hive_process.qualifiedName: mandatory attribute value missing in type Referenceable"}``` Any suggestions for how to manually create lineage using the API would be appreciated.
Is it a best practice the team make use of the nifi to build Rest API endpoints ?How nifi handle multiples http connections ?I see nifi as a data transform pipeline tool instead of a drag and drop webui to build Rest API endpoint.Best Regards.
Good Day!We are trying to insert the records into HBase tables using the NiFi processor - PutHBaseRecord. But we are facing the below error. Please help us with your expertise. Thanks!Processor Used: PutHBaseRecord Error Message11:09:31 GST ERRORPutHBaseRecord[id=ee32a0cc-0190-1567-1233-12334fd02c9e] Failed to put records to HBase.: org.apache.hadoop.hbase.client.RetriesExhaustedWithDetailsException: Failed 5 actions: FailedServerException: 5 times, servers with issues
Templates are deprecated from 2.XI have existing nifi process groups in the form of exported .json filesBelow is the requirement for REST API:1. Create process group using exported .json file if not exist2. Update existing process groupI am able to uplod to existing process group using below curl:curl --location 'https://localhost:8443/nifi-api/process-groups/1e373804-0191-1000-e950-856de82e267d/process-groups/upload' \--header 'Cookie: __Secure-Request-Token=2dae7036-f4c3-4115-9865-6c9d7984dfa8' \--header 'Authorization: Bearer esometoken3M' \--form 'positionX="11.0"' \--form 'clientId="11"' \--form 'disconnectNode="false"' \--form 'groupName="empty"' \--form 'positionY="557.0"' \--form 'file=@"/home/gwl/Downloads/existing-flow.json"' But when i try to upload completely new process group using below curl:curl --location 'https://localhost:8443/nifi-api/process-groups/01911000-3804-1e37-10a0-827d946513c6/process-groups/upload' \--header 'Cookie: __Secure-Request-Token=2dae7036-f4c
HiI'm wondering why the users are not mapped to the AD group as shown below.These are my configurations in Ranger. * COMMON CONFIGSLDAP/AD URL : ldap://myADIp:389Bind User: cn=admin,ou=ou1,dc=dc1,dc=dc2,dc=dc3Incremental Sync: YesEnable LDAP STARTTLS: No * USER CONFIGSUsername Attribute: sAMAccountNameUser Object Class: userUser Search Base: ou=ou1,dc=dc1,dc=dc2,dc=dc3User Search Filter: (empty)User Search Scope: subUser Group Name Attribute: memberof,ismemberofGroup User Map Sync: Yes * GROUP CONFIGSGroup Member Attribute: memberGroup Name Attribute: cnGroup Object Class: groupGroup Search Base: ou=ou1,dc=dc1,dc=dc2,dc=dc3Group Search Filter: (empty)Enable Group Search First: NoSync nested Groups: No I would appreciate if you answer to me about this.Thanks.
I have ConsumeJMS Processor in Nifi, which i have setup using JndiJmsConnectionFactoryHandler. I want to execute this nifi processor with a custom keystore. like how we do when we run java class as follow$JAVA_HOME/bin/java -Djavax.net.ssl.trustStore=keystore -Djavax.net.ssl.keystore=keystore -Djavax.net.ssl.trustStorePassword=**** -Djavax.net.ssl.keyStorePassword=**** -classpath ___ com.example.ApplicationI have checked the truststore we have at the root nifi directory. which is configured in bootstrap configuration file we don't want to touch it we just want to run consumeJMS Processor with a some specific keystore and truststore.
Hello,I wanted to understand what happens to the process and flow files which is currently running when the nifi gets restarted? Please share the details for the better understanding of nifi.
Hi Team,I want to achive the below mentioned transformation in Nifi. using any processor. Please help me to get this done.sample input:{"date": "35 days 11:13:10.88","key1": "value1","keyToBeMapped1": "hostname.com","key2": "value2","key3": "value3","key4": "value4","keyToBeMapped2": "High Paging Rate","key5": "PAGING","keyToBeMapped3": "A high paging activity has been detected on host abc.lab.com. This could mean that too many processes are being run","Entity OID": "keyToBeMapped1","Parameter": "keyToBeMapped2","Description": "keyToBeMapped3"}Expected Output:{"date": "35 days 11:13:10.88","key1": "value1","keyToBeMapped1": "hostname.com","key2": "value2","key3": "value3","key4": "value4","keyToBeMapped2": "High Paging Rate","key5": "PAGING","keyToBeMapped3": "A high paging activity has been detected on host abc.lab.com. This could mean that too many processes are being run","Entity OID": "hostname.com","Parameter": "High Paging Rate","Description": "A high paging activity has been det
We're trying to install CDP 7.1.7 on Isilon with OneFS 8.2.2 We found several documents that we tried to follow: - https://infohub.delltechnologies.com/section-assets/h18730-dell-emc-powerscale-onefs-cdp-private-base-install-guide- https://dl.dell.com/content/docu92689_PowerScale_OneFS_HDFS_Reference_Guide.pdf?language=en_US&source=Coveo- https://infohub.delltechnologies.com/l/powerscale-onefs-user-mapping-mapping-identities-across-authentication-providers/mapping-rules-cannot-contain-user-principal-name And more....We also used the isilon hadoop tools and found a few bugs which we provided Pull Requests for (https://github.com/Isilon/isilon_hadoop_tools/pull/105 & https://github.com/Isilon/isilon_hadoop_tools/pull/106 ) so it seems as if thas hasn't been used in a while. We were able to finish the basic setup but we do have issues creating the proper User Mapping Rules.The docs say:"You cannot use a user principal name in a user mapping rule. A user princip
Hi All, How to fetch all files in a directory based on one specific file arrive in that directory Ex: when i've file with extension .trg is there i've to fetch all files (irrespective of name and extension of these files) in that directorylist there are .txt, .xml and . xlsx files are there in \\server\share\test\all these files should be fetched whenever there is file with extension .trg arrive I've tried this scenario using ListSMB-->wait/notify--> Fetchsmb but didn't working are there any solutions suggested by anyone?
Hi there,Now for something totally different 🙂 we need to encrypt and decrypt some files for a flow we are working on. Initially gpg was configured on a linux server and we want to move this functionality to nifi.On the linux server we are using this version of gpg:gpg (GnuPG) 2.0.22libgcrypt 1.5.3We encrypt a test file and get a file with a size of 656 bytes. This file can be decrypted by the next system that needs to process this file.We configure nifi as follow:When reading the same file in the flow, all goes well and we send the output to the next system. Which unfortunately fails to decrypt the file. They get an invalid key length error. So I checked the file size from nifi and looks like 394 bytes only.The keyring files used in public key service is an export from the linux system. Which should work fine. Passphrase and all are the same.So we were wondering which gpg is being used by nifi??? Could it be a version compatibility issue? or something else.Any tips would be very help
Dear Team,I am trying to create an AVRO schema where a field can accept both string data(Expected Format 2) and a dynamic array (Expected Format 1).AVRO schema has event/processFlow/characteristic []/value which is supposed to accept both dynamic array and string. For the “object_avro”, we are passing “object_json” as input. However as per "object_avro it is accepting only Expected Format 1 JSON block.Kindly provide us a solution where an AVRO schema can accept both Expected Format 1 and Expected Format 2 JSON's.Avro Schema:{"doc": "Sample schema to help you get started","fields": [{"name": "event","type": {"fields": [{"name": "processFlow","type": {"fields": [{"name": "id","type": "string"},{"name": "characteristic","type": {"items": {"fields": [{"default": null,"name": "id","type": ["null","string"]},{"default": null,"name": "name","type": ["null","string"]},{"default": null,"name": "valueType","type": ["null","string"]},{"name": "value","type": {"items": {"type": "map","values": ["s
Hello,I'm trying to acces Spark History UI through Apache Knox proxy but I get this error the following error:Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://<spark-host>:18080/api/v1/applications?limit=2147483647&status=completed. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 302.I can' t find something related to CORS in Spark do you know how I could fix that ?Thanks for your answer
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.