Zhijie Shen
6da637ec12
YARN-2651. Spun off LogRollingInterval from LogAggregationContext. Contributed by Xuan Gong.
...
(cherry picked from commit 4aed2d8e91c7dccc78fbaffc409d3076c3316289)
2014-10-13 10:56:22 -07:00
Vinod Kumar Vavilapalli
bb6c79f76c
YARN-2494. Added NodeLabels Manager internal API and implementation. Contributed by Wangda Tan.
...
(cherry picked from commit db7f1653198b950e89567c06898d64f6b930a0ee)
2014-10-10 11:46:10 -07:00
Jian He
7ec65c8617
YARN-2649. Fixed TestAMRMRPCNodeUpdates test failure. Contributed by Ming Ma
...
(cherry picked from commit e16e25ab1beac89c8d8be4e9f2a7fbefe81d35f3)
2014-10-08 11:03:28 -07:00
Jian He
5ff984f33f
YARN-1857. CapacityScheduler headroom doesn't account for other AM's running. Contributed by Chen He and Craig Welch
...
(cherry picked from commit 30d56fdbb40d06c4e267d6c314c8c767a7adc6a3)
2014-10-07 13:48:46 -07:00
Jian He
efc482d1f7
YARN-2644. Fixed CapacityScheduler to return up-to-date headroom when AM allocates. Contributed by Craig Welch
...
(cherry picked from commit 519e5a7dd2bd540105434ec3c8939b68f6c024f8)
2014-10-06 15:52:05 -07:00
Jian He
73a1b77223
YARN-2615. Changed ClientToAMTokenIdentifier/RM(Timeline)DelegationTokenIdentifier to use protobuf as payload. Contributed by Junping Du
...
(cherry picked from commit ea26cc0b4ac02b8af686dfda80f540e5aa70c358)
Conflicts:
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/security/TestClientToAMTokens.java
2014-10-06 10:52:20 -07:00
Chris Douglas
0b2dedc42d
YARN-1051. Add a system for creating reservations of cluster capacity.
...
Contributed by Subru Krishnan and Carlo Curino.
(cherry picked from commit c8212bacb1b2a7e6ee83cc56f72297465ce99390)
Conflicts:
hadoop-yarn-project/CHANGES.txt
(cherry picked from commit ebf4aae60f7a641ac7406e27d43528cace20d4ff)
Conflicts:
hadoop-yarn-project/CHANGES.txt
2014-10-06 10:30:04 -07:00
subru
114f09226e
YARN-2611. Fixing jenkins findbugs warning and TestRMWebServicesCapacitySched for branch YARN-1051. Contributed by Subru Krishnan and Carlo Curino.
...
(cherry picked from commit c47464aba407d1dafe10be23fe454f0489cc4367)
(cherry picked from commit a2986234be4e02f9ccb589f9ff5f7ffb28bc6400)
(cherry picked from commit fb5e9df7fd09a5cbc2c98bc9c875faf6a3b8f7c0)
2014-10-06 10:29:14 -07:00
subru
bf4394e160
YARN-2576. Making test patch pass in branch. Contributed by Subru Krishnan and Carlo Curino.
...
(cherry picked from commit 90ac0be86b898aefec5471db4027554c8e1b310c)
(cherry picked from commit 5e10a13bb4759984494c6a870c7f08fb6693c9c0)
(cherry picked from commit ae0f16ccc837de2e32d7137cf48d5b17cb7c18d4)
2014-10-06 10:29:14 -07:00
subru
d244b2ae3a
YARN-2080. Integrating reservation system with ResourceManager and client-RM protocol. Contributed by Subru Krishnan and Carlo Curino.
...
(cherry picked from commit 8baeaead8532898163f1006276b731a237b1a559)
Conflicts:
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/rmapp/RMAppImpl.java
(cherry picked from commit 6261f7cc69a0eb3eebc9898c7599c7c20f432b4e)
(cherry picked from commit cbfbdf60d69e70c1821d5b3d343a4f5c0c2a410f)
2014-10-06 10:29:13 -07:00
subru
8e92b3ec9d
YARN-1712. Plan follower that synchronizes the current state of reservation subsystem with the scheduler. Contributed by Subru Krishnan and Carlo Curino.
...
(cherry picked from commit 169085319b8b76641f8b9f6840a3fef06d221e2b)
(cherry picked from commit 3418c56bcf4bbddaf483bdaa1a15a8bbc4039bfe)
(cherry picked from commit fec639cda14f56b87052512c166c8e42a0ba6cf4)
2014-10-06 10:29:13 -07:00
carlo curino
56972123ff
YARN-1711. Policy to enforce instantaneous and over-time quotas on user reservation. Contributed by Carlo Curino and Subru Krishnan.
...
(cherry picked from commit c4918cb4cb5a267a8cfd6eace28fcfe7ad6174e8)
(cherry picked from commit b6df0dddcdafd7ec67c76ea92aea3ff3e94db247)
(cherry picked from commit 6bfdaf06c496c9db87c054977617c16e372325ac)
2014-10-06 10:29:13 -07:00
carlo curino
4ee027b9d6
YARN-1710. Logic to find allocations within a Plan that satisfy user ReservationRequest(s). Contributed by Carlo Curino and Subru Krishnan.
...
(cherry picked from commit aef7928899b37262773f3dc117157bb746bf8918)
(cherry picked from commit f66ffcf832235e0da0bb050fff08e248b547c360)
(cherry picked from commit 6a3c167175ba98e002b6a67ce73355974c1263da)
2014-10-06 10:29:13 -07:00
subru
056b7f5799
YARN-1709. In-memory data structures used to track resources over time to enable reservations.
...
(cherry picked from commit 0d8b2cd88b958b1e602fd4ea4078ef8d4742a7c3)
(cherry picked from commit cf4b34282aafee9f6b09d3433c4de1ae4b359168)
(cherry picked from commit 63250ef9d6410f5db20dfe421870c655e2c0fd65)
2014-10-06 10:29:13 -07:00
carlo curino
950da32b4c
YARN-2475. Logic for responding to capacity drops for the ReservationSystem. Contributed by Carlo Curino and Subru Krishnan.
...
(cherry picked from commit f83a07f266f2c5e6eead554d8a331ed7e75e10d5)
(cherry picked from commit 1c6950354f3c35a7824770dc251d5aec3be4876a)
(cherry picked from commit b81f571e6064cee119bcbfed090ab646cdd927a7)
2014-10-06 10:29:12 -07:00
carlo curino
5ac08c5398
YARN-1707. Introduce APIs to add/remove/resize queues in the CapacityScheduler. Contributed by Carlo Curino and Subru Krishnan
...
(cherry picked from commit aac47fda7fecda9fc18ade34d633eca895865a70)
Conflicts:
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/CapacityScheduler.java
(cherry picked from commit eb3e40b833b9d82c1556843f960194dc42e482f3)
(cherry picked from commit cf5ef00b96cba3ee1e971b7280f987fa65044ef5)
2014-10-06 10:29:12 -07:00
Jian He
65cf007ab9
YARN-2628. Capacity scheduler with DominantResourceCalculator carries out reservation even though slots are free. Contributed by Varun Vasudev
...
(cherry picked from commit 054f28552687e9b9859c0126e16a2066e20ead3f)
2014-10-02 15:16:47 -07:00
Zhijie Shen
8531f93d2d
YARN-2630. Prevented previous AM container status from being acquired by the current restarted AM. Contributed by Jian He.
...
(cherry picked from commit 52bbe0f11bc8e97df78a1ab9b63f4eff65fd7a76)
2014-10-01 15:41:12 -07:00
Jian He
8c13a7484c
YARN-2602. Fixed possible NPE in ApplicationHistoryManagerOnTimelineStore. Contributed by Zhijie Shen
...
(cherry picked from commit bbff96be48119774688981d04baf444639135977)
2014-09-30 16:45:30 -07:00
Karthik Kambatla
785e672e0b
YARN-2594. Potential deadlock in RM when querying ApplicationResourceUsageReport. (Wangda Tan via kasha)
...
(cherry picked from commit 14d60dadc25b044a2887bf912ba5872367f2dffb)
2014-09-30 16:19:38 -07:00
Zhijie Shen
b19f668f5d
YARN-2627. Added the info logs of attemptFailuresValidityInterval and number of previous failed attempts. Contributed by Xuan Gong.
...
(cherry picked from commit 9582a50176800433ad3fa8829a50c28b859812a3)
2014-09-30 13:01:13 -07:00
Jason Lowe
4f6a367166
YARN-1769. CapacityScheduler: Improve reservations. Contributed by Thomas Graves
...
(cherry picked from commit 9c22065109a77681bc2534063eabe8692fbcb3cd)
2014-09-29 14:13:21 +00:00
Jian He
cb08ed1484
YARN-668. Changed NMTokenIdentifier/AMRMTokenIdentifier/ContainerTokenIdentifier to use protobuf object as the payload. Contributed by Junping Du.
...
(cherry picked from commit 5391919b09ce9549d13c897aa89bb0a0536760fe)
2014-09-26 17:53:35 -07:00
Karthik Kambatla
b923c291b4
YARN-2608. FairScheduler: Potential deadlocks in loading alloc files and clock access. (Wei Yan via kasha)
...
(cherry picked from commit c9811af09a3d3f9f2f1b86fc9d6f2763d3225e44)
2014-09-25 17:43:08 -07:00
Jason Lowe
e4d46e5ff6
YARN-2523. ResourceManager UI showing negative value for "Decommissioned Nodes" field. Contributed by Rohith
...
(cherry picked from commit 8269bfa613999f71767de3c0369817b58cfe1416)
2014-09-25 22:39:57 +00:00
Zhijie Shen
83926b3c57
YARN-2546. Made REST API for application creation/submission use numeric and boolean types instead of the string of them. Contributed by Varun Vasudev.
...
(cherry picked from commit 72b0881ca641fa830c907823f674a5c5e39aa15a)
2014-09-24 17:58:48 -07:00
Zhijie Shen
3a2e400377
YARN-2581. Passed LogAggregationContext to NM via ContainerTokenIdentifier. Contributed by Xuan Gong.
...
(cherry picked from commit c86674a3a4d99aa56bb8ed3f6df51e3fef215eba)
2014-09-24 17:51:54 -07:00
Karthik Kambatla
30165d4cdd
YARN-2596. TestWorkPreservingRMRestart fails with FairScheduler. (kasha)
...
(cherry picked from commit 39c87344e16a08ab69e25345b3bce92aec92db47)
2014-09-24 15:24:17 -07:00
Karthik Kambatla
024bcfdc0d
YARN-2252. Intermittent failure of TestFairScheduler.testContinuousScheduling. (Ratandeep Ratti and kasha via kasha)
...
(cherry picked from commit f5578207d2d20aa71adf12aa9f6c37b00ee9b8dc)
2014-09-23 00:03:47 -07:00
Karthik Kambatla
8ba8521de5
YARN-1959. Fix headroom calculation in FairScheduler. (Anubhav Dhoot via kasha)
...
(cherry picked from commit 568d3dc2bbe43b7d2833d5da2b0e6d75eb86e5dd)
2014-09-22 23:51:45 -07:00
Karthik Kambatla
3984435661
YARN-2539. FairScheduler: Set the default value for maxAMShare to 0.5. (Wei Yan via kasha)
...
(cherry picked from commit 43efdd30b52f4ee8967a03dac4d548095d6cafdb)
2014-09-22 16:10:20 -07:00
Karthik Kambatla
24a814771e
YARN-2540. FairScheduler: Queue filters not working on scheduler page in RM UI. (Ashwin Shankar via kasha)
...
(cherry picked from commit 23e17ce0ffba11a08c033b753573a756532cd1c2)
2014-09-22 15:42:36 -07:00
Jian He
3ce97a9efd
YARN-1372. Ensure all completed containers are reported to the AMs across RM restart. Contributed by Anubhav Dhoot
...
(cherry picked from commit 0a641496c706fc175e7bf66d69ebf71c7d078e84)
2014-09-22 10:32:44 -07:00
Karthik Kambatla
c1a3819a4d
YARN-2453. TestProportionalCapacityPreemptionPolicy fails with FairScheduler. (Zhihai Xu via kasha)
...
(cherry picked from commit 9721e2c1feb5aecea3a6dab5bda96af1cd0f8de3)
2014-09-21 23:14:27 -07:00
Karthik Kambatla
1714af0618
YARN-2452. TestRMApplicationHistoryWriter fails with FairScheduler. (Zhihai Xu via kasha)
...
(cherry picked from commit c50fc92502934aa2a8f84ea2466d4da1e3eace9d)
2014-09-21 13:15:45 -07:00
Jian He
07981c8f60
YARN-2565. Fixed RM to not use FileSystemApplicationHistoryStore unless explicitly set. Contributed by Zhijie Shen
...
(cherry picked from commit 444acf8ea795e4bc782f1ce3b5ef7a1a47d1d27d)
2014-09-19 11:28:22 -07:00
Zhijie Shen
9333ee3068
YARN-2568. Fixed the potential test failures due to race conditions when RM work-preserving recovery is enabled. Contributed by Jian He.
...
(cherry picked from commit 6fe5c6b746a40019b9a43676c33efec0f971c4b9)
2014-09-18 22:02:53 -07:00
Jason Lowe
d9273a9547
YARN-2561. MR job client cannot reconnect to AM after NM restart. Contributed by Junping Du
...
(cherry picked from commit a337f0e3549351344bce70cb23ddc0a256c894b0)
2014-09-18 21:36:20 +00:00
Jason Lowe
44c22c3d8d
YARN-2363. Submitted applications occasionally lack a tracking URL. Contributed by Jason Lowe
...
(cherry picked from commit 9ea7b6c063c0bdd4551962e21d0173f671e9df03)
2014-09-18 20:15:46 +00:00
Vinod Kumar Vavilapalli
d24ef142b7
YARN-2001. Added a time threshold for RM to wait before starting container allocations after restart/failover. Contributed by Jian He.
...
(cherry picked from commit 485c96e3cb9b0b05d6e490b4773506da83ebc61d)
2014-09-18 11:04:27 -07:00
Jian He
d61cdd66db
YARN-2559. Fixed NPE in SystemMetricsPublisher when retrieving FinalApplicationStatus. Contributed by Zhijie Shen
...
(cherry picked from commit ee21b13cbd4654d7181306404174329f12193613)
2014-09-17 21:44:49 -07:00
junping_du
1e1f4c2fdf
YARN-1250. Generic history service should support application-acls. (Contributed by Zhijie Shen)
...
(cherry picked from commit 90a0c03f0a696d32e871a5da4560828edea8cfa9)
2014-09-16 18:30:06 -07:00
Vinod Kumar Vavilapalli
5cdb24d4b1
YARN-611. Added an API to let apps specify an interval beyond which AM failures should be ignored towards counting max-attempts. Contributed by Xuan Gong.
...
(cherry picked from commit 14e2639fd0d53f7e0b58f2f4744af44983d4e867)
2014-09-13 18:05:02 -07:00
XuanGong
add5ac6a73
YARN-2456. Possible livelock in CapacityScheduler when RM is recovering
...
apps. Contributed by Jian He
2014-09-12 15:24:02 -07:00
Jian He
f21a5236e5
YARN-2229. Changed the integer field of ContainerId to be long type. Contributed by Tsuyoshi OZAWA
...
(cherry picked from commit 3122daa80261b466e309e88d88d1e2c030525e3f)
Conflicts:
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/rm/preemption/CheckpointAMPreemptionPolicy.java
2014-09-12 10:45:42 -07:00
Jason Lowe
7e69dc8771
YARN-2484. FileSystemRMStateStore#readFile/writeFile should close FSData(In|Out)putStream in final block. Contributed by Tsuyoshi OZAWA
...
(cherry picked from commit 78b048393a80a9bd1399d08525590bb211a32d8c)
2014-09-12 14:10:51 +00:00
Zhijie Shen
466bdf79c5
YARN-2538. Added logs when RM sends roll-overed AMRMToken to AM. Contributed by Xuan Gong.
...
(cherry picked from commit 469ea3dcef6e427d02fd08b859b2789cc25189f9)
2014-09-11 22:21:59 -07:00
junping_du
efa9ab3638
YARN-2033. Merging generic-history into the Timeline Store (Contributed by Zhijie Shen)
...
(cherry picked from commit 6b8b1608e64e300e4e1d23c60476febaca29ca38)
2014-09-12 10:08:06 +08:00
Karthik Kambatla
6f8b2a8e2e
YARN-2534. FairScheduler: Potential integer overflow calculating totalMaxShare. (Zhihai Xu via kasha)
...
(cherry picked from commit c11ada5ea6d17321626e5a9a4152ff857d03aee2)
2014-09-11 12:06:28 -07:00
Jian He
ceae7be6b2
YARN-415. Capture aggregate memory allocation at the app-level for chargeback. Contributed by Eric Payne & Andrey Klochkov
...
(cherry picked from commit 83be3ad44484bf8a24cb90de4b9c26ab59d226a8)
2014-09-10 18:22:07 -07:00