2588 Commits

Author SHA1 Message Date
mattf-horton
ea10e1384f HADOOP-13382. Remove unneeded commons-httpclient dependencies from POM files in Hadoop and sub-projects, while adding it in to the only place it is still needed, hadoop-openstack. Contributed by Matt Foley. 2016-07-21 15:58:05 -07:00
Rohith Sharma K S
eff65463de YARN-5092. TestRMDelegationTokens fails intermittently. Contributed by Jason Lowe.
(cherry picked from commit 557a245d83c358211f51b3ab1950d707a70679d9)
2016-07-21 12:49:06 +05:30
Rohith Sharma K S
d9ed29e8c6 YARN-1126. Add validation of users input nodes-states options to nodes CLI. Contributed by Wei Yan.
(cherry picked from commit be34b2a8fd30a1a0e803ac8b2198c695600a9e46)
2016-07-21 12:22:34 +05:30
Akira Ajisaka
2bf5c4eb1a YARN-4883. Make consistent operation name in AdminService. Contributed by Kai Sasaki.
(cherry picked from commit c63afdbe14df7359841aa4b213252a8a275e8c4b)
2016-07-20 16:51:44 -07:00
Vinod Kumar Vavilapalli
5641c28c1c YARN-5340. Fixed a race condition in RollingLevelDBTimelineStore that caused loss of Timeline events. Contributed by Li Lu.
(cherry picked from commit 1c9d2ab503ea5a3f16757351af9603041059b390)
2016-07-20 08:38:56 -07:00
Varun Vasudev
9e326f4eeb YARN-5309. Fix SSLFactory truststore reloader thread leak in TimelineClientImpl. Contributed by Weiwei Yang.
(cherry picked from commit 9ccf935b2cba5ac8a3e8124360d2203931397391)

 Conflicts:
	hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/client/api/impl/TimelineClientImpl.java
2016-07-20 12:55:38 +05:30
Arun Suresh
586cd0daa1 YARN-5350. Distributed Scheduling: Ensure sort order of allocatable nodes returned by the RM is not lost. (asuresh)
(cherry picked from commit 8fbe6ece24e38ee24fee0abdbed5f7dc5d3c16da)
2016-07-19 23:22:47 -07:00
Junping Du
ad8180fc6c YARN-5213. Fix a bug in LogCLIHelpers which cause TestLogsCLI#testFetchApplictionLogs fails intermittently. Contributed by Xuan Gong.
(cherry picked from commit dc2f4b6ac8a6f8848457046cf9e1362d8f48495d)
2016-07-19 07:19:17 -07:00
Varun Saxena
2153c9f04c YARN-4996. Make TestNMReconnect.testCompareRMNodeAfterReconnect() scheduler agnostic (Kai Sasaki via Varun Saxena) 2016-07-19 16:07:56 +05:30
Ray Chiang
66a501be5e YARN-5272. Handle queue names consistently in FairScheduler. (Wilfred Spiegelenburg via rchiang)
(cherry picked from commit 2df1b1e72b18422606e38a9fbe311988637cb9a5)
2016-07-15 14:39:28 -07:00
Arun Suresh
9d31c0b53f YARN-5181. ClusterNodeTracker: add method to get list of nodes matching a specific resourceName. (kasha via asuresh)
(cherry picked from commit e905a42a2c6c88210b5c2120d7daf0bb3739cd1d)
2016-07-15 14:38:26 -07:00
Wangda Tan
e34e1aa4fe YARN-4484. Available Resource calculation for a queue is not correct when used with labels. (Sunil G via wangda)
(cherry picked from commit 24db9167f16ba643a186624b33a6b9b80020f476)
2016-07-15 11:41:35 -07:00
Varun Saxena
8b0337b499 YARN-5383. Fix findbugs and checkstyle issues in ContainerExecutor. (Vrushali C via Varun Saxena) 2016-07-15 23:30:36 +05:30
Junping Du
e3bc4faa96 YARN-5339. Passing file to -out for YARN log CLI doesnt give warning or error code. Contributed by Xuan Gong.
(cherry picked from commit 7e5355c14e55fd6540f7f070df4b78fa94a81618)
2016-07-15 09:24:03 -07:00
Akira Ajisaka
6664077727 YARN-5159. Wrong Javadoc tag in MiniYarnCluster. Contributed by Andras Bokor.
(cherry picked from commit 6cf017558a3d06240b95d1b56c953591ece97c92)
2016-07-14 10:45:39 -07:00
Xuan
58088d27e6 YARN-5363. For AM containers, or for containers of running-apps, "yarn logs" incorrectly only (tries to) shows syslog file-type by default. (Contributed by Vinod Kumar Vavilapalli)
(cherry picked from commit 429347289c7787364e654334cd84115ae40bb22d)
2016-07-14 10:21:55 -07:00
Varun Vasudev
d5d68d98c6 YARN-5303. Clean up ContainerExecutor JavaDoc. Contributed by Daniel Templeton.
(cherry picked from commit 54bf14f80bcb2cafd1d30b77f2e02cd40b9515d9)
2016-07-14 19:32:09 +05:30
Varun Vasudev
b4124c6a5a YARN-4759. Fix signal handling for docker containers. Contributed by Shane Kumpf.
(cherry picked from commit e5e558b0a34968eaffdd243ce605ef26346c5e85)
2016-07-14 19:32:00 +05:30
Varun Vasudev
abfaf0e0e7 YARN-5298. Mount usercache and NM filecache directories into Docker container. Contributed by Sidharta Seethana.
(cherry-picked from commit 58e18508018081b5b5aa7c12cc5af386146cd26b)
2016-07-14 16:48:22 +05:30
Rohith Sharma K S
356c09a509 YARN-5299. Log Docker run command when container fails. Contributed by Varun Vasudev.
(cherry picked from commit dbe97aa768e2987209811c407969fea47641418c)
2016-07-14 11:49:48 +05:30
Vinod Kumar Vavilapalli
cbd2970be7 YARN-5339. Fixed "yarn logs" to fail when a file is passed to -out option instead of a directory. Contributed by Xuan Gong.
(cherry picked from commit d18050522c5c6bd9e32eb9a1be4ffe2288624c40)
2016-07-13 14:55:44 -07:00
Vinod Kumar Vavilapalli
4a6cef8c91 YARN-5200. Enhanced "yarn logs" to be able to get a list of containers whose logs are aggregated via a "show_container_log_info" option. Contributed by Xuan Gong.
(cherry picked from commit eb471632349deac4b62f8dec853c8ceb64c9617a)
2016-07-13 10:55:18 -07:00
Rohith Sharma K S
694b4abbc0 YARN-5362. TestRMRestart#testFinishedAppRemovalAfterRMRestart can fail. Contributed by sandflee.
(cherry picked from commit d6d41e820ac7b3ba73f5e4ea1ee72715dc1ffc9f)
2016-07-13 19:15:41 +05:30
Varun Saxena
dc3e077301 YARN-5353. ResourceManager can leak delegation tokens when they are shared across apps. (Jason Lowe via Varun Saxena). 2016-07-13 07:46:00 +05:30
Robert Kanter
7aaf82d469 YARN-4366. Fix Lint Warnings in YARN Common (templedf via rkanter)
(cherry picked from commit bf6f4a3b980a07d0b268eeb984a649a362877734)
2016-07-12 15:13:00 -07:00
Jason Lowe
1f96baf4ad YARN-5317. testAMRestartNotLostContainerCompleteMsg may fail. Contributed by sandflee
(cherry picked from commit 10b704c5946afe7bfd4a6be40192ce7ca745d817)
2016-07-12 20:38:26 +00:00
Junping Du
54812841e2 New addendum to YARN-5080. Cannot obtain logs using YARN CLI -am for either KILLED or RUNNING AM.
(cherry picked from commit 7705812c7e3a9f3f774130e25443fda249c08c9c)
2016-07-12 08:32:26 -07:00
Jian He
e94e6be772 YARN-5270. Solve miscellaneous issues caused by YARN-4844. Contributed by Wangda Tan 2016-07-11 22:37:52 -07:00
Varun Saxena
5ef27b65b9 YARN-5037. Fix random failure of TestRMRestart#testQueueMetricsOnRMRestart (sandflee via Varun Saxena). 2016-07-10 22:13:53 +05:30
Junping Du
7db796562c Fix OOM issue in DistributedShell. Contributed by Jian He.
(cherry picked from commit 9bdb5bebea1183ec2f697ee3e55392df4fe697bb)
2016-07-09 05:11:29 -07:00
Varun Saxena
f515678b67 YARN-5318. Fix intermittent test failure of TestRMAdminService#testRefreshNodesResourceWithFileSystemBasedConfigurationProvider. (Jun Gong via Varun Saxena). 2016-07-09 01:43:09 +05:30
Varun Saxena
550abb53e5 YARN-5297. Avoid printing a stack trace when recovering an app after the RM restarts. (Junping Du via Varun Saxena). 2016-07-09 00:14:51 +05:30
Junping Du
5c0386d535 YARN-4939. The decommissioning Node should keep alive during NM restart. Contributed by sandflee.
(cherry picked from commit 30ee57ceb1e80c30ea3adfe7736d4d4c7d5c8386)
2016-07-08 04:15:47 -07:00
Vinod Kumar Vavilapalli
687185feb2 YARN-5314. Fixed a ConcurrentModificationException in ATS v1.5 EntityGroupFSTimelineStore. Contributed by Li Lu.
(cherry picked from commit 673e5e02feba9171498a518c06ae70639c5f8854)
2016-07-07 22:38:41 -07:00
Jian He
b7604a22e6 YARN-5233. Support for specifying a path for ATS plugin jars. Contributed by Li Lu
(cherry picked from commit 8a9d293dd60f6d51e1574e412d40746ba8175fe1)
2016-07-06 16:45:32 -07:00
Wangda Tan
e246cf74c9 YARN-5294. Pass remote ip address down to YarnAuthorizationProvider. (Jian He via wangda) 2016-07-06 16:42:35 -07:00
Vinod Kumar Vavilapalli
c3d9ac82af YARN-5224. Added new web-services /containers/{containerid}/logs & /containers/{containerid}/logs/{filename} and using them in "yarn logs" CLI to get logs of finished containers of a running application. Contributed by Xuan Gong. 2016-07-06 14:19:16 -07:00
Jian He
ccb0791904 YARN-5227. Yarn logs command: no need to specify applicationId when
specifying containerId. Contributed by Gergely Novák

(cherry picked from commit d169f5052fe83debcea7cf2f317dcd990890a857)
2016-07-06 13:29:12 -07:00
Jian He
46f8204992 YARN-5296. NMs going OutOfMemory because ContainerMetrics leak in ContainerMonitorImpl. Contributed by Junping Du
(cherry picked from commit d792a90206e940c31d1048e53dc24ded605788bf)
2016-07-05 18:06:03 -07:00
Vinod Kumar Vavilapalli
56a08983e2 YARN-5214. Fixed locking in DirectoryCollection to avoid hanging NMs when various code-paths hit slow disks. Contributed by Junping Du.
(cherry picked from commit ce9c006430d13a28bc1ca57c5c70cc1b7cba1692)
2016-07-05 16:08:57 -07:00
Varun Saxena
516aa58c1b YARN-5286. Add RPC port info in RM web service's response when getting app status. (Jun Gong via Varun Saxena). 2016-07-05 23:10:08 +05:30
Ray Chiang
fb9327edae YARN-4568. Fix message when NodeManager runs into errors initializing the recovery directory. (rchiang)
(cherry picked from commit 0a5def155eff4564b5dc7685e7460952f51bbd24)
2016-07-01 15:55:56 -07:00
Jian He
d2559ca307 YARN-5023. TestAMRestart#testShouldNotCountFailureToMaxAttemptRetry fails. Contributed by sandflee
(cherry picked from commit c35a5a7a8d85b42498e6981a6b1f09f2bdd56459)
2016-07-01 14:29:28 -07:00
Varun Saxena
4837aebca4 YARN-5282. Fix typos in CapacityScheduler documentation. (Ray Chiang via Varun Saxena). 2016-07-01 11:39:26 +05:30
Varun Saxena
527cd9852a YARN-5182. MockNodes.newNodes creates one more node per rack than requested. (Karthik Kambatla via Varun Saxena). 2016-06-30 00:06:17 +05:30
Rohith Sharma K S
d3fc1bddea YARN-5262. Optimize sending RMNodeFinishedContainersPulledByAMEvent for every AM heartbeat.
(cherry picked from commit 26b5e6116f392b6be91dca57968259f87554ce33)
2016-06-29 10:13:17 +05:30
Xuan
b7f18f2815 YARN-5266. Wrong exit code while trying to get app logs using regex via CLI. Contributed by Xuan Gong
(cherry picked from commit 6ab5aa1c1f82f81726c6daa38b3db90d8c3ad856)
2016-06-22 21:50:09 -07:00
Arun Suresh
e64d21b297 YARN-5171. Extend DistributedSchedulerProtocol to notify RM of containers allocated by the Node. (Inigo Goiri via asuresh)
(cherry picked from commit 99e5dd68d0f44109c169d74824fa45a7396a5990)
2016-06-22 19:05:28 -07:00
Sangjin Lee
2a79910c22 YARN-4958. The file localization process should allow for wildcards to reduce the application footprint in the state store (Daniel Templeton via sjlee)
(cherry picked from commit 5107a967fa2558deba11c33a326d4d2e5748f452)
2016-06-20 10:00:41 -07:00
Junping Du
ea4cab2330 YARN-5246. NMWebAppFilter web redirects drop query parameters. Contributed by Varun Vasudev.
(cherry picked from commit d0162f2040a4d98fbac51527dfc9447888cb32ab)
2016-06-19 17:45:57 -07:00