Created on 04-23-2019 11:56 PM - edited 08-17-2019 03:47 PM
Hi,
Am trying to run the below aws comprehend CLI command using the ExecuteProcess.
aws comprehend detect-sentiment \
--region us-west-2 \
--language-code "en" \
--text "It is raining today in Seattle."
However End up getting the following error,
Failed to create process due to Cannot run program "aws comprehend detect-sentiment --region us-west-2 --language-code "en" --text "It is raining today in Seattle."": error=13, Permission denied: java.io.IOException: Cannot run program "aws comprehend detect-sentiment --region us-west-2 --language-code "en" --text "It is raining today in Seattle."": error=13, Permission denied
Execute Process Configs:
When i run the command on the NiFi Nodes, Its was working fine. The issue is when trying to execute the same command using the execute processor.
Please help.
Created 04-26-2019 08:18 PM
Hi, Can someone please provide some directions on this issue? Will be really helpful.
Created 04-26-2019 09:53 PM
Created 04-29-2019 08:48 PM
@Shu I have the read/write permissions to the config and creds files for NiFi user while setting the AWS CLI on the nifi nodes...