Reply
Highlighted
Expert Contributor
Posts: 82
Registered: ‎02-24-2016

Not able to change hadoop job priority

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