1600 Commits

Author SHA1 Message Date
Eric Payne
eda4ac07c1 YARN-2113. Add cross-user preemption within CapacityScheduler's leaf-queue. (Contributed by Sunil G) 2017-07-06 10:43:00 -05:00
Naganarasimha
87c81cfad3 YARN-6681. Eliminate double-copy of child queues in canAssignToThisQueue. Contributed by Daryn Sharp.
(cherry picked from commit fa1aaee87b0141a0255b5f8e5fd8e8f49d7efe86)
2017-07-01 12:32:01 +05:30
Daniel Templeton
93c5421a43 YARN-6751. Display reserved resources in web UI per queue
(Contributed by Abdullah Yousufi via Daniel Templeton)

(cherry picked from commit ec975197799417a1d5727dedc395fe6c15c30eb2)
2017-06-29 16:57:23 -07:00
Naganarasimha
a5ae7c0cae YARN-6467. CSQueueMetrics needs to update the current metrics for default partition only. Contributed by Manikandan R. 2017-06-29 00:09:30 +05:30
Naganarasimha
92e266c2b6 YARN-5006. ResourceManager quit due to ApplicationStateData exceed the limit size of znode in zk. Contributed by Bibin A Chundatt. 2017-06-24 23:14:51 +05:30
Yufei Gu
4c59b446e2 YARN-5876. TestResourceTrackerService#testGracefulDecommissionWithApp fails intermittently on trunk. (Robert Kanter via Yufei Gu)
(cherry picked from commit 0b77262890d76b0a3a35fa64befc8a406bc70b27)
2017-06-23 13:30:20 -07:00
Akira Ajisaka
35f6c7c9c7
YARN-6713. Fix dead link in the Javadoc of FairSchedulerEventLog.java. Contributed by Weiwei Yang.
(cherry picked from commit 099dfe92a9743bcb7e27506f8877b8b23b0ff95a)
2017-06-20 17:23:06 +09:00
Naganarasimha
578318473c YARN-6680. Avoid locking overhead for NO_LABEL lookups. Contributed by Daryn Sharp
(cherry picked from commit ee89ac84e68d3e181b75c63f74a0444f9d28146f)
2017-06-19 22:45:21 +05:30
bibinchundatt
3f9acf65fb YARN-6703. RM startup failure with old state store due to version mismatch. Contributed by Varun Saxena
(cherry picked from commit d64c842743da0d9d91c46985a9fd7350ea14b204)
2017-06-12 18:32:23 +05:30
Eric Payne
33605e0896 YARN-6585. RM fails to start when upgrading from 2.7 for clusters with node labels. Contributed by Sunil G.
(cherry picked from commit 5578af860335ae44c9780082508c3dcf726f60fc)
2017-06-09 16:18:16 -05:00
Naganarasimha
85d561a5b3 YARN-6681. Improve performance of AssignmentInformation datastructures. Contributed by Daryn sharp. 2017-06-09 11:46:51 +05:30
Daniel Templeton
10b7a5fa98 YARN-6246. Identifying starved apps does not need the scheduler writelock
(Contributed by Karthik Kambatla via Daniel Templeton)

(cherry picked from commit d5b71e4175c13679d451710be150fc461a661263)
2017-05-31 15:50:11 -07:00
Jonathan Eagles
f5f12b576e YARN-6497. Method length of ResourceManager#serviceInit() is too long (Gergely Novák via jeagles)
(cherry picked from commit cbfed0e82f57e96b8d5309e0613057963840554f)
2017-05-31 10:19:51 -05:00
Yufei Gu
fc6cb4b2dd YARN-6582. FSAppAttempt demand can be updated atomically in updateDemand(). (Karthik Kambatla via Yufei Gu)
(cherry picked from commit 87590090c887829e874a7132be9cf8de061437d6)
2017-05-25 14:25:49 -07:00
Jason Lowe
4c44ff69df YARN-6643. TestRMFailover fails rarely due to port conflict. Contributed by Robert Kanter
(cherry picked from commit 3fd6a2da4e537423d1462238e10cc9e1f698d1c2)
2017-05-25 16:09:08 -05:00
Subru Krishnan
d1724ef919 YARN-6587. Refactor of ResourceManager#startWebApp in a Util class. (Giovanni Matteo Fumarola via Subru). 2017-05-24 13:40:49 -07:00
Wangda Tan
9a8fdfa385 YARN-6493. Print requested node partition in assignContainer logs. (Jonathan Hung via wangda)
Change-Id: Ib20326daac10acad363befb0ae0998441fa5b32d
(cherry picked from commit 8e0f83e49a8987cf45a72c8a9bb8587b86e4c0ed)
2017-05-22 14:43:44 -07:00
Yufei Gu
50e263a316 YARN-6249. TestFairSchedulerPreemption fails inconsistently. (Tao Jie via Yufei Gu)
(cherry picked from commit 66bba8c0244e5b17d496e2fa3999991705c11bc7)
2017-05-19 15:22:14 -07:00
Rohith Sharma K S
379e5bd26f HADOOP-14412. HostsFileReader#getHostDetails is very expensive on large clusters. Contributed by Jason Lowe. 2017-05-17 08:27:50 +05:30
Jason Lowe
feb7e92121 YARN-6603. NPE in RMAppsBlock. Contributed by Jason Lowe
(cherry picked from commit 489f85933c508bc26de607b921e56e23b979fce8)
2017-05-16 09:28:42 -05:00
Haibo Chen
6284cc4663 YARN-6580. Incorrect logger for FairSharePolicy. (Vrushali C via Haibo Chen)
(cherry picked from commit 6c35001b9f93fd85a02c3465e87bfd1612f4cce9)
2017-05-12 13:07:17 -07:00
Daniel Templeton
717f03ecf7 YARN-6380. FSAppAttempt keeps redundant copy of the queue
(cherry picked from commit 90cb5b4635b7a0849912458afad052f569131a59)
2017-05-11 13:48:46 -07:00
Min Shen
9310d24b08 YARN-5543. ResourceManager SchedulingMonitor could potentially terminate the preemption checker thread. Contributed by Min Shen.
(cherry picked from commit 2ada100da7cfe12946e43da2929bd80c2a8bd833)
2017-05-11 13:29:02 -07:00
Brahma Reddy Battula
3766e54893 HADOOP-14410. Correct spelling of 'beginning' and variants. Contributed By Dongtao Zhang
(cherry picked from commit 4aae2d40a3e2e732e09b4b8a82623cacc0dc8861)
2017-05-11 23:38:18 +05:30
Daniel Templeton
df3d7415c0 YARN-6571. Fix JavaDoc issues in SchedulingPolicy
(Contributed by Weiwei Yang via Daniel Templeton)

(cherry picked from commit 18d54b5ae2f76513548c453e05cdd6d87777cd06)
2017-05-10 14:37:36 -07:00
Jason Lowe
3230dd1ab6 YARN-6552. Increase YARN test timeouts from 1 second to 10 seconds. Contributed by Eric Badger
(cherry picked from commit 6099deebcb0ea23adc0f0c62db749c8f528869e9)
2017-05-10 08:48:47 -05:00
Karthik Kambatla
3403ed3148 YARN-3742. YARN RM will shut down if ZKClient creation times out. (Daniel Templeton via kasha)
(cherry picked from commit 166be0ee95d5ef976f074342656b289b41a11ccd)
2017-05-09 14:44:39 -07:00
Daniel Templeton
b337a1da31 YARN-6481. Yarn top shows negative container number in FS
(Contributed by Tao Jie via Daniel Templeton)

(cherry picked from commit 9f0aea0ee2c680afd26ef9da6ac662be00d8e24f)
2017-05-02 13:15:18 -07:00
Naganarasimha
5e28311341 YARN-6519. Fix warnings from Spotbugs in hadoop-yarn-server-resourcemanager. Contributed by Weiwei Yang. 2017-05-03 00:36:33 +05:30
Subru Krishnan
6d53224afc YARN-5331. Extend RLESparseResourceAllocation with period for supporting recurring reservations in YARN ReservationSystem. (Sangeetha Abdu Jyothi via Subru).
(cherry picked from commit 6bf42e48ef658bf6dd86ebd706562ce7cc06216a)
2017-05-01 18:49:14 -07:00
Subru Krishnan
2030f408e0 YARN-6542. Fix the logger in TestAlignedPlanner and TestGreedyReservationAgent.
(cherry picked from commit e514fc432a424c57bdce16cad1d5b1d2e010f34e)
2017-05-01 18:31:08 -07:00
Subru Krishnan
0eae1c6368 YARN-4359. Update LowCost agents logic to take advantage of YARN-4358. (Jonathan Yaniv and Ishai Menache via Subru).
(cherry picked from commit a3a615eeab8c14ccdc548311097e62a916963dc5)
2017-05-01 18:30:58 -07:00
Daniel Templeton
a8512d5aeb YARN-2962. ZKRMStateStore: Limit the number of znodes under a znode (Contributed by Varun Sexena via Daniel Templeton)
(cherry picked from commit 2e52789edf68016e7a3f450164f8bd3d8e6cb210)
2017-04-28 13:39:11 -07:00
Wangda Tan
503dd650bf YARN-6392. Add submit time to Application Summary log. (Zhihai Xu via wangda)
(cherry picked from commit 2ba21d63767e11535d3210dc58a03b41e83df949)
2017-04-24 13:18:47 -07:00
Eric Payne
421e51cb9c YARN-5617. AMs only intended to run one attempt can be run more than once? Contributed by Jason Lowe.
(cherry picked from commit 52adf719143c20f4f2af369c6c40dd98677e7410)
2017-04-24 12:08:35 -05:00
Sunil G
a9495b206b YARN-6164. Expose Queue Configurations per Node Label through YARN client api. Contributed by Benson Qiu. 2017-04-24 12:16:18 +05:30
Jason Lowe
f5a9287bb1 YARN-6501. FSSchedulerNode.java fails to compile with JDK7. Contributed by John Zhuge 2017-04-20 09:52:44 -05:00
Junping Du
9289f4527d YARN-6304. Skip rm.transitionToActive call to RM if RM is already active. Contributed by Rohith Sharma K S.
(cherry picked from commit 6ed9d362242d36bfae4083bf3b1c2eb32fbb2f72)
2017-04-17 15:52:02 -07:00
Karthik Kambatla
6f5912c106 YARN-6432. FairScheduler: Reserve preempted resources for corresponding applications. (Miklos Szegedi via kasha) 2017-04-17 14:34:28 -07:00
Wangda Tan
6ade9e6ce6 YARN-6406. Remove SchedulerRequestKeys when no more pending ResourceRequest. (Arun Suresh via wangda)
(cherry picked from commit 87e2ef8c985bb72a916477e8783359f2859f7890)
2017-04-15 21:34:29 -07:00
Jason Lowe
1699b20526 YARN-6480. Timeout is too aggressive for TestAMRestart.testPreemptedAMRestartOnRMRestart. Contributed by Eric Badger
(cherry picked from commit 416880550214e58f2284a045ad0c96ba4aa78ea8)
2017-04-14 17:17:46 -05:00
Eric Payne
157a9f3104 YARN-5994. TestCapacityScheduler.testAMLimitUsage fails intermittently. Contributed by Eric Badger
(cherry-picked from commit a41f8dd58e27d8835fbb64eeaba5d7416df0499d)
2017-04-14 11:04:18 -05:00
Wangda Tan
5756256280 YARN-6216. Unify Container Resizing code paths with Container Updates making it scheduler agnostic. (Arun Suresh via wangda)
(cherry picked from commit eac6b4c35c50e555c2f1b5f913bb2c4d839f1ff4)
2017-04-13 13:16:31 -07:00
Wangda Tan
408d23477f YARN-6040. Introduce api independent PendingAsk to replace usage of ResourceRequest within Scheduler classes. (wangda) 2017-04-13 11:11:57 -07:00
Wangda Tan
2f08c86b7a YARN-6439. Fix ReservationSystem creation of default ReservationQueue. (Carlo Curino via wangda)
(cherry picked from commit 4d4ad0ebb76198c90c5317f19ce85a6696132c8f)
2017-04-11 14:59:34 -07:00
Naganarasimha
b04c09163b YARN-6463. Correct spelling mistake in FileSystemRMStateStore. Contributed by Yeliang Cang.
(cherry picked from commit 7d873c465b815816e9955cf40f4e141dd2e7d82b)
2017-04-11 22:46:09 +05:30
Jason Lowe
0cb22a0f15 YARN-6195. Export UsedCapacity and AbsoluteUsedCapacity to JMX. Contributed by Benson Qiu
(cherry picked from commit 0e065f2edead41f6f894c9d70def389af1c0f239)
2017-04-11 08:45:16 -05:00
Konstantinos Karanasos
9b3ba25980 YARN-6344. Add parameter for rack locality delay in CapacityScheduler. (kkaranasos)
(cherry picked from commit 3587b46164514e6751d7cebb09c8ab5e988853b4)
2017-04-10 17:22:29 -07:00
Karthik Kambatla
e0b143e51a Revert "YARN-6298. Metric preemptCall is not used in new preemption. (Yufei Gu via kasha)"
This reverts commit dcfce5fcddcfdd23392586c87adf7c14e8ef265e.
2017-04-07 17:37:31 -07:00
Karthik Kambatla
dcfce5fcdd YARN-6298. Metric preemptCall is not used in new preemption. (Yufei Gu via kasha)
(cherry picked from commit 2aa8967809b05e558b36ab6fc8c5110ddb723b45)
2017-04-07 17:36:39 -07:00