Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here. Want to know more about what has changed? Check out the Community News blog.

Not able to change hadoop job priority

Not able to change hadoop job priority

Expert Contributor

List of jobs

 

 

[admin@hostname ~/]$ hadoop job -list

DEPRECATED: Use of this script to execute mapred command is deprecated. Instead use the mapred command for it

16/07/21 10:07:57 INFO client.RMProxy: Connecting to ResourceManager at hostname/10.x.x.x:8032 Total jobs:1

              JobId      Priority
 job_1468935021553_0101     NORMAL

Changing the priority by running below code

 

hadoop job -set-priority job_1468935021553_0101 VERY_LOW

Final result as below

 

 

[admin@hostname ~/]$ hadoop job -list

DEPRECATED: Use of this script to execute mapred command is deprecated. Instead use the mapred command for it

16/07/21 10:08:51 INFO client.RMProxy: Connecting to ResourceManager at hostname/10.x.x.x:8032 Total jobs:1

              JobId      Priority
 job_1468935021553_0101     NORMAL

 

Priority of the job is not changing