How Do You Troubleshoot “ Stream closed at java.base/java.lang.ProcessBuilder$NullOutputStream.write(”?

Problem scenario
You are trying to run a Hadoop job. You get this error:
" Stream closed at java.base/java.lang.ProcessBuilder$NullOutputStream.write("

What should you do?

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.

Leave a comment

Your email address will not be published. Required fields are marked *