Question

Shell Executer error: "stderr: sudo: unable to initialize policy plugin"! and one more...

  • 11 July 2023
  • 0 replies
  • 12 views

Hi 
I am trying to use custom scripts to fetch the directory tree from the shell executor 
While running the script I am facing this error:
“stderr: sudo: unable to initialize policy plugin”


Another error which I am facing is:
“error record: SHELL_003 - Script return non-zero value: 1”
Though i have explicitly mentioned “exit 0” at the end of the script.

I have uncommented the configration in deployemnt:
stage.conf_com.streamsets.pipeline.stage.executor.shell.impersonation_mode=CURRENT_USER

 

Is there any proper syntax which I need to use to make it run or is there something that I am missing?
 


0 replies

Be the first to reply!

Reply