Find answers, ask questions, and share your expertise
Recently active
hello Cloudera Community,the process of creating a user and adding them to groups via the nifi WebUI mode works normally.i need to create a user and add them to a group directly using the NiFi API (post, put, get).how do I make this process 100% functional?
Hello,I am using Apache Knox and am having trouble with some rewrites rules, to avoid those is there a way to tell Knox to just redirect the user to the service he asked for instead of proxying the requests on the KnoxUI on port :8443 ?Thanks for your answers
Hello, a customer has a CDH Express 6.3.1 setup and:- It appears that suddenly one (and just one!) of the hosts listed in Hosts --> All Hosts is now showing as having a complete FQDN. It never used to have it (I have screenshots of previous configurations where ALL hosts in the list are shown with just the hostname and no domain)- Also, there are Stale Configurations waiting to be applied. If I click on them, they are related to a number of Client Configuration files waiting to be deployed, and sure enough ALL the lines in ALL the files are showing a single difference for that particular host!Now, I don't know what happened here. Nobody is reporting a CM configuration change made by them.I don't have History/Rollback capabilities on this cluster, as it's an Express Edition. Also, I have no Audits as well to check what (if any?) parameters have been recently changedI just know that Sysadmins recently performed a change in FQDN names on those hosts at OS level, because a monitoring to
Hello,I am securing my Spark history UI with Apache knox and am having trouble with the proxied SparkhistoryUI as mentionned in this thread: https://lists.apache.org/thread/xwzo4g6qk2hqmn62t6p162b8t6l3hldqI managed to edit the rewrite rules to make the css load on the proxied sparkhistory UI but I am now facing another problem I don' t manage to overcome.When the pages loads the js code triggers a jquery call to the api: `$.getJSON(uiRoot + "/api/v1/applications", appParams`The problem is that when Knox is proxying Spark history UI this uiRoot is not the right one it's https://knox-host:8443/api/v1/applications instead of https://spark-ui-host:18080/api/v1/applicationsApache Knox rewrite rules don't seem to be able to fix that so this is why I am sending a message here to see if any of you have a better idea, maybe something related to the proxy setup.I tried to set `spark.ui.proxyBase` to the Spark History UI URL and port so that Knox tries to reach it butI end up with a 302 error `Cr
We are using Hortonworks (HDP-2.6.5.0) and by default, inter cluster communication uses non-SSL ports in this version of HDP. Is there any way to achieve SSL based communications within cluster for all the possible services and nodes in a running HDP cluster ? Any help you can provide in this matter will be highly appreciated.
Hi,It seems like the new version of Apache Nifi 2.0.0 M3 was just released. Per the release notes there are some changes to how python extension are packaged and changes to the UI as well . @pvillard Are you going to make new video to discuss those changes and other important ones? It will be highly appreciated. Im planning to download and start testing but having a video from someone like you would be helpful to set the expectation and avoid running into any issues.Thanks
ERROR [python-log-97916] py4j.java_gateway There was an exception while executing the Python Proxy on the Python Side.Traceback (most recent call last): File "C:\Nifi\nifi-2.0.0-M4\python\framework\py4j\java_gateway.py", line 2466, in _call_proxy return_value = getattr(self.pool[obj_id], method)(*params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Nifi\nifi-2.0.0-M4\.\python\framework\Controller.py", line 75, in createProcessor processor = processorClass(jvm=self.gateway.jvm) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^TypeError: WriteHelloWorld.__init__() got an unexpected keyword argument 'jvm'2024-07-19 11:08:55,680 ERROR [Initialize Python Processor ca359d33-0190-1000-2b29-ff0f5ad6577a (WriteHelloWorld)] o.a.n.py4j.StandardPythonProcessorBridge Failed to load code for Python Processor ca359d33-0190-1000-2b29-ff0f5ad6577a (
We have a requirement to extract data from unstructured logs data and capture the results in a custom format. We have implemented the solution using the ExtractText and ReplaceText Processors but we are not getting the expected results,Please find the details of the input data, current implementation, current output, and expected output format below and help us with your expertise to improvise this using the NiFi Processors.Input File Content : <13>Jul 18 11:39:11 test234104.test.gmail.ae AgentDevice=WindowsLog AgentLogFile=Security PluginVersion=100.3.1.22 Source=Microsoft-Windows-Security-Auditing Computer=mycomputer1 OriginatingComputer=102.123.33.1 User= Domain= EventID=4688 EventIDCode=4688 EventType=8 EventCategory=13312{122}Aug 18 11:39:11 test234104.test.gmail.ae PluginVersion=200.3.1.22 Source=Microsoft-Windows-Security-Auditing AgentDevice=WindowsLog AgentLogFile=Security Computer=mycomputer2.gmail.com OriginatingComputer=125.123.33.1
Hi, I am using the free version of Cloudera for learning purpose, I have a need to upgrade the Spark version running in Cloudera to 2.4.0 to allow some functions work, only for me to be asked for password to authenticate to the site to be able to download and upgrade tom the newer version of Spark.Please can someone advise me how to go about this? It's quite urgent for me. I am not able to create a case with their support helpdesk as well. Regards,Lewi
Dear all, I have installed docker version of Cloudera QuickStart, but file browser is missing, even when. it is totally green.I follow the guidelines in https://docs.cloudera.com/cdp-private-cloud-base/7.1.3/concepts/topics/sdx-workflow-2--view-hdfs-directory-structure-of-compute-clusters.htmlThe file browser should there, but does not show up right now.
I am trying to install cloudera-manager offline and the above problem occurs when I install cloudera-manager-agent package.Installing cloudera-manager-agent packs...BEGIN yum --disablerepo=* --enablerepo=cloudera* list installed cloudera-manager-agentLoaded plugins:fastestmirror, langpacksInstalled packagescloudera-manager-agent.x86_64 6.3.1-1466458.el7 installedEND (0)BEGIN echo oracle-j2sdk1.8 cloudera-manager-agent cloudera-manager-daemons | grep cloudera-manager-agentEND (0)oracle-j2sdk1.8 cloudera-manager-agent cloudera-manager-daemonsBEGIN yum --disablerepo=* --enablerepo=cloudera* info cloudera-manager-agentLoaded plugins: fastestmirror, langpacksLoading mirror speeds from cached hostfileOne of the configured repositories failed (Unknown),and yum doesn't have enough cached data to continue. At this point the onlysafe thing yum can do is fail. There are a few ways to work "fix" this:1. Contact the upstream for the repository and get them to fix the problem.2. Reconfigure the base
Hi,I am getting this error while accessing one environment in Cloudera director... there is no issue with other environments.Also, I could not see the option "Update Environment Credentails" when I click choose the environment. I have tried to use the rest api to update the credentials but it didnt work. curl -u admin -X POST http://sampleweb.net:7189/api/d6.2/environments/testenv/provider/credentials -H 'Content-Type: application/json' -d '{"Access key ID":"username","Secret access key":"password"}'Enter host password for user 'admin':{"timestamp" : 1695055508171,"status" : 405,"error" : "Method Not Allowed","message" : "Request method 'POST' not supported","path" : "/api/d6.2/environments/testenv/provider/credentials"
Hello,Any clue on how we configure Streams Messaging Manager server to send audit logs to HDFS and / or Solr (just like other services) and then they would get archived to /archive directory from where we can manually delete them?I am referring to logs that get stored under below location locally (not HDFS)/var/log/streams-messaging-manager/audit/<hdfs or solr>/spoolThankssnm1523
Hello All,On CDP PB, like we send ranger audit logs of services thats support Ranger plugin to HDFS, can we also send logs of Stream Messaging Manager service to HDFS? I tried to look for config to achieve this, however, I could find only 2 configs (listed below) that allow us to configure the local path. However, there was nothing found to send these logs to HDFS.Ranger Streams Messaging Manager Plugin Audit Hdfs Spool Directory PathRanger Streams Messaging Manager Plugin Audit Solr Spool Directory PathAny help / guidance will be highly appreciated.Thankssnm1523
We are facing the HttpClient error when we try to fetch data from the Hive using the SelectHiveQL NiFi Processor.Please find the error details below and help us resolve this with your expertise. Controller Service - HiveConnectionPoolDatabase Connection URL: jdbc:hive2://localhost:10000/default;principal=hive@test@xyz.comHive Configuration Resources: /etc/hive/conf/hive-site.xml,/etc/hadoop/conf/core-site.xml NiFi Processor - SelectHiveQL Error Message :SelectHiveQL[id=23er-1234-9999-4444-17] org.apache.nifi.processors.hive.SelectHiveQL$$Lambda$2132/2007351143@6ab4a383 failed to process due to java.lang.NoClassDefFoundError: org/apache/http/client/HttpClient- Caused by: java.lang.ClassNotFoundException: org.apache.http.client.HttpClient; rolling back session: {}SelectHiveQL[id=sge33-1234-9999-21-33] Processing halted: yielding [1 sec]: java.lang.NoClassDefFoundError: org/apache/http/client/HttpClient- Caused by: java.lang.ClassNotFoundException: org.apach
Good day,In SIT, I have manually create a hive table. Follow by manually create a partition on it. Then I copy the bucket file from other table and put inside the partition. At this moment, if I run select statement, I getting 0 result, I believe this is normal because data haven't write to meta store.Then I run the following commands:ANALYZE TABLE raw_zone_sit.jxtemp PARTITION (dl_created_yr='2023', dl_created_mth='12') COMPUTE STATISTICS;After I run this command, I able to select data from my table.After that I apply the same way in production, but I am still getting empty result.Currently I am trying to recover all the meta store in production, this is because 1 of the person accidently delete all the meta store in production. Thus now I am trying to recover on it.For your information, parquet tables working fine. But I have some ORC tables also, now pending ORC table to resolve.Please help.
Requirement:Building an open source Hadoop cluster. No Ambari (No support for RHEL 9) and No CM manager (My company is not ready). Server Information:I have 5 nodes in RHEL 9: 2 masters and 3 slaves. Apache Services to be installed as per my company requirement:- Hadoop- Hbase- ZookeeperOnline Resources:Overwhelmed to follow because Its tough for me to figure out how I will be able to interlinked everything together. Needed solution:Can someone please share the standard and most updated resources which i can follow to setup my cluster. And make those services talk to each other in a right direction. Like where to start ? As I know its hadoop but after that I got no clue. I did all the coding part in my previous project and now this admin part is a pain to me.Please someone help. Really appreciate. Thanks,Srikanth
Hello,Could you please help me what i am missing here.. i am trying to copy currency value from currency condition and adding it in calculatePrice array.Input { "tiers": [ { "rewards": [ { "rewardId": 8127, "changeType": 2, "changeAmount": 15, "changePercent": null, "quantityToDiscount": null, "applyInd": 2, "rewardsMerch": [] } ], "priceRuleAttributes": [ { "type": "CFA", "id": "PR_CURR_CONDITION", "values": [ "AED" ] } ] }, { "rewards": [ { "rewardId": 8128, "changeType": 2, "changeAmount": 18, "changePercent": null, "quantityToDiscount": null, "applyInd": 2, "rewardsMerch": [] } ], "priceRuleAttributes": [ { "type": "CFA", "id": "PR_CURR_CONDITION", "values": [ "USD"
When I use the GETMONGO processor to read source data from MongoDB with the output format set to Standard JSON, it converts the original date value to the local timestamp. However, when using the Extended JSON format, the original date value appears but in a different format.I need one of the following solutions:1. Original date value in Standard JSON format: The date should appear as "createdAt": "2012-08-27T22:32:56Z".2. Date format in Extended JSON: The date should appear as {"createdAt": "2012-08-27T22:32:56Z"}.3. Transformation: Convert the Extended JSON format from "createdAt": {"$date": "2012-08-27T22:32:56Z"} to {"createdAt": "2012-08-27T22:32:56Z"}.Here are examples of the outputs:**Standard JSON output:**[{"_id": "629f3a565f65e119263fa79e","id": "46dd1621-910f-4eb6-91a0-5ae609a77b10","firstName": "kelly","createdAt": "2012-08-28T10:32:56Z","modifiedAt": "2024-07-01T18:17:29Z","suspended": false,"linkedAccounts": [{"accountNumber": "100000000","accountType": "SAV","linkedAt":
After adding new datanodes to the existing cluster and updating topology file. I am not able to refresh the namenode to pick up rack of the new node. It puts under `/default-rack`. Anyway to refresh the rack topology changes without restarting namenodes?
We have a requirement to convert the CSV file content into a custom format. Please find the details of the input and expected output format below and help us with your expertise to achieve this using the NiFi Processors.Input File Content :username, first name, middle name, last nametest_user, test_FN, test_MN, test_LNtest_user2, test2_FN, test2_MN, test2_LNExpected Output Format :username = test_userfirst name = test_FNmiddle name = test_MNlast name = test_LNusername = test_user2first name = test2_FNmiddle name = test2_MNlast name = test2_LN
Hello,I am wondering if there is any way to secure HBase with Apache Knox so that if the Knox token is not provided HBase redirects to the Knox SSO page. I managed to do it for HDFS Yarn and Spark using filters but can' t seem to find any way to do that with HBase.```<property><name>hadoop.http.authentication.type</name><value>org.apache.hadoop.security.authentication.server.JWTRedirectAuthenticationHandler</value></property><property><name>hadoop.http.authentication.authentication.provider.url</name><value>https://<knox-host>:8443/gateway/knoxsso/api/v1/websso</value></property><property><name>hadoop.http.authentication.public.key.pem</name><value><Your public token from the .pem file></value></property>```Here is what I added in core-site.xml to protect HDFS and Yarn.Thank you for your time
Hai, everyoneMy principal KVNO is different from each other principals like thisroot@master:~# kvno hdfs-hadoop@EXAMPLE.COM kvno nn/master.hadoop.com@EXAMPLE.COMhdfs-hadoop@EXAMPLE.COM: kvno = 3kvno: Server kvno@EXAMPLE.COM not found in Kerberos database while getting credentials for kvno@EXAMPLE.COMnn/master.hadoop.com@EXAMPLE.COM: kvno = 2Can the kvno be different from each other's principals?
Hi All,My Apache Nifi is running properly but unable to open my ec2 ubuntu IP-address in browser . I am getting This site can't be reached error. Please help me to resolve this issue .
Hi guys,I am currently evaluating if NiFi can replace one or two of our tools (Talend OS/VisualCron).Therefor I need to find out how NiFi can be used to transfer (mainly "move") files from one sftp source to another. We have at the moment around 500 jobs in Visual Cron doing this. There are 40-50 servers in use and the jobs differ by file pattern and path.The closest solution I have found so far would be a custom processor mentioned in this post. But it seems outdated and need to get some fixes before it can be successfully build again.Either I could store all server and job configurations in an external file (yaml/xml) to create flowfiles or as preferred to store this data directly in NiFi - but not sure how.The benefit I see against VisualCron to let NiFi do the job is his queue system. This will make our transfers a lot more stable which is not at the moment.Do you think NiFi would be the right choice for this and can help me to find a suitable solution without creating 500 flows in
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.