Member since 
    
	
		
		
		11-17-2021
	
	
	
	
	
	
	
	
	
	
	
	
	
	
			
      
                1105
            
            
                Posts
            
        
                251
            
            
                Kudos Received
            
        
                28
            
            
                Solutions
            
        My Accepted Solutions
| Title | Views | Posted | 
|---|---|---|
| 125 | 10-16-2025 02:45 PM | |
| 277 | 10-06-2025 01:01 PM | |
| 243 | 09-24-2025 01:51 PM | |
| 227 | 08-04-2025 04:17 PM | |
| 396 | 06-03-2025 11:02 AM | 
			
    
	
		
		
		10-28-2025
	
		
		09:52 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 I have a okta server and application / scope information, and I need guidance on how to implement the okta provider in the knox setup. The current documentation talks more about ldap, and not helpful on okta setup. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		10-27-2025
	
		
		05:15 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 @fuchun As this is an older post, you would have a better chance of receiving a resolution by starting a new thread. This will also be an opportunity to provide details specific to your environment that could aid others in assisting you with a more accurate answer to your question. You can link this thread as a reference in your new post. Thanks. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		10-24-2025
	
		
		02:04 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 @lukaspirohanic Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. Thanks. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		10-24-2025
	
		
		02:02 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 @adamn4 Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. If you are still experiencing the issue, can you provide the information @upadhyayk04 has requested? Thanks. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		10-24-2025
	
		
		04:45 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 I found the solution. While the code did validate the XML to the schema, I needed to add a conditional statement to transfer to failure:  import groovy.xml.XmlSlurper  import groovy.xml.XmlUtil  import javax.xml.transform.stream.StreamSource  import javax.xml.validation.SchemaFactory  import javax.xml.XMLConstants  import org.xml.sax.ErrorHandler  import org.xml.sax.SAXParseException     def flowFile = session.get()  if (!flowFile) return     def fileXML = flowFile.read().getText("UTF-8")  def xmlContent = new XmlSlurper().parseText(fileXML.trim().replaceFirst("^([\\W]+)<","<").replaceAll('\'','\'\''))     def schemaFile = flowFile.getAttribute('XMLSchema')  def schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI)  def schema = schemaFactory.newSchema(new File(schemaFile))  def validator = schema.newValidator()  def validationErrors = new StringBuilder()     validator.setErrorHandler(new ErrorHandler() {      @Override      void warning(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXException {          validationErrors.append("<p>Warning: ${e.message}</p>")      }      @Override      void error(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXException {          validationErrors.append("<p>Error: ${e.message}</p>")      }      @Override      void fatalError(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXException {          validationErrors.append("<p>Fatal Error: ${e.message}</p>")      }  })     try {      validator.validate(new StreamSource(new StringReader(XmlUtil.serialize(xmlContent))))      if (validationErrors.length() > 0) {        flowFile = session.putAttribute(flowFile, "xml.validation.errors", validationErrors.toString())      session.transfer(flowFile, REL_FAILURE)      } else {      session.transfer(flowFile, REL_SUCCESS)          }  } catch (org.xml.sax.SAXParseException e) {      validationErrors.append("Validation failed: ${e.message}\n")      flowFile = session.putAttribute(flowFile, "xml.validation.errors", validationErrors.toString())      session.transfer(flowFile, REL_FAILURE)  } 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		10-16-2025
	
		
		02:45 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
	
		1 Kudo
		
	
				
		
	
		
					
							 Hello @SouthMood, welcome to the Cloudera Community! 
 I have reached out via DM with further steps, thank you! 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		10-13-2025
	
		
		10:41 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Hi @ishashrestha ,  Yes, the user needs to have permission to write to that directory. You can test to execute with another user that already have that permissions.  Let me know if works.  Best Regards 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		10-10-2025
	
		
		10:42 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 hi @Zainers ,  you must specify the class name according to the JDBC driver (.jar) version you are using.  remember that the jar must be accessible by all hosts in the NiFi cluster. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		10-09-2025
	
		
		01:21 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
	
		1 Kudo
		
	
				
		
	
		
					
							 Hola Diana     Sí, muchísimas gracias y disculpa las molestias por no haber contestado anteriormente.     Saludos cordiales, Leidy 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		 
        













