5370 Commits

Author SHA1 Message Date
Eric Yang
a8f67ad7c9 YARN-9067. Fixed Resource Manager resource leak via YARN service.
Contributed by Eric Yang
2018-11-29 13:50:06 -05:00
bibinchundatt
183ec39c4b YARN-9069. Fix SchedulerInfo#getSchedulerType for custom schedulers. Contributed by Bilwa S T.
(cherry picked from commit 07142f54a8c7f70857e99c041f3a2a5189c809b5)
2018-11-29 22:16:32 +05:30
Wangda Tan
ee9deb6e9c YARN-9030. Log aggregation changes to handle filesystems which do not support setting permissions. (Suma Shivaprasad via wangda)
Change-Id: I80f1e8196b8624e24d74494719fdedfd7061dced
(cherry picked from commit 9de8e8d0496a2628b63cc841b1fdee80e2912f7a)
2018-11-28 15:06:35 -08:00
Jason Lowe
df0e7766e4 YARN-8812. Containers fail during creating a symlink which started with hyphen for a resource file. Contributed by Oleksandr Shevchenko
(cherry picked from commit 3ce99e32f7d7887412cae8337cd4ebeb3b2ee308)
2018-11-28 08:50:18 -06:00
Eric Yang
db8b2a130c YARN-9056. Improved YARN service upgrade state logic for readiness check.
Contributed by Chandni Singh

(cherry picked from commit f657a2a661ed7470915fa33ea4bbda2f4980c8b2)
2018-11-27 19:45:23 -05:00
Eric Yang
838190482d YARN-8986. Added port publish for Docker container running with bridge.
Contributed by Charo Zhang
2018-11-27 14:27:13 -05:00
Weiwei Yang
01477108d9 YARN-8984. AMRMClient#OutstandingSchedRequests leaks when AllocationTags is null or empty. Contributed by Yang Wang.
(cherry picked from commit 176bb3f812e49b0fe3abddf54eebfc7219b5d718)
2018-11-22 17:04:16 +08:00
Wangda Tan
34387599c4 YARN-8960. [Submarine] Can't get submarine service status using the command of "yarn app -status" under security environment. (Zac Zhou via wangda)
Change-Id: I21b1addc9c32817650ea744a8f2e6b5602f2f4d4
(cherry picked from commit 8b2381441558cd49b4c940b0760c8accbb2a5567)
2018-11-19 09:01:21 -08:00
Weiwei Yang
650581a19d YARN-8833. Avoid potential integer overflow when computing fair shares. Contributed by liyakun.
(cherry picked from commit d027a24f0349b60efa5125c330058f123771748f)
2018-11-18 23:23:09 +08:00
Wangda Tan
bee5bf867b YARN-9001. [Submarine] Use AppAdminClient instead of ServiceClient to sumbit jobs. (Zac Zhou via wangda)
Change-Id: I7e8d1c27ebd37e0907ca570c4f3d56fe7a859635
2018-11-16 10:26:50 -08:00
Rohith Sharma K S
13e3670e7f YARN-8303. YarnClient should contact TimelineReader for application/attempt/container report.
(cherry picked from commit ee3355be3cd1cd956296a1b79b264177ff139ce6)
2018-11-16 18:37:20 +05:30
Vrushali C
da05328824 YARN-8834 Provide Java client for fetching Yarn specific entities from TimelineReader. Contributed by Abhishek Modi
(cherry picked from commit a3edfddcf7822ea13bdf4858672eb82cea5e0b5f)
2018-11-16 18:37:01 +05:30
Wangda Tan
ea753046b0 YARN-8918. [Submarine] Correct method usage of str.subString in CliUtils. (Zhankun Tang via wangda)
Change-Id: Id1f11dbab3aa838dee3a0ec8b8fd5dc32f5dd946
(cherry picked from commit 076b795b2e82d7f89cc91e0a8513c7081ee8b930)
2018-11-13 11:35:06 -08:00
Weiwei Yang
2415f8a5be YARN-8987. Usability improvements node-attributes CLI. Contributed by Bibin A Chundatt.
(cherry picked from commit c741109522d2913b87638957c64b94dee6b51029)
2018-11-12 18:21:11 +08:00
Eric Yang
5399ff8177 YARN-9002. Improve keytab loading for YARN Service.
Contributed by Gour Saha

(cherry picked from commit 2664248797365761089a86d5bd59aa9ac3ebcc28)
2018-11-10 01:54:59 -05:00
Weiwei Yang
b3321d9933 YARN-8988. Reduce the verbose log on RM heartbeat path when distributed node-attributes is enabled. Contributed by Tao Yang.
(cherry picked from commit e1bbf7dcdfc30a61a2b10bef09c59ff17d290488)
2018-11-08 17:50:16 +08:00
Weiwei Yang
b10ec0aa14 YARN-8977. Remove unnecessary type casting when calling AbstractYarnScheduler#getSchedulerNode. Contributed by Wanqiang Ji.
(cherry picked from commit c96cbe8659587cfc114a96aab1be5cc85029fe44)
2018-11-07 22:44:01 +08:00
Takanobu Asanuma
02abd0f80a YARN-8866. Fix a parsing error for crossdomain.xml.
(cherry picked from commit 8dc1f6dbf712a65390a9a6859f62fec0481af31b)
2018-11-07 18:29:28 +09:00
Weiwei Yang
4ff7255d6e YARN-8976. Remove redundant modifiers in interface ApplicationConstants. Contributed by Zhankun Tang.
(cherry picked from commit 482716e5a4d1edfd3aa6a1ae65a58652f89375f1)
2018-11-07 10:49:09 +08:00
Akira Ajisaka
41c4e9583d
YARN-8233. NPE in CapacityScheduler#tryCommit when handling allocate/reserve proposal whose allocatedOrReservedContainer is null. Contributed by Tao Yang.
(cherry picked from commit 951c98f89059d64fda8456366f680eff4a7a6785)
2018-11-07 11:18:48 +09:00
Jason Lowe
9265934201 YARN-8865. RMStateStore contains large number of expired RMDelegationToken. Contributed by Wilfred Spiegelenburg
(cherry picked from commit ab6aa4c7265db5bcbb446c2f779289023d454b81)
2018-11-06 08:47:30 -06:00
Weiwei Yang
f00125e2d9 YARN-8970. Improve the debug message in CS#allocateContainerOnSingleNode. Contributed by Zhankun Tang.
(cherry picked from commit 5d6554c722f08f79bce904e021243605ee75bae3)
2018-11-06 14:52:10 +08:00
Weiwei Yang
b474239e0b YARN-8969. AbstractYarnScheduler#getNodeTracker should return generic type to avoid type casting. Contributed by Wanqiang Ji.
(cherry picked from commit c7fcca0d7ec9e31d43ef3040ecd576ec808f1f8b)
2018-11-06 13:17:19 +08:00
Jonathan Hung
b9a3c988c0 YARN-7225. Add queue and partition info to RM audit log. Contributed by Eric Payne
(cherry picked from commit 2ab611d48b7669b31bd2c9b918f47251da77d0f6)
2018-11-01 14:31:09 -07:00
Rohith Sharma K S
7920f79049 YARN-8950. Fix compilation issue due to dependency convergence error for hbase.profile=2.0.
(cherry picked from commit 4ec4ec69711180d642c5b56cd3d3dbdf44d3c61f)
2018-10-30 11:50:33 +05:30
Weiwei Yang
288bc3f1eb YARN-8915. Update the doc about the default value of maximum-container-assignments for capacity scheduler. Contributed by Zhankun Tang.
(cherry picked from commit 78ea897b6701c82799a6231103ca7ee1f8b4efde)
2018-10-29 12:05:45 +08:00
Weiwei Yang
5db4272d91 YARN-8944. TestContainerAllocation.testUserLimitAllocationMultipleContainers failure after YARN-8896. Contributed by Wilfred Spiegelenburg.
(cherry picked from commit 1d90a0dd23c5d1bd52d04c303506806d0dc61cd2)
2018-10-29 11:55:22 +08:00
Eric Yang
3665c46176 YARN-8938. Updated YARN service upgrade document.
Contributed by Chandni Singh

(cherry picked from commit bbc6dcd3d0976932a49d8650804fb0a4018b3a02)
2018-10-24 11:52:50 -04:00
Jason Lowe
7097755925 YARN-8904. TestRMDelegationTokens can fail in testRMDTMasterKeyStateOnRollingMasterKey. Contributed by Wilfred Spiegelenburg
(cherry picked from commit 93fb3b4b9cbc63e65d590676a5a318d555a25904)
2018-10-23 12:54:04 -05:00
Rohith Sharma K S
660fff3138 YARN-8826. Fix lingering timeline collector after serviceStop in TimelineCollectorManager. Contributed by Prabha Manepalli.
(cherry picked from commit 0b62983c5a9361eb832784f134f140f9926c9ec6)
2018-10-23 14:06:13 +05:30
Sunil G
30998fea28 YARN-8868. Set HTTPOnly attribute to Cookie. Contributed by Chandni Singh.
(cherry picked from commit 2202e00ba8a44ad70f0a90e6c519257e3ae56a36)
2018-10-23 09:57:26 +05:30
Sunil G
8724c2900f YARN-7502. Nodemanager restart docs should describe nodemanager supervised property. Contributed by Suma Shivaprasad.
(cherry picked from commit e50334513c781a10368e7353bec6674f89eb0a7b)
2018-10-22 14:16:24 +05:30
Eric Yang
04600cf5da YARN-8910. Fixed misleading log statement when container max retries is infinite.
Contributed by Chandni Singh

(cherry picked from commit 47ad98b2e1b4e9ad9304aca4d452da428778e7ee)
2018-10-19 13:49:51 -04:00
Wangda Tan
9ed9e185d7 YARN-8916. Define a constant docker string in ContainerRuntimeConstants.java for better maintainability. (Zhankun Tang via wangda)
Change-Id: I1349e740037f81afdbe30edbe741f20e88fd0a90
(cherry picked from commit 5e02b4915b876eab943b30cf728cfc26ba832188)
2018-10-19 09:50:18 -07:00
Wangda Tan
bd08554aa4 YARN-8908. Fix errors in yarn-default.xml related to GPU/FPGA. (Zhankun Tang via wangda)
Change-Id: I46f511a9b51b65b069e15d5b827530110c41edab
(cherry picked from commit 071b9e19aa2c17bb9fa046c6ddabd6b8f0cc6d14)
2018-10-19 09:50:12 -07:00
Weiwei Yang
042f2df19b YARN-8907. Fix incorrect logging message in TestCapacityScheduler. Contributed by Zhankun Tang.
(cherry picked from commit 13cc0f50ea1c5f8978455e34f49716ddb0e3a143)
2018-10-19 10:01:45 +08:00
Eric Yang
91c916e209 YARN-8618. Added detection for non-upgradable service.
Contributed by Chandni Singh

(cherry picked from commit 66f059ed1db93c0a86e86c64636013001169a677)
2018-10-18 20:00:50 -04:00
Wangda Tan
7252f8e117 YARN-8896. Limit the maximum number of container assignments per heartbeat. (Zhankun Tang via wangda)
Change-Id: I6e72f8362bd7f5c2a844cb9e3c4732492314e9f1
(cherry picked from commit 780be14f07df2a3ed6273b96ae857c278fd72718)
2018-10-18 12:12:19 -07:00
Wangda Tan
5f7ed043c8 YARN-8456. Fix a configuration handling bug when user leave FPGA discover executable path configuration default but set OpenCL SDK path environment variable. (Zhankun Tang via wangda)
Change-Id: Iff150ea98ba0c60d448474fd940eb121afce6965
(cherry picked from commit a457a8951a1b35f06811c40443ca44bb9c698c30)
2018-10-18 12:12:14 -07:00
Wangda Tan
a7785d2764 YARN-6098. Add documentation for Delete Queue. (Suma Shivaprasad via wangda)
Change-Id: I23bf7ca0acbe1168a7f805ceccdd62fe41bfeb35
(cherry picked from commit bfb88b10f46a265aa38ab3e1d87b6a0a99d94be8)
2018-10-18 12:12:09 -07:00
Eric Yang
4681e17a36 YARN-8687. Update YARN service file type in documentation.
Contributed by Suma Shivaprasad
2018-10-18 12:04:04 -04:00
Sunil G
bde4fd5ed9 Preparing for 3.2.0 release 2018-10-18 17:07:45 +05:30
Sunil G
6380ee5512 YARN-8759. Copy of resource-types.xml is not deleted if test fails, causes other test failures. Contributed by Antal Bálint Steinbach.
(cherry picked from commit 5085e5fa9e8c7e489a8518e8541c12b14f3651df)
2018-10-17 16:06:07 +05:30
Eric Yang
fc25def7d7 YARN-8810. Fixed a YARN service bug in comparing ConfigFile object.
Contributed by Chandni Singh
2018-10-16 18:57:50 -04:00
Wangda Tan
80ee60c88c YARN-8892. YARN UI2 doc changes to update security status (verified under security environment). (Sunil G via wangda)
Change-Id: I8bc8622936861b8d6de3e42a0b75af86ad8a3961
(cherry picked from commit 538250db26ce0b261bb74053348cddfc2d65cf52)
2018-10-16 13:53:08 -07:00
Wangda Tan
aa23c8d739 YARN-8798. [Submarine] Job should not be submitted if --input_path option is missing. (Zhankun Tang via wangda)
Change-Id: I7ae0e44eb5179b04a6ac861ec1c65f3b18c38f0f
(cherry picked from commit 143d74775b2b62884090fdd88874134b9eab2888)
2018-10-16 13:53:03 -07:00
Wangda Tan
920401b296 YARN-8870. [Submarine] Add submarine installation scripts. (Xun Liu via wangda)
Change-Id: I46e8d9fd32c7745c313030da62da41486a77b3ea
(cherry picked from commit 46d6e0016610ced51a76189daeb3ad0e3dbbf94c)
2018-10-16 13:52:58 -07:00
Wangda Tan
8610c20724 YARN-8875. [Submarine] Add documentation for submarine installation script details. (Xun Liu via wangda)
Change-Id: I1c8d39c394e5a30f967ea514919835b951f2c124
(cherry picked from commit ed08dd3b0c9cec20373e8ca4e34d6526bd759943)
2018-10-16 13:52:53 -07:00
Sunil G
a439aa79dc YARN-8879. Kerberos principal is needed when submitting a submarine job. Contributed by Zac Zhou.
(cherry picked from commit 753f149fd3f5acf9a98cfc780d7899e307c19002)
2018-10-16 22:18:30 +05:30
Sunil G
1ca5f974f1 YARN-8869. YARN Service Client might not work correctly with RM REST API for Kerberos authentication. Contributed by Eric Yang.
(cherry picked from commit fa94d370b6e3cba9c7560c09b517583e6652f103)
2018-10-15 21:22:45 +05:30