sparkformat: 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/sparkformat - from package: spark

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