I am learning hadoop using cloudera single node vm and I got through this line
hadoop job -list
I got a warning (Use of this script to execute mapred command is deprecated. Instead use the mapred command for it.) I'm aware that using it will work fine but I am a bit lost. Isn't mapred the old version of mapreduce? Is it the job (class ?) that is deprecated ? sorry for the ignorance. what is the best way to do list the running jobs?
A link or a reference would be highly appreciated.
EDIT
If the syntax is hadoop job [GENERIC_OPTIONS] [-submit <job-file>] | [-status <job-id>] | [-counter <job-id> <group-name> <counter-name>] | [-kill <job-id>] | [-events <job-id> <from-event-#> <#-of-events>] | [-history [all] <jobOutputDir>] | [-list [all]] | [-kill-task <task-id>] | [-fail-task <task-id>] | [-set-priority <job-id> <priority>]
then why is it deprecated? Am I missing something?