Member since
07-31-2018
10
Posts
1
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1288 | 10-04-2018 02:28 PM |
05-07-2019
08:55 PM
1 Kudo
@Kapil
Kaushik
One way additional memory that could be associated with nifi user would be if in the flow there was a processor that was starting an external process. That process would be owned by the nifi user and would appear to be associated to the NiFi process. What types of processors are in the flow?
... View more
12-01-2018
08:33 AM
Thanks for the response. Configurations - How many flows? - did you mean messages in nifi? if yes, almost 45k messages flows as we are using splits and all. you can say almost 1.2 GB of data flows. What version of NiFi? - 1.7.1 What version of JDK? - 1.8 What host OS? - Redhat How much RAM on the system? System is having 32 Gb of RAM. 6GB is allocated to Nifi in bootstrap.conf. What kind of server? - What type of disk? - HDD
... View more
10-04-2018
02:28 PM
This is because I have not made the entry of that processor in below file /src/main/resources/META-INF/services/org.apache.nifi.processor.Processor We should make entry of processor in that file with the complete package path for e.g. org.nifi.processors.FileModifierProcessor
... View more
09-13-2018
10:24 PM
Hello @Kapil Kaushik! Did you check the path for the flow file of this specific node? If not, could you check with the following steps? #First identify where is the location of your nifi.properties being used by nifi process
[root@node2 ~]# ps -ef | grep -i nifi.properties
nifi 1319462 1319414 4 Sep07 ? 06:23:51 /usr/jdk64/jdk1.8.0_112/bin/java -classpath /usr/hdf/current/nifi/conf:/usr/hdf/current/nifi/lib/javax.servlet-api-3.1.0.jar:/usr/hdf/current/nifi/lib/jcl-over-slf4j-1.7.25.jar:/usr/hdf/current/nifi/lib/nifi-nar-utils-1.5.0.3.1.2.0-7.jar:/usr/hdf/current/nifi/lib/jetty-schemas-3.1.jar:/usr/hdf/current/nifi/lib/jul-to-slf4j-1.7.25.jar:/usr/hdf/current/nifi/lib/log4j-over-slf4j-1.7.25.jar:/usr/hdf/current/nifi/lib/nifi-properties-1.5.0.3.1.2.0-7.jar:/usr/hdf/current/nifi/lib/logback-classic-1.2.3.jar:/usr/hdf/current/nifi/lib/logback-core-1.2.3.jar:/usr/hdf/current/nifi/lib/nifi-api-1.5.0.3.1.2.0-7.jar:/usr/hdf/current/nifi/lib/nifi-framework-api-1.5.0.3.1.2.0-7.jar:/usr/hdf/current/nifi/lib/slf4j-api-1.7.25.jar:/usr/hdf/current/nifi/lib/nifi-runtime-1.5.0.3.1.2.0-7.jar -Dorg.apache.jasper.compiler.disablejsr199=true -Xmx512m -Xms512m -Dambari.application.id=nifi -Dambari.metrics.collector.url=http://node4:6188/ws/v1/timeline/metrics -Djavax.security.auth.useSubjectCredsOnly=true -Djava.security.egd=file:/dev/urandom -Dsun.net.http.allowRestrictedHeaders=true -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -XX:+UseG1GC -Djava.protocol.handler.pkgs=sun.net.www.protocol -Dnifi.properties.file.path=/usr/hdf/current/nifi/conf/nifi.properties -Dnifi.bootstrap.listen.port=45115 -Dapp=NiFi -Dorg.apache.nifi.bootstrap.config.log.dir=/var/log/nifi org.apache.nifi.NiFi -K /usr/hdf/current/nifi/conf/sensitive.key
#Then let's check the config which says where's the flow.xml.gz should be
[root@node2 ~]# cat /usr/hdf/current/nifi/conf/nifi.properties | grep -i flow.xml
nifi.flow.configuration.file=/var/lib/nifi/conf/flow.xml.gz After getting the path used for the flow.xml, try to replace it with your healthy flow.xml.gz. Hope this helps!
... View more