Created 09-23-2024 07:31 AM
File "ooziepython.mod/oozie/action/OozieAction.py", line 47, in main
status = self.run(args)
File "StreamingAction.py", line 107, in run
success = subprocess.check_call(command.split())
File "/opt/hadoop3/yarn/local/filecache/178/jython-standalone-2.7.3.jar/Lib/subprocess$py.class", line 548, in check_call
retcode = call(*popenargs, **kwargs)
File "/opt/hadoop3/yarn/local/filecache/178/jython-standalone-2.7.3.jar/Lib/subprocess$py.class", line 535, in call
return Popen(*popenargs, **kwargs).wait()
File "/opt/hadoop3/yarn/local/filecache/178/jython-standalone-2.7.3.jar/Lib/subprocess$py.class", line 892, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/opt/hadoop3/yarn/local/filecache/178/jython-standalone-2.7.3.jar/Lib/subprocess$py.class", line 1402, in _execute_child
raise OSError(errno.ENOENT, os.strerror(errno.ENOENT))
OSError: [Errno 2] No such file or directory
Created 10-03-2024 11:04 AM
Hello-
Seems like a file is missing: the code is trying to open a file, but it is not there:
return Popen(*popenargs, **kwargs).wait()
Also the following seems relevant to how make Python more explicit:
https://stackoverflow.com/questions/8978057/raising-builtin-exception-with-default-message-in-python
Created 09-23-2024 04:24 PM
@jAnshula @JoseManuel @Priyar Do you have any insights here? Thanks!
Regards,
Diana Torres,Created 09-24-2024 06:59 AM
@hanumanth
Your Python code is throwing this:
OSError: [Errno 2] No such file or directory
The stack is not enough to determine what is happening
Please look at the following items:
* job.properties / workflow.xml
Is this being setup as a Shell Action?
Are all the necessary files being provided?
The action needs to setup the Python environment within a YARN container
* Oozie launcher log
Is Python code starting to execute and then hit a snag or it does fail from the get-go?
Created 09-27-2024 10:41 AM
@hanumanth Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. If you are still experiencing the issue, can you provide the information @JoseManuel has requested? Thanks.
Regards,
Diana Torres,Created 10-03-2024 11:04 AM
Hello-
Seems like a file is missing: the code is trying to open a file, but it is not there:
return Popen(*popenargs, **kwargs).wait()
Also the following seems relevant to how make Python more explicit:
https://stackoverflow.com/questions/8978057/raising-builtin-exception-with-default-message-in-python
Created 10-10-2024 04:27 PM
@hanumanth Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, Thanks.
Regards,
Diana Torres,