Problem scenario
You are trying to run a Hadoop job. You get this error:
"java.io.IOException: Stream closed at java.base/java.lang.ProcessBuilder$NullOutputStream.write(ProcessBuilder.java:442)"
What should you do?
Solution
Is the "python" command recognized as such? You may need to install Python or link the python3 binary to be in a typical location where env variables would look for it (e.g., /usr/bin/python).
Here are commands that could help you:
whereis python3
sudo ln -s python3 /bin/python
If you need help installing Python, see this posting.