<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: CDF - Add NiFi CA Service Service to Cluster - FileNotFoundException in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/CDF-Add-NiFi-CA-Service-Service-to-Cluster/m-p/92701#M33668</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/27163"&gt;@anung&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/34466"&gt;@Sheldon_G&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35061"&gt;@Nando&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm sorry to hear you are hitting this issue.&amp;nbsp; Let me walk through the install and see if I can lend a hand.&amp;nbsp; What instructions are you using?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 13 Jul 2019 17:45:21 GMT</pubDate>
    <dc:creator>bgooley</dc:creator>
    <dc:date>2019-07-13T17:45:21Z</dc:date>
    <item>
      <title>CDF - Add NiFi CA Service Service to Cluster - FileNotFoundException</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDF-Add-NiFi-CA-Service-Service-to-Cluster/m-p/91405#M33662</link>
      <description>&lt;P&gt;Using CM with CDF, using Parcels, trying to Add NiFi CA Service to cluster. Got the following error while trying to activate roles:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;at com.cloudera.cfg.tools.XmlTools.parseXml(XmlTools.java:122)
	at com.cloudera.cfg.tools.XmlTools.parseHadoopXmlConf(XmlTools.java:51)
	at com.cloudera.cfg.configuration.Configuration.getGlobals(Configuration.java:73)
	at com.cloudera.cfg.configuration.Configuration.substitute(Configuration.java:89)
	at com.cloudera.cfg.configuration.Configuration.load(Configuration.java:57)
	at com.cloudera.cfg.JobProcessor.&amp;lt;init&amp;gt;(JobProcessor.java:45)
	at com.cloudera.cfg.Main.main(Main.java:30)
Caused by: java.io.FileNotFoundException: /var/run/cloudera-scm-agent/process/59-nifitoolkitca-NIFI_TOOLKIT_SERVER/staging/globals.xml (No such file or directory)
	at java.io.FileInputStream.open0(Native Method)
	at java.io.FileInputStream.open(FileInputStream.java:195)
	at java.io.FileInputStream.&amp;lt;init&amp;gt;(FileInputStream.java:138)
	at java.io.FileInputStream.&amp;lt;init&amp;gt;(FileInputStream.java:93)
	at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
	at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
	at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:623)
	at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:148)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:806)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:243)
	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339)
	at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:205)
	at com.cloudera.cfg.tools.XmlTools.parseXml(XmlTools.java:120)
	... 6 more&lt;BR /&gt;&lt;BR /&gt;Any advice?&lt;/PRE&gt;</description>
      <pubDate>Sat, 08 Jun 2019 15:44:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDF-Add-NiFi-CA-Service-Service-to-Cluster/m-p/91405#M33662</guid>
      <dc:creator>Sheldon_G</dc:creator>
      <dc:date>2019-06-08T15:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: CDF - Add NiFi CA Service Service to Cluster - FileNotFoundException</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDF-Add-NiFi-CA-Service-Service-to-Cluster/m-p/91460#M33663</link>
      <description>&lt;P&gt;Adding Sys Info:&lt;/P&gt;&lt;P&gt;OS: RHEL7&lt;/P&gt;&lt;P&gt;CDH 6.2.0 (Parcels)&lt;/P&gt;&lt;P&gt;CM 1.0.0.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 17:51:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDF-Add-NiFi-CA-Service-Service-to-Cluster/m-p/91460#M33663</guid>
      <dc:creator>Sheldon_G</dc:creator>
      <dc:date>2019-06-10T17:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: CDF - Add NiFi CA Service Service to Cluster - FileNotFoundException</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDF-Add-NiFi-CA-Service-Service-to-Cluster/m-p/91483#M33664</link>
      <description>&lt;P&gt;In looking around the fs, I see that the missing files are in fact under a different path, starting at&amp;nbsp;/var/run/cloudera-scm-agent/process/.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The files are in /var/run/cloudera-scm-agent/process/&lt;STRONG&gt;89&lt;/STRONG&gt;-nifitoolkitca-NIFI_TOOLKIT_SERVER.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know why the parcel installer would put files in a location that is slightly different, but still in the .../process/... path?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 15:40:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDF-Add-NiFi-CA-Service-Service-to-Cluster/m-p/91483#M33664</guid>
      <dc:creator>Sheldon_G</dc:creator>
      <dc:date>2019-06-11T15:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: CDF - Add NiFi CA Service Service to Cluster - FileNotFoundException</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDF-Add-NiFi-CA-Service-Service-to-Cluster/m-p/92283#M33665</link>
      <description>&lt;P&gt;hi&amp;nbsp;Sheldon_G&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;did you or solve this problem?&lt;/P&gt;&lt;P&gt;i'm facing same error during reinstall of NiFiCA.&lt;/P&gt;&lt;P&gt;i've looked for any documentation but nothing found...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for any halp&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2019 15:40:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDF-Add-NiFi-CA-Service-Service-to-Cluster/m-p/92283#M33665</guid>
      <dc:creator>Nando</dc:creator>
      <dc:date>2019-07-04T15:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: CDF - Add NiFi CA Service Service to Cluster - FileNotFoundException</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDF-Add-NiFi-CA-Service-Service-to-Cluster/m-p/92382#M33666</link>
      <description>&lt;P&gt;Nando - no I am still waiting for guidance to get this issue resolved. If I get any resolution I will update this thread.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2019 17:54:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDF-Add-NiFi-CA-Service-Service-to-Cluster/m-p/92382#M33666</guid>
      <dc:creator>Sheldon_G</dc:creator>
      <dc:date>2019-07-08T17:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: CDF - Add NiFi CA Service Service to Cluster - FileNotFoundException</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDF-Add-NiFi-CA-Service-Service-to-Cluster/m-p/92700#M33667</link>
      <description>yup, me too, trying with CDF 1.0.1.0 got this exact error message</description>
      <pubDate>Sat, 13 Jul 2019 13:43:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDF-Add-NiFi-CA-Service-Service-to-Cluster/m-p/92700#M33667</guid>
      <dc:creator>anung</dc:creator>
      <dc:date>2019-07-13T13:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: CDF - Add NiFi CA Service Service to Cluster - FileNotFoundException</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDF-Add-NiFi-CA-Service-Service-to-Cluster/m-p/92701#M33668</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/27163"&gt;@anung&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/34466"&gt;@Sheldon_G&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35061"&gt;@Nando&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm sorry to hear you are hitting this issue.&amp;nbsp; Let me walk through the install and see if I can lend a hand.&amp;nbsp; What instructions are you using?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jul 2019 17:45:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDF-Add-NiFi-CA-Service-Service-to-Cluster/m-p/92701#M33668</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2019-07-13T17:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: CDF - Add NiFi CA Service Service to Cluster - FileNotFoundException</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDF-Add-NiFi-CA-Service-Service-to-Cluster/m-p/92703#M33669</link>
      <description>&lt;P&gt;I tested on CM 6.2 and did not encounter the problem on CFM 1.0.1.0.&lt;/P&gt;&lt;P&gt;My process directory (created by CM/agent for the process to start) does not include the file.&lt;/P&gt;&lt;P&gt;However, the config.zip that is in the process directory does contain it:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[root@host-10-17-100-225 2537-nifitoolkitca-NIFI_TOOLKIT_SERVER]# unzip -l config.zip&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Archive: config.zip&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Length Date Time Name&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;--------- ---------- ----- ----&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;2094 07-13-2019 13:44 staging/globals.xml&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;1192 07-13-2019 13:44 logback.xml&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;828 07-13-2019 13:44 scripts/cc.sh&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;294 07-13-2019 13:44 cloudera-monitor.properties&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;238 07-13-2019 13:44 aux/configbuilder/ca-config.json&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;0 07-13-2019 13:44 redaction-rules.json&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;308 07-13-2019 13:44 cloudera-stack-monitor.properties&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;1205 07-13-2019 13:44 aux/templates/env.sh&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;1280 07-13-2019 13:44 aux/templates/config.json&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;989 07-13-2019 13:44 aux/templates/hadoop_xml_properties.j2&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;2332 07-13-2019 13:44 scripts/control.sh&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;1006 07-13-2019 13:44 aux/configbuilder/control-env.json&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;809 07-13-2019 13:44 aux/defaults/nifi-ca-client.xml&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I saw one hint in an internal discussion that permissions on /var/lib/nifi* could be an issue... can you do an "ls -lrt /var/lib/nifi*" and show the results?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll work with the NiFi team on Monday to see if we can get this working for you.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jul 2019 00:32:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDF-Add-NiFi-CA-Service-Service-to-Cluster/m-p/92703#M33669</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2019-07-14T00:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: CDF - Add NiFi CA Service Service to Cluster - FileNotFoundException</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDF-Add-NiFi-CA-Service-Service-to-Cluster/m-p/92704#M33670</link>
      <description>&lt;P&gt;Hi Bgooley,&lt;BR /&gt;&lt;BR /&gt;thank you for responding, I tried sith Support Portal but CDF is not there yet &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;I dont have /var/lib/nifi in the server. strange...&lt;BR /&gt;&lt;BR /&gt;should I mkdir manually?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using instruction from Hortonworks sites&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jul 2019 02:29:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDF-Add-NiFi-CA-Service-Service-to-Cluster/m-p/92704#M33670</guid>
      <dc:creator>anung</dc:creator>
      <dc:date>2019-07-14T02:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: CDF - Add NiFi CA Service Service to Cluster - FileNotFoundException</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDF-Add-NiFi-CA-Service-Service-to-Cluster/m-p/92712#M33671</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/27163"&gt;@anung&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also used the instructions here:&amp;nbsp; &lt;A href="https://docs.hortonworks.com/HDPDocuments/CFM/CFM-1.0.1/installation/content/overview.html" target="_blank" rel="noopener"&gt;https://docs.hortonworks.com/HDPDocuments/CFM/CFM-1.0.1/installation/content/overview.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tested by making sure that the CA service could not access /var/lib/nifitoolkit and reproduced the error you are seeing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;chown root:root nifitoolkit/&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;chmod 700 nifitoolkit/&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;drwx------ 3 root root 4096 Jul 13 13:44 nifitoolkit&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get:&lt;/P&gt;&lt;PRE&gt;Caused by: java.io.FileNotFoundException: /var/run/cloudera-scm-agent/process/2549-nifitoolkitca-NIFI_TOOLKIT_SERVER/staging/globals.xml (No such file or directory)
	at java.io.FileInputStream.open0(Native Method)
	at java.io.FileInputStream.open(FileInputStream.java:195)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;So, yes, the process must be able to create the /var/lib/nifitoolkit directory and it must be owned by "nifitoolkit".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can try:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;mkdir /var/lib/nifitoolkit&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;chown -R nifitoolkit:nifitoolkit /var/lib/toolkit&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then try restarting.&amp;nbsp; If there is still a problem, let's look at your ls -lart /var/lib output&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 02:16:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDF-Add-NiFi-CA-Service-Service-to-Cluster/m-p/92712#M33671</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2019-07-15T02:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: CDF - Add NiFi CA Service Service to Cluster - FileNotFoundException</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDF-Add-NiFi-CA-Service-Service-to-Cluster/m-p/92715#M33672</link>
      <description>Hi bgooley,&lt;BR /&gt;&lt;BR /&gt;yes it's works!&lt;BR /&gt;&lt;BR /&gt;thank you&lt;BR /&gt;&lt;BR /&gt;BR,&lt;BR /&gt;Anung</description>
      <pubDate>Mon, 15 Jul 2019 06:05:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDF-Add-NiFi-CA-Service-Service-to-Cluster/m-p/92715#M33672</guid>
      <dc:creator>anung</dc:creator>
      <dc:date>2019-07-15T06:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: CDF - Add NiFi CA Service Service to Cluster - FileNotFoundException</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDF-Add-NiFi-CA-Service-Service-to-Cluster/m-p/268975#M206537</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/4054"&gt;@bgooley&lt;/a&gt;&amp;nbsp;Yes this fixed it for me. It was a permissions issue.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2019 18:19:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDF-Add-NiFi-CA-Service-Service-to-Cluster/m-p/268975#M206537</guid>
      <dc:creator>Sheldon_G</dc:creator>
      <dc:date>2019-08-26T18:19:11Z</dc:date>
    </item>
  </channel>
</rss>

