1457 Commits

Author SHA1 Message Date
Vinod Kumar Vavilapalli
9c76dcadaf YARN-1922. Fixed NodeManager to kill process-trees correctly in the presence of races between the launch and the stop-container call and when root processes crash. Contributed by Billie Rinaldi.
(cherry picked from commit c5a46d4c8ca236ff641a309f256bbbdf4dd56db5)
2014-11-03 16:40:37 -08:00
Vinod Kumar Vavilapalli
277141b82d YARN-2795. Fixed ResourceManager to not crash loading node-label data from HDFS in secure mode. Contributed by Wangda Tan.
(cherry picked from commit ec6cbece8e7772868ce8ad996135d3136bd32245)
2014-11-03 13:45:31 -08:00
Vinod Kumar Vavilapalli
715c81ef6d YARN-2788. Fixed backwards compatiblity issues with log-aggregation feature that were caused when adding log-upload-time via YARN-2703. Contributed by Xuan Gong.
(cherry picked from commit 58e9f24e0f06efede21085b7ffe36af042fa7b38)
2014-11-03 13:19:34 -08:00
Vinod Kumar Vavilapalli
52c58115d2 YARN-2798. Fixed YarnClient to populate the renewer correctly for Timeline delegation tokens. Contributed by Zhijie Shen.
(cherry picked from commit 71fbb474f531f60c5d908cf724f18f90dfd5fa9f)
2014-11-03 12:50:39 -08:00
Jason Lowe
8091ea54d5 YARN-2730. DefaultContainerExecutor runs only one localizer at a time. Contributed by Siqi Li
(cherry picked from commit 6157ace5475fff8d2513fd3cd99134b532b0b406)
2014-11-03 20:39:14 +00:00
Zhijie Shen
caae0a0a08 YARN-2785. Fixed intermittent TestContainerResourceUsage failure. Contributed by Varun Vasudev.
(cherry picked from commit 27715ec63bd77f1d31ee922b7daba85071da54ca)
2014-11-02 15:22:54 -08:00
Vinod Kumar Vavilapalli
6627f67bf5 YARN-2790. Fixed a NodeManager bug that was causing log-aggregation to fail beyond HFDS delegation-token expiry even when RM is a proxy-user (YARN-2704). Contributed by Jian He.
(cherry picked from commit 5c0381c96aa79196829edbca497c649eb6776944)
2014-11-01 16:33:35 -07:00
Zhijie Shen
d9ac25454c YARN-2711. Fixed TestDefaultContainerExecutor#testContainerLaunchError failure on Windows. Contributed by Varun Vasudev.
(cherry picked from commit 1cd088fd9dac3015df0b6281974fc6b6c3ece20d)
2014-10-31 17:45:05 -07:00
Jason Lowe
ada40aa933 YARN-2707. Potential null dereference in FSDownload. Contributed by Gera Shegalov
(cherry picked from commit 7bc179f9f5e1e270fd5e6f1ad29b0f32fe371d15)
2014-10-31 22:54:49 +00:00
Vinod Kumar Vavilapalli
6d4a04a033 YARN-2789. Re-instated the NodeReport.newInstance private unstable API modified in YARN-2698 so that tests in YARN frameworks don't break. Contributed by Wangda Tan.
(cherry picked from commit 6ce32f593bff6788084ce9bc1e11ade74ed3dbaf)
2014-10-31 15:33:41 -07:00
Xuan
902566741e YARN-2701. Addendum patch. Potential race condition in startLocalizer when using LinuxContainerExecutor. Contributed by Xuan Gong 2014-10-31 14:39:06 -07:00
Jian He
a87f827ae4 YARN-2770. Added functionality to renew/cancel TimeLineDelegationToken. Contributed by Zhijie Shen
(cherry picked from commit 1b4be918664b09272b120bc42de3e5fc02d79047)
2014-10-31 13:17:19 -07:00
Karthik Kambatla
268af259b5 YARN-2186. [YARN-1492] Node Manager uploader service for cache manager. (Chris Trezzo and Sangjin Lee via kasha)
(cherry picked from commit 256697acd5ec16bca022ae86e22f9882b3309d8b)
2014-10-31 13:01:25 -07:00
Vinod Kumar Vavilapalli
9b879d713a YARN-2778. Moved node-lables' reports to the yarn nodes CLI from the admin CLI. Contributed by Wangda Tan.
(cherry picked from commit b6c1188b855d636586cd8fd0fb6d8e984bbfb0f5)
2014-10-31 10:19:14 -07:00
Vinod Kumar Vavilapalli
97694e78ad YARN-2779. Fixed ResourceManager to not require delegation tokens for communicating with Timeline Service. Contributed by Zhijie Shen.
(cherry picked from commit d1828d94435eca21761b0ba8458f9de2f125d012)
2014-10-30 23:17:16 -07:00
Vinod Kumar Vavilapalli
0ba8d8c19c YARN-2698. Moved some node label APIs to be correctly placed in client protocol. Contributed by Wangda Tan.
(cherry picked from commit e0233c16ebd06bb3aabeb523cd17259008e243ef)
2014-10-30 23:02:06 -07:00
Steve Loughran
cd24075343 YARN-2677 registry punycoding of usernames doesn't fix all usernames to be DNS-valid (stevel) 2014-10-30 22:32:20 +00:00
Jason Lowe
3e8544c5f2 YARN-2755. NM fails to clean up usercache_DEL_<timestamp> dirs after YARN-661. Contributed by Siqi Li
(cherry picked from commit 73e626ad91cd5c06a005068d8432fd16e06fe6a0)
2014-10-30 15:11:57 +00:00
Karthik Kambatla
d2ba115f06 YARN-2712. TestWorkPreservingRMRestart: Augment FS tests with queue and headroom checks. (Tsuyoshi Ozawa via kasha)
(cherry picked from commit 179cab81e0bde1af0cba6131ccccf16ff127358a)
2014-10-30 00:39:34 -07:00
Zhijie Shen
d2a5c386c1 YARN-2769. Fixed the problem that timeline domain is not set in distributed shell AM when using shell_command on Windows. Contributed by Varun Vasudev.
(cherry picked from commit 72496311def320987c31822776e8fbb73dfcc726)
2014-10-29 12:14:48 -07:00
Karthik Kambatla
e88832dfb3 YARN-2742. FairSchedulerConfiguration should allow extra spaces between value and unit. (Wei Yan via kasha)
(cherry picked from commit 782971ae7a0247bcf5920e10b434b7e0954dd868)
2014-10-29 10:25:29 -07:00
Zhijie Shen
734cbe7de2 YARN-2747. Fixed the test failure of TestAggregatedLogFormat when native I/O is enabled. Contributed by Xuan Gong.
(cherry picked from commit ec63a3ffbd9413e7434594682fdbbd36eef7413c)
2014-10-28 22:45:20 -07:00
Jian He
720de7eb4c YARN-2503. Added node lablels in web UI. Contributed by Wangda Tan
(cherry picked from commit d5e0a09721a5156fa2ee51ac1c32fbfd9905b8fb)
2014-10-28 18:00:59 -07:00
Zhijie Shen
f40389ae08 YARN-2741. Made NM web UI serve logs on the drive other than C: on Windows. Contributed by Craig Welch.
(cherry picked from commit 8984e9b1774033e379b57da1bd30a5c81888c7a3)
2014-10-28 14:12:09 -07:00
Xuan
43b1878f86 YARN-2758. Update TestApplicationHistoryClientService to use the new generic history store. Contributed by Zhijie Shen 2014-10-28 13:30:55 -07:00
Xuan
43a53f2b65 YARN-2279. Add UTs to cover timeline server authentication. Contributed by Zhijie Shen 2014-10-28 11:18:35 -07:00
Karthik Kambatla
3f7edeb055 YARN-2760. Remove 'experimental' from FairScheduler docs. (Harsh J via kasha)
(cherry picked from commit ade3727ecb092935dcc0f1291c1e6cf43d764a03)
2014-10-28 08:49:34 -07:00
Jian He
a1c7a707ca YARN-2502. Changed DistributedShell to support node labels. Contributed by Wangda Tan
(cherry picked from commit f6b963fdfc517429149165e4bb6fb947be6e3c99)
2014-10-27 20:13:53 -07:00
Vinod Kumar Vavilapalli
0ad33e1483 YARN-2704. Changed ResourceManager to optionally obtain tokens itself for the sake of localization and log-aggregation for long-running services. Contributed by Jian He.
(cherry picked from commit a16d022ca4313a41425c8e97841c841a2d6f2f54)
2014-10-27 15:50:51 -07:00
Jian He
2d3c64943d YARN-2591. Fixed AHSWebServices to return FORBIDDEN(403) if the request user doesn't have access to the history data. Contributed by Zhijie Shen
(cherry picked from commit c05b581a5522eed499d3ba16af9fa6dc694563f6)
2014-10-27 10:46:37 -07:00
Xuan
3a77838535 YARN-2726. CapacityScheduler should explicitly log when an accessible label has no capacity. Contributed by Wangda Tan 2014-10-27 10:28:45 -07:00
Zhijie Shen
cb3974524c YARN-2734. Skipped sub-folders in the local log dir when aggregating logs. Contributed by Xuan Gong.
(cherry picked from commit caecd9fffe7c6216be31f3ab65349182045451fa)
2014-10-26 12:59:29 -07:00
Vinod Kumar Vavilapalli
36d3f1fcca YARN-2743. Fixed a bug in ResourceManager that was causing RMDelegationToken identifiers to be tampered and thus causing app submission failures in secure mode. Contributed by Jian He.
(cherry picked from commit 018664550507981297fd9f91e29408e6b7801ea9)
2014-10-26 11:15:45 -07:00
Xuan
f862999a7e YARN-2723. Fix rmadmin -replaceLabelsOnNode does not correctly parse
port. Contributed by Naganarasimha G R
2014-10-25 12:47:09 -07:00
Karthik Kambatla
acc6f622e0 YARN-2183. [YARN-1492] Cleaner service for cache manager. (Chris Trezzo and Sangjin Lee via kasha)
(cherry picked from commit c51e53d7aad46059f52d4046a5fedfdfd3c37955)
2014-10-25 11:50:06 -07:00
Jian He
9bd149978d YARN-2314. Disable ContainerManagementProtocolProxy cache by default to prevent creating thousands of threads in a large cluster. Contributed by Jason Lowe
(cherry picked from commit f44cf99599119b5e989be724eeab447b2dc4fe53)
2014-10-24 23:06:00 -07:00
Jian He
96a6e02d16 YARN-1915. Fixed a race condition that client could use the ClientToAMToken to contact with AM before AM actually receives the ClientToAMTokenMasterKey. Contributed by Jason Lowe
(cherry picked from commit 5864dd99a419b8a0fb973a4984c0f1d1e02ccf16)
2014-10-24 22:48:48 -07:00
Karthik Kambatla
9af3cfc7eb YARN-2713. "RM Home" link in NM should point to one of the RMs in an HA setup. (kasha)
(cherry picked from commit 683897fd028dcc2185383f73b52d15245a69e0cb)
2014-10-24 15:00:37 -07:00
Zhijie Shen
1b81105143 YARN-2703. Added logUploadedTime into LogValue for better display. Contributed by Xuan Gong.
(cherry picked from commit f81dc3f995579c1b94b11d60e9fc6da56c8a9496)
2014-10-24 14:12:17 -07:00
Zhijie Shen
13c60bac57 YARN-2724. Skipped uploading a local log file to HDFS if exception is raised when opening it. Contributed by Xuan Gong.
(cherry picked from commit e31f0a6558b106662c83e1f797216e412b6689a9)
2014-10-24 11:15:19 -07:00
Jian He
d57f2b9dea Updated CHANGES.txt to move YARN-2682 to branch-2.6
(cherry picked from commit 071c925c7dffbb825884a5df5a0104e7793b30fc)
2014-10-23 22:28:23 -07:00
Zhijie Shen
3b03ea6b50 YARN-2209. Replaced AM resync/shutdown command with corresponding exceptions and made related MR changes. Contributed by Jian He.
(cherry picked from commit 0f3b6900be1a3b2e4624f31f84656f4a32dadce9)
2014-10-23 22:03:30 -07:00
Zhijie Shen
36515435ff YARN-2732. Fixed syntax error in SecureContainer.apt.vm. Contributed by Jian He.
(cherry picked from commit b94b8b30f282563ee2ecdd25761b2345aaf06c9b)
2014-10-22 18:41:05 -07:00
Jian He
1c235a4448 YARN-2198. Remove the need to run NodeManager as privileged account for Windows Secure Container Executor. Contributed by Remus Rusanu
(cherry picked from commit 3b12fd6cfbf4cc91ef8e8616c7aafa9de006cde5)
2014-10-22 15:58:26 -07:00
Steve Loughran
5e6494ea95 YARN-2700 TestSecureRMRegistryOperations failing on windows: auth problems 2014-10-22 21:13:32 +01:00
Steve Loughran
a64ac5501c YARN-2692 ktutil test hanging on some machines/ktutil versions (stevel) 2014-10-22 14:35:13 +01:00
Zhijie Shen
4b9de2cdfe YARN-2721. Suppress NodeExist exception thrown by ZKRMStateStore when it retries creating znode. Contributed by Jian He.
(cherry picked from commit 7e3b5e6f5cb4945b4fab27e8a83d04280df50e17)
2014-10-21 21:52:01 -07:00
Vinod Kumar Vavilapalli
77dc9afe86 YARN-2715. Fixed ResourceManager to respect common configurations for proxy users/groups beyond just the YARN level config. Contributed by Zhijie Shen.
(cherry picked from commit c0e034336c85296be6f549d88d137fb2b2b79a15)
2014-10-21 20:10:45 -07:00
Zhijie Shen
296bbd8971 YARN-2709. Made timeline client getDelegationToken API retry if ConnectException happens. Contributed by Li Lu.
(cherry picked from commit b2942762d7f76d510ece5621c71116346a6b12f6)
2014-10-21 16:08:18 -07:00
cnauroth
a066134277 YARN-2720. Windows: Wildcard classpath variables not expanded against resources contained in archives. Contributed by Craig Welch.
(cherry picked from commit 6637e3cf95b3a9be8d6b9cd66bc849a0607e8ed5)
2014-10-21 12:34:58 -07:00