Python subprocess with oozie Python subprocess with oozie shell shell

Python subprocess with oozie


I wonder if your script just doesn't have access to your PATH environment variable (when executed through Oozie) and is having trouble locating the "hadoop" command. Can you try modifying your python script's subprocess.check_output call and adding the full path to the hadoop fs command?