Find answers, ask questions, and share your expertise
Recently active
Hi experts,I was wondering if there is a place where it shows the enhancements between each hadoop component such as hadoop, yarn, hive, hbase, etc. So I am trying to find a reason to upgrade our hadoop clusters or wait for a newer version to come out. Any help is much appreciated. Thanks,
I am using Nifi 1.12.1 version and configuring Prometheus for monitoring. I have multiple nifi instances running on the same machine. But I am not able to get metrics for all on the same port 9092 and getting below error in nifi log. From 3 nifi instances, only one nifi is able to start Prometheus reporting task properly others are saying Address already in use as displayed in error below. Can't we change the Prometheus metrics endpoint from nifi? For example for each nifi instance, we should be able to use a different metric endpoint in below way. nifi-1 - 9092/metrics (default metric end point)nifi-2 >>> 9092/nifi_2_metricsnifi-3 >>> 9092/nifi_3_metrics 2021-05-10 09:55:39,957 ERROR [Timer-Driven Process Thread-4] o.a.n.c.s.StandardProcessScheduler Failed to invoke the On-Scheduled Lifecycle methods of [PrometheusReportingTask[id=47b5aa61-0179-1000-ce9d-d59160596cdb], java.lang.reflect.InvocationTargetException, 30 sec] due to {}; administra
Hi All,I am doing this course on Cloudera which requires installation of anaconda, spark. After many attempts, i have successfully installed all packages but i still get this error in my notebook. import pyspark import pyspark---------------------------------------------------------------------------ImportError Traceback (most recent call last)<ipython-input-7-c15ae3402d12> in <module>()----> 1 import pyspark/usr/lib/spark/python/pyspark/__init__.py in <module>()3940 from pyspark.conf import SparkConf---> 41 from pyspark.context import SparkContext42 from pyspark.rdd import RDD43 from pyspark.files import SparkFiles/usr/lib/spark/python/pyspark/context.py in <module>()22 from tempfile import NamedTemporaryFile23---> 24 from pyspark import accumulators25 from pyspark.accumulators import Accumulator26 from pyspark.broadcast import Broadcast/usr/lib/spark/python/pyspark/accumulators.py in <module>()89 import select90 import struct---> 91
Hi,when I try to upgrade from HDP 3.0.1.0 to HDP 3.1.0 I get the following error when using the Version Definition File http://public-repo-1.hortonworks.com/HDP/centos7/3.x/updates/3.1.0.0/HDP-3.1.0.0-78.xml. "Version Definition read errorAn internal system exception occurred: Stack data, Stack HDP 3.1 is not found in Ambari metainfo"What am I doing wrong ? What is the meaning behindern this internal system error ?Br,Dennis
Hi, I am using apache nifi's consumeKafka processor to consume IOT data.It is working fine when explicitly specifying the topics. However, I am looking for something more dynamic so I don't have to add topics manually in nifi each time we connect a new device.Is it possible to have wildcards in the kafka topic name field?My topics name look like domain.iot_device_name so I need something like domain.*
I've been looking for information for a long time and I can't get it. I'm starting to think that it can't be done if the .parquet is in Azure DataLake Storage. I have a folder with subfolders in Azure DataLake Storage. In these subfolders there are many .parquet. I want to dump the data of these files in a table of a DB. If I am not mistaken when interpreting the code that generates them, the .parquet have several columns:Some whose names correspond exactly to the names of the columns in the table.Others whose names in the .parquet are in lowercase while in the table they are in uppercase.Others whose names are not in the table. I do not need these, I do not want to dump their data in the table. I manage to get the .parquet out of Azure DataLake Storage using ListAzureDataLakeStorage + FetchAzureDataLakeStorage combination. Then I try to pass them directly through a PutDatabaseRecord to dump them in the DB table. As the "Record Reader" property of the PutDatabaseRec
our files:path/sas/a.textpath/sas/b.textpath/sas//bas/a.textpath/sas/bas/b.text how use File Filter Regex and Path Filter Regex to find path/sas/a.text and path/sas/bas/b.text ?there are my filter, I always got four files.File Filter Regex: a.text|b.textPath Filter Regex: path/sas|path/sas/bas
NiFi 1.13.2OpenJDK 1.8.0_292 (64-bit) <appender name="APP_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> <file>${org.apache.nifi.bootstrap.config.log.dir}/nifi-app.log</file> <rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"> <!-- For daily rollover, use 'app_%d.log'. For hourly rollover, use 'app_%d{yyyy-MM-dd_HH}.log'. To GZIP rolled files, replace '.log' with '.log.gz'. To ZIP rolled files, replace '.log' with '.log.zip'. --> <fileNamePattern>${org.apache.nifi.bootstrap.config.log.dir}/nifi-app_%d{yyyy-MM-dd_HH}.%i.log</fileNamePattern> <maxFileSize>100MB</maxFileSize> <!-- keep 30 log files worth of history --> <maxHistory>30</maxHistory> <totalSizeCap>50GB</totalSizeCap> <!-- archive r
I am getting a server action failed error when ambari tries to create keytabs. I have no idea what is causing this error. I am using KDC admin to install the service. Please help. @Geoffrey Shelton Okot
When running ./nifi.sh status command occasionally the response is that nifi is running but not responding to ping requests. Yet when I open cmd and ping the node I get a normal response and the response time is not out of line with the other nodes. Why is that?
Good morning everybody, I have the following JSON return:{"RegistrosRecebidos" : 1,"RegistrosImportados" : 0,"Erros" : [ "Erro registro 0: The statement has been terminated.\r\nString or binary data would be truncated in table 'Ober_HML.dbo.DB_WS_IMP_CLIENTE', column 'NOME_FANTASIA'. Truncated value: 'ADLER PELZER PERNAMBUCO IND. E COMERCIO '." ]} By default from our supplier, it comes with some formatting. That in Nifi gives the following error: Follow my flow: How can I do to solve this problem in Nifi? I am trying to use ReplaceText for this but I have not been successful. Thanks.
I have identified that some of my Ranger logs are coming in in gz format (but without the extension). Is there a way of extracting the log data within the Nifi flow?
I am trying to collect data with NiFi using ListSFTP+FetchSFTP. But in the configuration ListSFTP works correctly but I have problems with the configuration of FetchSFTP. I tried with ${path}/${filename} still the problem persists,I also used only the data path, but that doesn't work either . the problem also I have a folder of several files.
Hello everebody! Pls i need to your advise. I need to allows a number of flow-files together into a single flow-file with use general key.For example, i have two flow-files with next attributes:manager_name = John Dowcostumer_info = Matt Damoncostumer_location = LA and manager_name = John Dowcostumer_info = Tony Starkcostumer_location = LA Next, I need to recieve single flow-file with count result of the flow-files with general key = John DowFinally single flow-file whith attributes:manager_name = John Dowtotal = 2 How i can do it in nifi?
How to configure wait and notify processor in NiFi so that when one flow file is ingested into the database it has to notify and after that next flow file should come from wait
How do I upload multiple nifi templates at once?Nifi only allows to upload one single template/xml file at a time. How do I upload all the templates in bulk?
I am new to nifi and I want nifi logs to roll daily with no retention policyIs this configuration correct?Another question was do we need to restart nifi after updating logback.xml file? <appender name="APP_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"><!---<file>${org.apache.nifi.bootstrap.config.log.dir}/nifi-app.log</file>--><rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"><fileNamePattern>${org.apache.nifi.bootstrap.config.log.dir}/nifi-app_%d.log</fileNamePattern><maxFileSize>1GB</maxFileSize><!-- keep 30 log files worth of history --><maxHistory>1</maxHistory></rollingPolicy><immediateFlush>true</immediateFlush><encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder"><pattern>%date %level [%thread] %logger{40} %msg%n</pattern></encoder></appender> &nbs
Hi Guys, I am trying to migrate an ORC table from one cluster to another. The export and import does not throw any error and I could see folders and files getting created. But the imported table does not contain any data. Table is getting created with all the correct columns. The same works properly for table stored as textfile. Hive version is 3.1. Please provide your inputs. Regards,Magudeswaran R.
Recently, MapReduce job sometimes failed, the details as below: after check map tasks , the log like below: Log Type: syslogLog Upload Time: Sun Apr 25 13:54:17 +0800 2021Log Length: 55072021-04-25 13:51:01,806 INFO [main] org.apache.hadoop.metrics2.impl.MetricsConfig: loaded properties from hadoop-metrics2.properties2021-04-25 13:51:01,893 INFO [main] org.apache.hadoop.metrics2.impl.MetricsSystemImpl: Scheduled snapshot period at 10 second(s).2021-04-25 13:51:01,893 INFO [main] org.apache.hadoop.metrics2.impl.MetricsSystemImpl: MapTask metrics system started2021-04-25 13:51:01,895 INFO [main] org.apache.hadoop.mapred.YarnChild: Executing with tokens:2021-04-25 13:51:01,895 INFO [main] org.apache.hadoop.mapred.YarnChild: Kind: mapreduce.job, Service: job_1618548626214_99981, Ident: (org.apache.hadoop.mapreduce.security.token.JobTokenIdentifier@732c2a62)2021-04-25 13:51:02,182 INFO [main] org.apache.hadoop.mapred.YarnChild: Sleeping for 0ms before retrying again. Got null now.
I have installed NiFi and MiNiFi on a remote unix server. When I run the command: tail -f nifi-app.logI get all repositories: content_repository, database_repository, flowfile_repository, provenance_repository for NiFi.quamd I run the same command for MiNiFi: tail -f minifi-app.log, get three repositories: content_repository, flowfile_repository, provenance_repository. the installation was successful. I run the command: http://ip:8080. I can't get the NiFi interface, I'm told that this page is not accessible.I do the same thing for MiNiFi and I don't get interface.this page is not accessible. i need help
Hi may I know what version of Python does the new 6.3.3 version of Cloudera supported?
Hi,I have configured Ranger with AD for user and group sync but not able to see the users in the Ranger. Ldapsearch is working fine and able to retrieve the users from group hdpadmin. Please find below snap for the user configuration.Common ConfigUser ConfigGroup Config
Ranger Installation fails as ranger fileset is missing in the repo.I dont see any ranger-admin package in the repositoryhttps:/archive.cloudera.com/p/HDP/3.x/3.1.4.0/centos7-ppc/ranger/ raise RuntimeError(message) RuntimeError: Failed to execute command '/usr/bin/yum -y install ranger_3_1_4_0_315-admin', exited with code '1', message: 'https://archive.cloudera.com/p/HDP/3.x/3.1.4.0/centos7-ppc/ranger/ranger_3_1_4_0_315-admin-1.2.0.3.1.4.0-315.ppc64le.rpm: [Errno 14] Error 404 - The requested URL returned error: 404 Not Found Trying other mirror. To address this issue please refer to the below knowledge base article
Hi , I am trying to pull impala running query with status /services/Impala/impalaQueries#'?filter=(query_state=RUNNING) but it also displaying all Finished query detials. I need to pull information of Only RUNNING query which duration exceed with certain time period. Can some one help me. ThanksAt
--driver-java-options %%JAVA_OPTIONS%% --driver-memory 6g \--master dse://?workpool=default \--deploy-mode cluster \--supervise \--conf spark.executor.extraJavaOptions=%%EXECUTOR_JAVA_OPTIONS%% --total-executor-cores 6 --executor-memory 6g --num-executors 6 \--conf spark.driver.extraClassPath=${CLASSPATH} --conf spark.executor.extraClassPath=${CLASSPATH} \%%ADDITIONAL_SPARK_SUBMIT_CONFIGS%% \using the above configuration.I am trying to consolidate driver and worker node logs in console or single file and new to spark application.Can you please provide your adivse
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.