Help Center/ MapReduce Service/ Component Operation Guide (LTS) (Ankara Region)/ Using HetuEngine/ HetuEngine FAQ/ How Do I Do If an Error Is Reported Indicating that Python Does Not Exist When a Compute Instance Fails to Start?
Updated on 2024-11-29 GMT+08:00

How Do I Do If an Error Is Reported Indicating that Python Does Not Exist When a Compute Instance Fails to Start?

Question

HetuEngine compute instances fail to start, and the following error information is displayed in the stderr.txt file in a coordinator container:

/usr/bin/env: 'python': No such file or directory

Answer

The startup of HetuEngine compute instances depends on the Python file. Ensure that the Python file exists in the /usr/bin/ directory on each node.

  1. Log in to FusionInsight Manager, choose Hosts, and view and record the service IP addresses of all hosts.
  2. Log in to the node recorded in 1 as user root and run the following commands on all nodes to add the python3 soft link to the /usr/bin/ directory:

    cd /usr/bin

    ln -s python3 python

  3. Restart the HetuEngine compute instance.