- 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 Processor Create Process error = 5, Access Denied
- Labels:
-
NiFi Registry
Created on ‎01-23-2022 10:55 PM - edited ‎01-24-2022 12:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am currently trying to count the number of files in the directory. The command that I keyed to count in the windows command prompt is "dir /a:-d /s /b "D:\Testing\UploadFile" | find /c ":""
I am trying to use NiFi to apply the above command using the ExecuteStreamCommand processor. Currently I am facing the "Access Denied error" as shown in the picture.
Execute Stream Command Processor Error
Execute Stream Command Processor Properties
Appreciate if anyone could help with an example and explanation. Thanks.
Note: the fileslocation set in the properties is the path to the file.
Created ‎01-24-2022 04:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Same Command Arguments are you able to run as user nifi (or the user who is responsible to run nifi service )against path which is determine by fileslocation outside of nifi at command prompt ?
