Je ne suis pas sûr si vous êtes toujours à la recherche d'une réponse. Mais c'est ici. Vous devez d'abord définir HADOOP_CLASSPATH, puis appeler l'exécutable "hadoop" avec les options jar pour rechercher le client phoenix et la classe à exécuter avec les paramètres.
Ce qui suit peut vous aider à comprendre l'utilisation de la commande hadoop (essayez de saisir hadoop sur votre shell ssh)
Usage: hadoop [--config confdir] [COMMAND | CLASSNAME]
CLASSNAME run the class named CLASSNAME
or
where COMMAND is one of:
fs run a generic filesystem user client
version print the version
jar <jar> run a jar file
note: please use "yarn jar" to launch
YARN applications, not this command.
checknative [-a|-h] check native hadoop and compression libraries availability
distcp <srcurl> <desturl> copy file or directories recursively
envvars display computed Hadoop environment variables
archive -archiveName NAME -p <parent path> <src>* <dest> create a hadoop archive
classpath prints the class path needed to get the
credential interact with credential providers
Hadoop jar and the required libraries
daemonlog get/set the log level for each daemon
trace view and modify Hadoop tracing settings
Most commands print help when invoked w/o parameters.