- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
NiFi: ExecuteStreamCommand
- Labels:
-
Apache NiFi
Created ‎11-24-2020 05:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
I have a requirement to move the files to archive folder once rest of the processors completed so add executestreamcommand as a last component and calling a shell script to move the file to archive folder.
Though script runs from backend it's failing with "permissions denied " error. Any idea what could be the issue here?
Also is there a way I know what user it is using to run the script.
Appreciate your support on it.
Thanks,
Kumar
Created ‎11-24-2020 12:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
nifi user will run this. If you saving a keytab to a folder to which nifi user has the read access, you can use kinit in bash to initialize an another user.
BR,
Gabor
