Support Questions
Find answers, ask questions, and share your expertise

NiFi execution fails with error: Could not find uri with key [dfs.encryption.key.provider.uri] to create a keyProvider with no Ranger KMS

Re: NiFi execution fails with error: Could not find uri with key [dfs.encryption.key.provider.uri] to create a keyProvider with no Ranger KMS

Without the code of your script (in conjunction with the configuration of your environment), we have no way to determine what is happening. You can look at the code of ExecuteStreamCommand to see how it executes the command -- here is where it runs it, and here is where it extracts the error stream to an attribute. What does examining this attribute tell you about what is happening in the script? I'd also recommend turning on low-level debugging for this processor by modifying the $NIFI_HOME/conf/logback.xml file to contain this line:

<logger name="org.apache.nifi.processors.standard.ExecuteStreamCommand" level="DEBUG"/>