Help Center/ MapReduce Service/ Component Operation Guide (LTS)/ Using HetuEngine/ HetuEngine Troubleshooting/ Python Not Exist When a HetuEngine Compute Instance Failed to Start
Updated on 2024-10-09 GMT+08:00

Python Not Exist When a HetuEngine Compute Instance Failed 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.