Symptom 1¶
/bin/sh: hdfs: command not found
Possible Causes of Symptom 1¶
The command hdfs is not on the search path.
Possible Solutions to Symptom 1¶
Use the full path to the command.
Configure the environment variable
PATHbefore you use the command.Find other alternatives to the command.
Sympton 2¶
... died with <Signals.SIGILL: 4>.
Possible Causes of Symptom 2¶
The binary executable is compiled for a specific CPU type and cannot be run on the Spark cluster since its nodes have a different CPU type. For example, if Rust application is compiled with
RUSTFLAGS="-C target-cpu=native"then running it on machine with a different CPU type (even if the OS is the same) will cause this issue.
Possible Solutions to Symptom 1¶
Do NOT compile your binary executable for a specific CPU type so that it can run on different CPUs (with the same OS).