spark: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/spark - from package: spark

You may install the required package with command apt-get install {package}
Error in other languages:
spark: bevel nie gevind nie
spark: comandă negăsită
spark: comando não encontrado
spark: commande introuvable
spark: command not found
spark: käsku ei ole
spark: không tìm thấy lệnh
spark: komanda nerasta
spark: Kommando nicht gefunden.
spark: kommandot finns inte
spark: komut yok
spark: nie znaleziono polecenia
spark: níor aimsíodh an t-ordú
spark: no se encontró la orden
spark: no s'ha trobat l'ordre
spark: opdracht niet gevonden
spark: parancs nem található
spark: perintah tidak ditemukan
spark: príkaz nenájdený
spark: příkaz nenalezen
spark: команда не найдена
spark: командата не е открита
spark: 命令找不到
spark: コマンドが見つかりません