Find answers, ask questions, and share your expertise
Recently active
Does Cloudera still offers free HDP sandbox download??? in november 2023?Because, when I tried to download HDP sandbox, it is showing that the Access is Restricted...
I had imported a 100GB+ of parquet data into a manually derived schema table in Hue. I had 14 of the 46 columns defined and imported the data successfully. My next step was to define all columns. When I imported the data, I got an error:java.io.IOException: org.apache.hadoop.hive.ql.metadata.HiveException: Cannot inspect org.apache.hadoop.io.ArrayWritableThe parquet files no longer appear in the hdfs filesystem. Is there a way to find out what happened to the data? What went wrong? Can it be corrected?
Hi,I am looking to see if there is a way to conduct health check of Cloudera Services (Nifi, hive etc) on nodes which are running on CDP-PC Data Hub Clusters. I came across an old post, wondering if something like this would be doble in CDP-PC which would give me output of the status of services running on the nodes.https://community.cloudera.com/t5/Support-Questions/API-how-the-get-status-summary-for-all-services-in-ambari/td-p/178973Any response in this regard would be of great assistance.
Hi Team,I would like to fetch values of tag"AltriDatiGestionali" into each line. whenever natura value is 3.5. I'm trying with the below logic but no luck can anyone help in thisINPUT:{"FatturaElettronicaBody": {"DatiBeniServizi": {"DettaglioLinee": [{"Natura": "N3.5","NumeroLinea": 1,"Quantita": "3.00000000","PrezzoUnitario": "209.04000000","AliquotaIVA": "0.00","ScontoMaggiorazione": [{"Tipo": "SC","Percentuale": "42.00","Importo": "263.40"}],"Descrizione": "A6510108918 COPERCHIO TESTATA CIL.","PrezzoTotale": "363.72000000"},{"Natura": "N3.5","NumeroLinea": 2,"Quantita": "7.00000000","PrezzoUnitario": "254.93000000","AliquotaIVA": "0.00","ScontoMaggiorazione": [{"Tipo": "SC","Percentuale": "42.00","Importo": "749.49"}],"Descrizione": "A4634230112 DISCO DEL FRENO","PrezzoTotale": "1035.02000000"},{"AltriDatiGestionali": {"RiferimentoTesto": "22122013260655367-000180 DEL 20/12/2022","RiferimentoData": "22122013260655367-000180 DEL 20/12/2022","TipoDato": "INTENTO"}}]}}}JOLT SPEC:[{"ope
Hi guys! In the QueryDatabaseTable processor configuration, the Maximum-value Columns parameter specifies a column from the database table. The database polling frequency is 5 seconds, but it happens that new data in the table does not have time to appear after 5 seconds and probably due to this the following error appears, but the processor is working and when data appears, it takes it, but this error annoying, can it be avoided somehow?
Hello,I am just starting to learn NiFi and I really appreciate the power of this great tool.But I am struggling for several evenings to get what seems a simple flow to work correctly. I have reviewed several samples on how to make an API call and use pagination to retrieve difference pages. This seems to work but I get a unique FF every time. Usign MergeCOntent I was hoping I could create a combined file containing JSON array of all FF content.It seems so simple but I am missing something. Could anyone point me in the right direction?Logic:1) Create FF with starting values limit (500) and start (0)2) InvokeHTTP with URL and starting values3) Update filename with filename prefix (object_type) and current date YYYY-MM-DD4) Check for additional pages in Pagination group (pagination seems to work, getting multiple pages with different JSON data)5) Iterate through InvokeHTTP with new start offset for next page6) Using both next_page and Output output streams to ensure all pages are provided
Hello AllI need your HelpsI have a flowfile attribute with this expression attr1="${filename:find('OD_NCE.*.gz'):ifElse("/isod/brt_fin_fd_OD_NCE_pipe_sep","notfind")}"I want to have the value of expression not the stringHow I can execute this.For Information : I read this expression from file and after this I convert the content to attributes
Hi,I have a column where float values were stored as STRING type, e.g. 9989.64When I cast that column to obtain a FLOAT like so "SELECT a, cast(a AS FLOAT) ... " I obtain the following:acast(a AS FLOAT)5724.95 5724.9501953125 Why does Hive alter the decimal part? How can I get the exact number?BTW, casting the STRING to DOUBLE does render the expected behaviourBR
Hello, i installed CDP 7.4.4 (trial), already enable TLS and Kerberos. I want to add Ozone in CM but got a this error which is very confusing: stdout:Using /var/run/cloudera-scm-agent/process/1546337746-ozone-STORAGE_CONTAINER_MANAGER as conf dirUsing scripts/control.sh as process scriptCONF_DIR=/var/run/cloudera-scm-agent/process/1546337746-ozone-STORAGE_CONTAINER_MANAGERCMF_CONF_DIR=Wed Aug 30 16:09:11 +07 2023: Running OZONE CSD control script...Wed Aug 30 16:09:11 +07 2023: Detected CDH_VERSION of [7]Wed Aug 30 16:09:11 +07 2023: KERBEROS_AUTH_ENABLED: trueWed Aug 30 16:09:11 +07 2023: OZONE_SSL_ENABLED: trueWed Aug 30 16:09:11 +07 2023: OZONE_SERVICE_ID: hydgWed Aug 30 16:09:11 +07 2023: CONF_DIR: /var/run/cloudera-scm-agent/process/1546337746-ozone-STORAGE_CONTAINER_MANAGERWed Aug 30 16:09:11 +07 2023: Found Ozone Manager(s) on demo-2Wed Aug 30 16:09:11 +07 2023: Found Ozone Storage Container Manager(s) on 'demo-1'Could not find or is not a file stderr:+
We have 3 node apache nifi cluster, built on same versions of nifi i.e Apache nifi 1-.16.0 and Open JDK 11. When trying to delete a funnel from below loop, one of the node gives an error on UI "###### node is is unable to fulfill this request due to: An unexpected error has occurred. Please check the logs for additional details."Nifi infinite loopEnabled debug logs to see more details and unfortunately it ended up in java.lang.StackOverflow error from the below logs. Seems like flow ended in weird state. We tried deleting work directories on cluster and restarting cluster. It din't help though ERROR [NiFi Web Server-34943] o.a.nifi.web.api.config.ThrowableMapper An unexpected error has occurred: java.lang.StackOverflowError: Delayed StackOverflowError due to ReservedStackAccess annotated method. R eturning Internal Server Error response.91796 java.lang.StackOverflowError: Delayed StackOverflowError due to ReservedStackAccess annotated method91797 a
Hi, We are trying to authenticate Nifi with single-user-authorizer using the auto-generated username and password itself. We thought of changing the token expiration time. But, we couldn't find any configuration for token expiration for this default authentication. There is an api which gives the expiation time of the token but the token is still active even after the expiration time we got from the api. Is there any configuration to change the duration of active token? Or Is there a way to get the actual token expiration time?Where can I find the document for working of token expiration for nifi default authentication?
Need help to convert a date from below JSON file from mm/yy to yyyy-mm format using NIFI{ "book_id": "3791" "Key": { "value": [ { "Number": "553", "Date": "05/20" }, { "Number": "5537290000000522", "Date": "03/22"
I moved a working flow that is populating Solr indexes from one process group to another. In the original, the SolrLocation property of the PutSolrContentStream processor is populated using two parameters:#{solr_url}/#{solr_index_name_a}It's done this way because a QueryRecord processor is used to split the record set into two groups, and one path uses the "a" index, and the other, the "b" index. However, in the new flow, I have to append a year value (i.e., "2023") to the name of the index depending on earlier processing. To accomplish this, I am holding the name of the index in an attribute instead of a parameter. At the appropriate time in the flow, I use an UpdateAttribute processor to append the correct year to the index name. Then further down, I have the PutSolrContentStream processor, and I populate the SolrLocation property like this:#{solr_url}/${solr_index_name_a}This fails with an "HTTP ERROR 404 NOT FOUND". It took a lot of trial an error, but I have discovered if I h
Hello,we are running the following Kudu cluster configuration:1 master3 tserversVersion: 1.16The total number of live tablet replicas is 552, as inspected via tserver UI.Tables are partitioned with both range and hash partitioning, following Kudu guidelines.Most of tablets are bound to historical tables, i.e. data is continuously inserted without being further modified.On the other hand, we have some "lookup" tables keeping only the last value of other tables, i.e. a lot of updates is continuously performed on these tablets.What we noticed from this scenario is that most of the disk space is occupied by Kudu metadata which seems to be unused during normal insert/scan operations. And this metadata seems to have an high impact, occupying around 50% of our total disk space (which is 30GB per instance, right now).After having rebooted one of the instances, we have noticed that Kudu is executing a sort of cleanup/data compression that allows to free around 40% of disk space, in particular a
Hello,due to a lack of memory on a DE cluster in DataHub while executing Spark jobs, we are evaluating the resizing of worker/compute nodes with more performant EC2 instance (no need to add more nodes, just increase the available memory).At the moment we have 3 worker nodes and 4 compute nodes, running on m5.4xlarge instances.Is it better to resize both the nodes type or we can resize, for example, only the compute nodes? Thank you,Andrea
In Cloudera Data Flow, I'm using the `QueryDatabaseTable` processor with a maximum-value column to keep track of which records have already been processed. When I'm in Flow Designer testing the flow, I can see that it's maintaining state. Does this state persist if I deploy it, or does the deploy clear the state? I expect it would be the latter, but want to check.Follow up question: Say I make changes to the flow and redeploy. Is the state cleared this time, or does it use the last deployments flow? I'd like to be confident that making changes to the flow doesn't cause it to reprocess all the data again.
I am trying to train a random forest on a dataset containing around 1 Million records and 218 variables (size 70 MB), with a split train (70%) test (30%) and save the quality metrics calculated on the test set (accuracy and f1 score). I managed to run the random forest if I set the number of trees on a low level, use not very deep trees or only use a sample of the data, but as soon as I try to run a randomforest with 150 trees with a higher maxdepth (depth of the tree) on the entire train set, I get an error: Py4JJavaError: An error occurred while calling o1945.evaluate.: java.lang.OutOfMemoryErrorThis error seems to be a problem related to the driver memory: in the spark web ui there seems to be no problem, no failed job, just it stopped to run the next jobs and my spark session in the cdsw can no longer communicate with the cluster and the spark application. And when I am running the randomforest with the same parameters on a 10% sample of the data, it works but
Caused by: org.springframework.web.client.ResourceAccessException: I/O error on GET request for "https://accounts.google.com/.well-known/openid-configuration": sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target;this is error which im gettingmy nifi.properties file is as follows :- nifi.security.autoreload.enabled=falsenifi.security.autoreload.interval=10 secsnifi.security.keystore=./conf/keystore.jksnifi.security.keystoreType=jksnifi.security.keystorePasswd=tyiImfLpqM5/qX1l0VsjK7sxhQx5YZFOZgstogGz8Eknifi.security.keyPasswd=tyiImfLpqM5/qX1l0VsjK7sxhQx5YZFOZgstogGz8Eknifi.security.truststore=./conf/truststore.jksnifi.security.truststoreType=jksnifi.security.truststorePasswd=vFF0nH+45S5ESohcQsH37s/bqJ/Kmy5RiHpL+ZWo2VUnifi.security.user.authorizer=managed-authorizernifi.security.allow.anonymous.authentication=falsenifi.security.user.login.identity.
I need to retrieve all flowfiles in a specific queue in NiFi, but the API only returns up to 100 results at a time. My queue contains 358 flowfiles, so I need a way to retrieve all of themBelow are the API am using for get the flowfiles.API : https://myserver.com:myport/nifi-api/flowfile-queues/ba619122-3c65-3279-a2ba-b3ad89f8a429/listing-requests/903d485f-d4aa-102a-0000-0112e4a15ea {"listingRequest": {"id": "903d485f-d4aa-102a-0000-0112e4a15ea","uri": "https://myserver.com:myport/nifi-api/flowfile-queues/ba619122-3c65-3279-a2ba-b3ad89f8a429/listing-requests/903d485f-d4aa-102a-0000-0112e4a15ea","submissionTime": "10/18/2023 17:07:57.632 IST","lastUpdated": "17:07:57 IST","percentCompleted": 1,"finished": true,"maxResults": 100,"state": "Completed successfully","queueSize": {"byteCount": 3792,"objectCount": 350},"flowFileSummaries": [{"HERE IS THE FLOW FILES TILL 100TH POSITIONS": 100}]}}
Hi,I have been using the cdswctl tool for a while for creating sessions that can be accessed by VS Code from Windows.Today i tried to create a session from a Mac using the same command and it throws an error complaining that the API key is not valid. I have checked the key and same key works fine from Windows.The command i am using is :./cdswctl login -n USERNAME -u http://cdsw.mydomain.xxxx/ -y APIKEYCan anyone offer any advice?Thanks
Hello,I created several Ranger Hive policies via APi or GUI, but some of them throw error "Another policy already exists" during UPDATE policy via API or GUI too.I am able to drop and create policy, but update should work too.Have you any idea, what is the problem?Best regardsKamiled
Hi when i'm performing calculations for "Importo" attribute, it computing correctly , but since it is an array i'm getting repetitive of "Importo" : "." for each item level. Can you help in get rid of this unwanted "Importo" : "." values.INPUT:{"FatturaElettronicaBody": {"DatiGenerali": {"DatiGeneraliDocumento": {"Numero": "130889","Data": "31.10.2023","Causale": "22122013260655367-000180 DEL 20/12/2022","Divisa": "EUR","ImportoTotaleDocumento": "25369.31","TipoDocumento": "${TipoDocumento}"},"DatiDDT": [{"NumeroDDT": "287421-30.10.2023"},{"NumeroDDT": " 287419-30.10.2023"},{"NumeroDDT": " 287423-30.10.2023"},{"NumeroDDT": " 287422-30.10.2023"},{"NumeroDDT": " 287420-30.10.2023"}]},"DatiBeniServizi": {"DettaglioLinee": {"AltriDatiGestionali": {"RiferimentoTesto": "22122013260655367-000180 DEL 20/12/2022","RiferimentoData": "22122013260655367-000180 DEL 20/12/2022","TipoDato": "INTENTO"},"NumeroLinea": [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,"addnewline_1"],"Quant
Hi, i have cluster with knox installed and kerberos autentication enabled, i want to access the knox admin ui to make changes in the topologies, the thing is that i dont really know what is the admin-ui credentials, i tried using my admin from the kerberos but it doesn't work. my credentials from the cloudera manager also dont work. Everything is installed in the same cluster so i wanted to see if someone hava any idea what im doing wrong or any idea of what credencials am i supposed to use.Thanks in advance
I started DistributedMapCacheClientService on Controller Services.when i try to start FetchDistributedMapCache processor got an error "AnnotatedConnectException: Connection refused".Do you have any comments on this situation?@MattWho
HelloI was able to install CDS (spark) 3.3 with CDP 7.1.7-SP2. However, I am not able to do it with CDP 7.1.7.Can someone confirm the latest spark supported bu following CDP(s):1. CDP 7.1.7 - ??2. CDP 7.1.7 SP1 - ??3. CDP 7.1.7 SP1 - CD 3.3 works here.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.