Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

CDF - Add NiFi CA Service Service to Cluster - FileNotFoundException

Solved Go to solution
Highlighted

CDF - Add NiFi CA Service Service to Cluster - FileNotFoundException

Explorer

Using CM with CDF, using Parcels, trying to Add NiFi CA Service to cluster. Got the following error while trying to activate roles:

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.<init>(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.<init>(FileInputStream.java:138)     
at java.io.FileInputStream.<init>(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

Any advice?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: CDF - Add NiFi CA Service Service to Cluster - FileNotFoundException

Community Manager

@Sheldon Gilmer You will most likely get a faster and more complete answer by posting this to the Cloudera Community: https://community.cloudera.com/

Bill Brooks, Community Manager
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
2 REPLIES 2

Re: CDF - Add NiFi CA Service Service to Cluster - FileNotFoundException

Community Manager

@Sheldon Gilmer You will most likely get a faster and more complete answer by posting this to the Cloudera Community: https://community.cloudera.com/

Bill Brooks, Community Manager
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

Re: CDF - Add NiFi CA Service Service to Cluster - FileNotFoundException

Explorer
Don't have an account?
Coming from Hortonworks? Activate your account here