396 Commits

Author SHA1 Message Date
Arun Suresh
368565f0ce YARN-4597. Introduce ContainerScheduler and a SCHEDULED state to NodeManager container lifecycle. (asuresh)
(cherry picked from commit 3219b7b4ac7d12aee343f6ab2980b3357fc618b6)
(cherry picked from commit 49921678858a17ca58ca2ae704ced1ff584e0859)
2017-01-06 11:15:09 -08:00
Arun Suresh
047772f15f YARN-5823. Update NMTokens in case of requests with only opportunistic containers. (Konstantinos Karanasos via asuresh)
(cherry picked from commit 283fa33febe043bd7b4fa87546be26c9c5a8f8b5)
(cherry picked from commit 1c4cc88a754ac9f557cdc8c859b8aadec19a5067)
2017-01-06 11:15:09 -08:00
Arun Suresh
f9ea753414 YARN-5486. Update OpportunisticContainerAllocatorAMService::allocate method to handle OPPORTUNISTIC container requests. (Konstantinos Karanasos via asuresh)
(cherry picked from commit 10be45986cdf86a89055065b752959bd6369d54f)
(cherry picked from commit e3baa0988b4dfb592afe426ffeba3c7091b271c5)
2017-01-06 11:15:09 -08:00
Rohith Sharma K S
cb40e3cffa YARN-6001. Improve moveApplicationQueues command line. Contributed by Sunil G.
(cherry picked from commit e297be74ed4c4334bf48dd01d3b10e302147041d)
2016-12-28 12:17:38 +05:30
Robert Kanter
88597991b0 YARN-5257. Fix unreleased resources and null dereferences (yufeigu via rkanter)
(cherry picked from commit 9262797e86453fc04b7ca3710b73b21fcdf9e6b4)
2016-12-27 14:14:41 -08:00
Akira Ajisaka
522bc98026 YARN-4994. Use MiniYARNCluster with try-with-resources in tests. Contributed by Andras Bokor.
(cherry picked from commit ae401539eaf7745ec8690f9281726fb4cdcdbe94)
2016-12-23 04:06:53 +09:00
Varun Saxena
3ba589cd1e YARN-5903. Fix race condition in TestResourceManagerAdministrationProtocolPBClientImpl beforeclass setup method (Haibo Chen via Varun Saxena)
(cherry picked from commit 38e66d4d64f3c2e2bb43d8e5dca3866d672322b6)
2016-12-22 23:11:18 +05:30
Naganarasimha
e9ce2df1f2 YARN-5524. Yarn live log aggregation does not throw if command line arg is wrong. Contributed by Xuan Gong.
(cherry picked from commit 358341398adfe8f59bb2165472b50751de3ffb98)
2016-12-20 06:45:52 +05:30
Xuan
236dbe3485 YARN-5999. AMRMClientAsync will stop if any exceptions thrown on allocate call. Contributed by Jian He 2016-12-14 15:05:42 -08:00
Robert Kanter
9cba7c6d71 YARN-5963. Spelling errors in logging and exceptions for node manager, client, web-proxy, common, and app history code (gsohn via rkanter)
(cherry picked from commit 72fe54684198b7df5c5fb2114616dff6d17a4402)

Conflicts:
	hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/client/api/impl/TimelineClientImpl.java
2016-12-07 15:09:37 -08:00
Sunil
a636a87270 YARN-5965. Retrospect ApplicationReport#getApplicationTimeouts. Contributed by Rohith Sharma K S
(cherry picked from commit ab923a53fcf55d4d75aa027d46e3c4a659015325)
2016-12-08 00:34:45 +05:30
Jian He
0f6fbfc0db YARN-5559. Analyse 2.8.0/3.0.0 jdiff reports and fix any issues. Contributed by Akira Ajisaka & Wangda Tan
(cherry picked from commit 43ebff2e354142bddcb42755766a965ae8a503a6)
2016-12-05 11:40:26 -08:00
Daniel Templeton
eb301bb3ec YARN-5901. Fix race condition in TestGetGroups beforeclass setup() (Contributed by Haibo Chen via Daniel Templeton) 2016-12-02 12:05:29 -08:00
Sunil
c28dc5e5a4 YARN-4206. Add Application timeouts in Application report and CLI. Contributed by Rohith Sharma K S.
(cherry picked from commit eb0a483ed07399c7a06ed9db4bfbec382de470da)
2016-11-24 18:27:50 +05:30
Wei-Chiu Chuang
c5a3ec493b YARN-5271. ATS client doesn't work with Jersey 2 on the classpath. Contributed by Weiwei Yang.
(cherry picked from commit 09520cb439f8b002e3f2f3d8f5080ffc34f4bd5c)
2016-11-17 22:23:58 -06:00
Rohith Sharma K S
bbe993238d YARN-5870. Expose getApplications API in YarnClient with GetApplicationsRequest parameter. Contributed by Jian He.
(cherry picked from commit ce2847e79441881eeca888b581c7be2cc3ac74f4)
2016-11-17 08:54:33 +05:30
Varun Saxena
6cb1fda99d YARN-5891. yarn rmadmin -help contains a misspelled ResourceManager (Grant Sohn via Varun Saxena)
(cherry picked from commit 6a11877ab5b4e81769dc097e91198abd994d103f)
2016-11-17 03:28:08 +05:30
Wangda Tan
a76e214556 YARN-5552. Add Builder methods for common yarn API records. (Tao Jie via wangda)
(cherry picked from commit ede1a473f5061cf40f6affc1c8c30a645c1fef6c)
2016-11-11 13:42:45 -08:00
Eric Payne
dd5b9dabf9 YARN-4218. Metric for resource*time that was preempted. Contributed by Chang Li. 2016-11-10 23:02:42 +00:00
Andrew Wang
4f25fd975e HADOOP-13789. Hadoop Common includes generated test protos in both jar and test-jar. Contributed by Sean Busbey.
(cherry picked from commit e1c6ef2efa9d87fdfc7474ca63998a13a3929874)
2016-11-08 16:33:58 -08:00
Naganarasimha
2612b509ef YARN-5697. Use CliParser to parse options in RMAdminCLI. Contributed by Tao jie
(cherry picked from commit aacf214a274fb5149437f287c542339966c03ea5)
2016-11-02 04:46:24 +05:30
Akira Ajisaka
e29d0a2fd8 YARN-5575. Many classes use bare yarn. properties instead of the defined constants. Contributed by Daniel Templeton.
(cherry picked from commit d3bb69a66776e9f410150c4030ddb15981f58fb9)
2016-10-26 15:34:40 +09:00
Subru Krishnan
81595a127f YARN-5711. Propogate exceptions back to client when using hedging RM failover provider.
(cherry picked from commit 0a166b13472213db0a0cd2dfdaddb2b1746b3957)
2016-10-24 19:02:03 -07:00
Naganarasimha
04f594dbea YARN-4855. Should check if node exists when replace nodelabels. Contributeed by Tao Jie
(cherry picked from commit 6e130c308cf1b97e8386b6a43c26d72d2850119c)
2016-10-03 02:13:46 -04:00
Robert Kanter
56ec975ea9 YARN-5693. Reduce loglevel to Debug in ContainerManagementProtocolProxy and AMRMClientImpl (yufeigu via rkanter)
(cherry picked from commit 2549ee9d4c4ddd3ebccdebb8623df30c0a8f27d2)
2016-09-30 13:35:58 -07:00
Naganarasimha
eec0afa098 YARN-3877. YarnClientImpl.submitApplication swallows exceptions. Contributed by Varun Saxena
(cherry picked from commit e4e72db5f9f305b493138ab36f073fe5d1750ad8)
2016-09-25 17:38:01 +05:30
Naganarasimha
0e4a5611ff YARN-3692. Allow REST API to set a user generated message when killing an application. Contributed by Rohith Sharma K S 2016-09-24 21:13:01 +05:30
Kihwal Lee
9dec68c269 YARN-5622. TestYarnCLI.testGetContainers fails due to mismatched date formats. Contributed by Eric Badger.
(cherry picked from commit 6e849cb658438c0561de485e01f3de7df47bf9ad)
2016-09-23 14:10:46 -05:00
Naganarasimha
656b520dc6 YARN-4232. TopCLI console support for HA mode. Contributed by Bibin A Chundatt
(cherry picked from commit ade7c2bc9ccf09d843ccb3dfa56c1453a9e87318)
2016-09-17 09:54:29 +05:30
Rohith Sharma K S
8c8ff0cfa3 YARN-5631. Missing refreshClusterMaxPriority usage in rmadmin help message. Contributed by Kai Sasaki.
(cherry picked from commit 729de3e6b6ae1fcfe1c6bec7102d758ad489df47)
2016-09-13 15:27:20 +05:30
Rohith Sharma K S
de9f046598 YARN-5608. TestAMRMClient.setup() fails with ArrayOutOfBoundsException. Contributed by Daniel Templeton.
(cherry picked from commit f9557127b3660e138cab8d9535a589677809384a)
2016-09-06 14:13:41 +05:30
Arun Suresh
b279f42d79 YARN-5221. Expose UpdateResourceRequest API to allow AM to request for change in container properties. (asuresh)
(cherry picked from commit d6d9cff21b7b6141ed88359652cf22e8973c0661)
2016-08-30 16:33:31 -07:00
Zhe Zhang
3ad4f0823c YARN-5550. TestYarnCLI#testGetContainers should format according to CONTAINER_PATTERN. Contributed by Jonathan Hung.
(cherry picked from commit ed6ff5cd789cab621fbfb88c8e8de4f215cd2961)
2016-08-29 14:49:03 -07:00
Jason Lowe
eeb18b0a46 YARN-5560. Clean up bad exception catching practices in TestYarnClient. Contributed by Sean Po
(cherry picked from commit 4cbe61407dcb71f099bc7ec6ae87560d786ee714)
2016-08-29 16:15:55 +00:00
Wangda Tan
07e1527cc1 YARN-4889. Changes in AMRMClient for identifying resource-requests explicitly. (Arun Suresh via wangda)
(cherry picked from commit 19c743c1bbcaf3df8f1d63e557143c960a538c42)
2016-08-26 17:23:55 -07:00
Jason Lowe
4037b22b7c YARN-5389. TestYarnClient#testReservationDelete fails. Contributed by Sean Po 2016-08-25 15:10:23 +00:00
Jason Lowe
6de262cdc4 Revert "YARN-5389. TestYarnClient#testReservationDelete fails. Contributed by Sean Po"
This reverts commit 782aeabcd55b1e1e933f0b924633d68662b50765.
2016-08-25 14:59:20 +00:00
Jason Lowe
782aeabcd5 YARN-5389. TestYarnClient#testReservationDelete fails. Contributed by Sean Po
(cherry picked from commit 3d86110a5ccfdaff8671fb6ad8f67b4ab66f33da)
2016-08-25 14:47:40 +00:00
Varun Saxena
42feab2436 YARN-5537. Fix intermittent failure of TestAMRMClient#testAMRMClientWithContainerResourceChange (Bibin A Chundatt via Varun Saxena) 2016-08-25 14:12:28 +05:30
Naganarasimha
5fa241daa0 YARN-4491. yarn list command to support filtering by tags. Contributed by Varun Saxena
(cherry picked from commit 143c59e4c5a811eb2c12cf6626d558f9b8796e03)
2016-08-24 01:55:24 +05:30
Junping Du
d464483bf7 YARN-4676. Automatic and Asynchronous Decommissioning Nodes Status Tracking. Contributed by Diniel Zhi. 2016-08-18 07:23:29 -07:00
Varun Saxena
9dcb7197d4 YARN-5523. Yarn running container log fetching causes OutOfMemoryError (Xuan Gong via Varun Saxena) 2016-08-18 01:53:55 +05:30
Rohith Sharma K S
05b384271c YARN-2398. TestResourceTrackerOnHA crashes. Contributed by Ajith S.
(cherry picked from commit 666ad0b67b9162860fccddbd1d89c806c70b60ef)
2016-08-11 11:41:36 +05:30
Arun Suresh
5f7edb79d1 YARN-5457. Refactor DistributedScheduling framework to pull out common functionality. (asuresh)
(cherry picked from commit 82c9e061017c32e633e0b0cbb7978749a6df4fb2)
2016-08-09 00:46:08 -07:00
Vinod Kumar Vavilapalli (I am also known as @tshooter.)
31bb302c91 YARN-5470. Addedum to differentiate exactly matching of log-files with regex in yarn log CLI. Contributed by Xuan Gong.
(cherry picked from commit 83a2ffec408fc3ebb89ab13ab4788d9f02fae33b)
2016-08-08 14:29:24 -07:00
Junping Du
adcecd417b YARN-5470. Differentiate exactly match with regex in yarn log CLI. Contributed by Xuan Gong.
(cherry picked from commit e605d47df05619c6b1c18aca59f709899498da75)
2016-08-05 11:00:13 -07:00
Junping Du
7e213844a7 YARN-5226. Remove AHS enable check from LogsCLI#fetchAMContainerLogs. Contributed by Xuan Gong.
(cherry picked from commit 3818393297c7b337e380e8111a55f2ac4745cb83)
2016-08-02 10:42:31 -07:00
Arun Suresh
f197378f81 YARN-5113. Refactoring and other clean-up for distributed scheduling. (Konstantinos Karanasos via asuresh)
(cherry picked from commit e5766b1dbee02ae0ef89618e172f3fb227af19e8)
2016-07-31 11:49:09 -07:00
Junping Du
47dd871f96 YARN-5434. Add -client|server argument for graceful decommmission. Contributed by Robert Kanter.
(cherry picked from commit 95f2b9859718eca12fb3167775cdd2dad25dde25)
2016-07-29 10:27:11 -07:00
Li Lu
310245063b YARN-5440. Use AHSClient in YarnClient when TimelineServer is running. (Xuan Gong via gtcarrera9)
(cherry picked from commit 26de4f0de789f58736d1dc383125cffb54debdd0)
2016-07-28 10:25:55 -07:00