Commit Graph

206 Commits

Author SHA1 Message Date
Sunil G
fa94d370b6 YARN-8869. YARN Service Client might not work correctly with RM REST API for Kerberos authentication. Contributed by Eric Yang. 2018-10-15 21:21:57 +05:30
Billie Rinaldi
aeeb0389a5 YARN-8710. Service AM should set a finite limit on NM container max retries. Contributed by Suma Shivaprasad 2018-10-11 08:59:17 -07:00
Sunil G
58fa96b697 Changed version in trunk to 3.3.0-SNAPSHOT. 2018-10-02 22:41:41 +05:30
Billie Rinaldi
d1c1dde309 YARN-8734. Readiness check for remote service belonging to the same user. Contributed by Eric Yang 2018-09-28 09:40:48 -07:00
Eric Yang
913f87dada YARN-8665. Added Yarn service cancel upgrade option.
Contributed by Chandni Singh
2018-09-26 14:51:35 -04:00
Andrew Purtell
568ebecdf4
YARN-8772. Annotation javax.annotation.Generated has moved
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
2018-09-14 15:02:52 +09:00
Eric Yang
fd089caf69 YARN-8488. Added SUCCEEDED/FAILED states to YARN service.
Contributed by Suma Shivaprasad
2018-08-28 13:55:28 -04:00
Eric Yang
e557c6bd8d YARN-8298. Added express upgrade for YARN service.
Contributed by Chandni Singh
2018-08-21 19:49:26 -04:00
Eric Yang
8990eaf592 YARN-8474. Fixed ApiServiceClient kerberos negotiation.
Contributed by Billie Rinaldi
2018-08-16 12:46:37 -04:00
Eric Yang
4cba0741d5 YARN-8160. Support upgrade of service that use docker containers.
Contributed by Chandni Singh
2018-08-14 11:36:26 -04:00
Wangda Tan
861095f761 YARN-8407. Container launch exception in AM log should be printed in ERROR level. (Yesha Vora via wangda)
Change-Id: I154e873df1df3503a09c41d6b3874ca195af91d9
2018-08-07 13:01:13 -07:00
Eric Yang
23f394240e YARN-8610. Fixed initiate upgrade error message.
Contributed by Chandni Singh
2018-08-01 20:41:43 -04:00
Eric Yang
c7ebcd76bf YARN-8579. Recover NMToken of previous attempted component data.
Contributed by Gour Saha
2018-07-31 18:01:02 -04:00
Billie Rinaldi
b429f19d32 YARN-8571. Validate service principal format prior to launching yarn service. Contributed by Eric Yang 2018-07-27 11:30:19 -07:00
Eric Yang
8d3c068e59 YARN-8429. Improve diagnostic message when artifact is not set properly.
Contributed by Gour Saha
2018-07-26 20:02:13 -04:00
Eric Yang
40fad32824 YARN-8545. Return allocated resource to RM for failed container.
Contributed by Chandni Singh
2018-07-26 18:22:57 -04:00
Eric Yang
84d7bf1eef YARN-8360. Improve YARN service restart policy and node manager auto restart policy.
Contributed by Suma Shivaprasad
2018-07-23 12:57:01 -04:00
Eric Yang
121865c3f9 YARN-8299. Added CLI and REST API for query container status.
Contributed by Chandni Singh
2018-07-16 17:41:23 -04:00
bibinchundatt
52e1bc8539 YARN-8491. TestServiceCLI#testEnableFastLaunch fail when umask is 077. Contributed by K G Bakthavachalam. 2018-07-11 16:20:29 +05:30
Eric Yang
9f15483c5d YARN-8445. Improved error message for duplicated service and component names.
Contributed by Chandni Singh
2018-06-21 11:20:24 -04:00
Eric Yang
69b0596897 YARN-8411. Restart stopped system service during RM start.
Contributed by Billie Rinaldi
2018-06-13 19:05:52 -04:00
Akira Ajisaka
652bcbb3e4
YARN-8363. Upgrade commons-lang version to 3.7 in hadoop-yarn-project. Contributed by Takanobu Asanuma. 2018-06-13 00:35:37 +09:00
Billie Rinaldi
31998643a5 YARN-8342. Enable untrusted docker image to run with launch command. Contributed by Eric Yang 2018-06-02 14:46:32 -07:00
Wangda Tan
ff583d3fa3 YARN-8349. Remove YARN registry entries when a service is killed by the RM. (Billie Rinaldi via wangda)
Change-Id: Ia58db3637789a8921482f564aa9bdf99c45cc36c
2018-06-01 14:49:18 -07:00
Eric Yang
7dd26d5378 YARN-8308. Fixed YARN Service AM failure with HDFS token renewal.
Contributed by Gour Saha
2018-05-31 21:09:36 -04:00
Billie Rinaldi
778a4a24be YARN-8350. NPE in service AM related to placement policy. Contributed by Gour Saha 2018-05-30 13:19:13 -07:00
Billie Rinaldi
96eefcc84a YARN-8368. yarn app start cli should print applicationId. Contributed by Rohith Sharma K S 2018-05-30 12:37:43 -07:00
Wangda Tan
3061bfcde5 YARN-8339. Service AM should localize static/archive resource types to container working directory instead of 'resources'. (Suma Shivaprasad via wangda)
Change-Id: I9f8e8f621650347f6c2f9e3420edee9eb2f356a4
2018-05-29 09:23:11 -07:00
Eric Yang
d9852eb589 YARN-8357. Fixed NPE when YARN service is saved and not deployed.
Contributed by Chandni Singh
2018-05-24 16:32:13 -04:00
Eric Yang
a23ff8d880 YARN-7530. Refactored YARN service API project location.
Contributed by Chandni Singh
2018-05-18 17:29:10 -04:00
Eric Yang
989cfdc1e0 YARN-8141. Removed YARN_CONTAINER_RUNTIME_DOCKER_LOCAL_RESOURCE_MOUNTS flag.
Contributed by Chandni Singh
2018-05-17 20:56:04 -04:00
Eric Yang
d45a0b7d73 YARN-8141. Removed YARN_CONTAINER_RUNTIME_DOCKER_LOCAL_RESOURCE_MOUNTS flag.
Contributed by Chandni Singh
2018-05-17 17:29:34 -04:00
Eric Yang
7f083ed869 YARN-8080. Add restart policy for YARN services.
Contributed by Suma Shivaprasad
2018-05-17 17:16:50 -04:00
Eric Yang
91357c22ef YARN-8300. Fixed NPE in DefaultUpgradeComponentsFinder.
Contributed by Suma Shivaprasad
2018-05-16 12:38:26 -04:00
Eric Yang
8d3b39de89 YARN-8081. Add support to upgrade a component.
Contributed by Chandni Singh
2018-05-15 20:40:39 -04:00
Sunil G
58b97c79e3 YARN-8236. Invalid kerberos principal file name cause NPE in native service. Contributed by Gour Saha. 2018-05-15 12:17:35 +05:30
Eric Yang
0ff94563b9 YARN-8265. Improve DNS handling on docker IP changes.
Contributed by Billie Rinaldi
2018-05-11 22:37:43 -07:00
Jason Lowe
6c8e51ca7e YARN-7654. Support ENTRY_POINT for docker container. Contributed by Eric Yang 2018-05-11 18:56:05 -05:00
Billie Rinaldi
ca612e353f YARN-8243. Flex down should remove instance with largest component instance ID first. Contributed by Gour Saha 2018-05-11 12:49:05 -07:00
Billie Rinaldi
6795f8072f YARN-8079. Support static and archive unmodified local resources in service AM. Contributed by Suma Shivaprasad 2018-05-04 09:27:07 -07:00
Eric Yang
24eeea8b18 YARN-7799. Improved YARN service jar file handling.
Contributed by Billie Rinaldi
2018-05-01 16:46:34 -04:00
Eric Yang
24a5ccbf4b YARN-7781. Update YARN service documentation.
Contributed by Gour Saha
2018-04-27 12:38:30 -04:00
Eric Yang
14b47990af YARN-8204. Added a flag to disable YARN service upgrade.
Contributed by Chandni Singh
2018-04-27 12:24:43 -04:00
Billie Rinaldi
914d6b5cb1 YARN-8208. Add log statement for Docker client configuration file at INFO level. Contributed by Yesha Vora 2018-04-27 06:10:32 -07:00
Eric Yang
93979db840 YARN-8122. Added component health monitoring for YARN service.
Contributed by Gour Saha
2018-04-26 19:17:32 -04:00
Eric Yang
4a7369b095 YARN-7939. Added support to upgrade a component instance.
Contributed by Chandni Singh
2018-04-26 13:54:40 -07:00
Konstantinos Karanasos
28e2244390 YARN-8111. Simplify PlacementConstraints API by removing allocationTagToIntraApp. Contributed by Weiwei Yang. 2018-04-20 12:24:48 -07:00
Jason Lowe
1d6e43da51 YARN-7996. Allow user supplied Docker client configurations with YARN native services. Contributed by Shane Kumpf 2018-04-17 08:57:31 -05:00
Sunil G
427ad7ecc4 YARN-8126. Support auto-spawning of admin configured services during bootstrap of RM. Contributed by Rohith Sharma K S. 2018-04-17 15:08:31 +05:30
Eric Yang
2d0662cfd5 YARN-8060. Added default readiness check for service components.
Contributed by Billie Rinaldi
2018-04-16 14:24:26 -04:00
Eric Yang
9031a76d44 YARN-8142. Improve SIGTERM handling for YARN Service Application Master.
Contributed by Billie Rinaldi
2018-04-13 15:34:33 -04:00
Billie Rinaldi
53b3e59473 YARN-7936. Add default service AM Xmx. Contributed by Jian He 2018-04-12 12:38:00 -07:00
Rohith Sharma K S
c048711099 YARN-7941. Transitive dependencies for component are not resolved. Contributed by Billie Rinaldi. 2018-04-11 09:18:50 +05:30
Eric Yang
d553799030 YARN-7984. Improved YARN service stop/destroy and clean up.
Contributed by Billie Rinaldi
2018-04-10 17:40:49 -04:00
Wangda Tan
d4e63ccca0 YARN-8048. Support auto-spawning of admin configured services during bootstrap of RM (Rohith Sharma K S via wangda)
Change-Id: I2d8d61ccad55e1118009294d7e17822df3cd0fd5
2018-04-06 21:24:58 -07:00
Wangda Tan
a0bde7d525 YARN-7142. Support placement policy in yarn native services. (Gour Saha via wangda)
Change-Id: I166c67a7a34430627c17365f60bac75b6da1b434
2018-04-02 07:26:01 -07:00
Eric Yang
27d60a1634 YARN-8018. Added support for initiating yarn service upgrade.
Contributed by Chandni Singh
2018-03-26 18:46:31 -04:00
Eric Yang
647058efc0 YARN-8032. Added ability to configure failure validity interval for YARN service.
Contributed by Chandni Singh
2018-03-23 15:54:52 -04:00
fang zhenyi
5e013d50d1
HADOOP-15305. Replace FileUtils.writeStringToFile(File, String) with (File, String, Charset) to fix deprecation warnings.
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
2018-03-15 16:12:07 +09:00
Billie Rinaldi
e1f5251f3c YARN-7523. Introduce description and version field in Service record. Contributed by Chandni Singh 2018-03-10 07:49:10 -08:00
Billie Rinaldi
4f395063bb YARN-8000. Yarn Service component instance name shows up as component name in container record. Contributed by Chandni Singh 2018-03-09 08:50:28 -08:00
Billie Rinaldi
5ed689e33a YARN-7958. ServiceMaster should only wait for recovery of containers with id that match the current application id. Contributed by Chandni Singh 2018-03-01 08:00:13 -08:00
Eric Yang
17f387e3c2 YARN-7985. Removed duplicate service name validation in Yarn Service.
Contributed by Chandni Singh
2018-02-28 20:48:55 -05:00
Billie Rinaldi
315f48e791 YARN-7955. Improve result of calling stop on an already stopped service. Contributed by Gour Saha 2018-02-28 15:01:56 -08:00
Billie Rinaldi
31009034bd YARN-7954. Set component status to STOPPED when YARN service is stopped. Contributed by Gour Saha 2018-02-28 11:57:24 -08:00
Eric Yang
b4f1ba1413 YARN-7963. Updated MockServiceAM unit test to prevent test hang.
Contributed by Chandni Singh
2018-02-26 18:49:01 -05:00
Wangda Tan
60f9e60b3b Preparing for 3.2.0 development
Change-Id: I6d0e01f3d665d26573ef2b957add1cf0cddf7938
2018-02-11 11:17:38 +08:00
Eric Yang
0bee3849e3 YARN-7816. Allow same application name submitted by multiple users. (Contributed by Gour Saha) 2018-01-31 20:51:40 -05:00
Eric Yang
f9dd5b61f4 YARN-7811. Fixed a bug in user defined docker network settings. (Contributed by Billie Rinaldi) 2018-01-30 12:42:38 -05:00
Billie Rinaldi
0c559b2782 YARN-7777. Fix user name format in YARN Registry DNS name. Contributed by Jian He 2018-01-24 13:50:47 -08:00
Billie Rinaldi
e307edcb47 YARN-7540 and YARN-7605. Convert yarn app cli to call yarn api services and implement doAs for Api Service REST API. Contributed by Eric Yang and Jian He 2018-01-23 17:54:39 -08:00
Jian He
a72cdcc47a YARN-7766. Introduce a new config property for YARN Service dependency tarball location. Contributed by Gour Saha 2018-01-23 10:53:27 -08:00
Billie Rinaldi
37f4696a9c YARN-7740. Fix logging for destroy yarn service cli when app does not exist and some minor bugs. Contributed by Jian He 2018-01-18 12:11:19 -08:00
Billie Rinaldi
53f2768926 YARN-7724. yarn application status should support application name. Contributed by Jian He 2018-01-12 15:33:46 -08:00
Jian He
c05b84703b YARN-7671. Improve Diagonstic message for stop yarn native service. Contributed by Chandni Singh 2018-01-12 14:04:15 -08:00
Jian He
836e3c45e8 Revert "YARN-7540. Route YARN service CLI function through YARN Service API. (Contributed by Eric Yang)"
This reverts commit 438c1d333e.
2018-01-05 18:25:00 -08:00
Wangda Tan
7467e8fe5a YARN-7555. Support multiple resource types in YARN native services. (wangda)
Change-Id: I330e6ee17a73962dcaadd766a3e72d2888681731
2017-12-29 15:34:08 -08:00
Eric Yang
41b581012a YARN-7616. Map YARN application status to Service Status more accurately. (Contributed by Gour Saha) 2017-12-19 19:14:45 -05:00
Eric Yang
989c75109a YARN-7543. Add check for max cpu limit and missing file for YARN service.
(Contributed by Jian He)
2017-12-19 16:45:04 -05:00
Eric Yang
438c1d333e YARN-7540. Route YARN service CLI function through YARN Service API. (Contributed by Eric Yang) 2017-12-13 19:29:04 -05:00
Jian He
3ebe6a7819 YARN-7565. Yarn service pre-maturely releases the container after AM restart. Contributed by Chandni Singh 2017-12-12 13:35:56 -08:00
Eric Yang
d30d57828f YARN-6669. Implemented Kerberos security for YARN service framework. (Contributed by Jian He) 2017-12-04 15:11:00 -05:00
Billie Rinaldi
6f9d7a146d YARN-7529. TestYarnNativeServices#testRecoverComponentsAfterRMRestart() fails intermittently. Contributed by Chandni Singh 2017-11-20 07:37:04 -08:00
Eric Yang
0940e4f692 YARN-7218. Decouple YARN Services REST API namespace from RM. (Contributed by Eric Yang) 2017-11-17 12:28:12 -05:00
Jian He
6bf2c30192 YARN-7503. Configurable heap size / JVM opts in service AM. Contributed by Jonathan Hung 2017-11-16 10:53:55 -08:00
Billie Rinaldi
f4d5d20286 YARN-7486. Race condition in service AM that can cause NPE. Contributed by Jian He 2017-11-16 07:58:06 -08:00
Jian He
4f40cd314a YARN-7488. Make ServiceClient.getAppId method public to return ApplicationId for a service name. Contributed by Gour Saha 2017-11-13 18:57:56 -08:00
Jian He
a55d0738f1 YARN-7371. Added allocateRequestId in NMContainerStatus for recovery. Contributed by Chandni Singh 2017-11-06 13:30:20 -08:00
Billie Rinaldi
a127f7b0fb YARN-7423. Improve service client loggings. Contributed by Jian He 2017-11-06 13:30:20 -08:00
Billie Rinaldi
a6c4bd74b6 YARN-6394. Support specifying YARN related params in the service REST API. Contributed by Jian He 2017-11-06 13:30:20 -08:00
Jian He
ba7ed7b66a YARN-7384. Remove apiserver cmd and merge service cmd into application cmd. Contributed by Billie Rinaldi 2017-11-06 13:30:19 -08:00
Billie Rinaldi
68acd88dcb YARN-7323. Data structure update in service REST API. Contributed by Jian He 2017-11-06 13:30:18 -08:00
Jian He
b57144a172 YARN-7202. Add UT for api-server. Contributed by Eric Yang 2017-11-06 13:30:18 -08:00
Jian He
b8a7ef1b64 YARN-6744. Recover component information on YARN native services AM restart. Contributed by Billie Rinaldi 2017-11-06 13:30:18 -08:00
Jian He
c723021579 YARN-6626. Embed REST API service into RM. Contributed by Eric Yang 2017-11-06 13:30:17 -08:00
Jian He
673c0db43c Revert "YARN-6626. Embed REST API service into RM. Contributed by Eric Yang"
This reverts commit 63d1084e9781e0fee876916190b69f6242dd00e4.
2017-11-06 13:30:17 -08:00
Jian He
9e677fa05c YARN-6626. Embed REST API service into RM. Contributed by Eric Yang 2017-11-06 13:30:17 -08:00
Jian He
c70e5df100 YARN-7201. Added an apache httpd example YARN service. Contributed by Billie Rinaldi 2017-11-06 13:30:16 -08:00
Billie Rinaldi
ce74e64363 YARN-7210. Some NPE fixes in Registry DNS. Contributed by Jian He 2017-11-06 13:30:16 -08:00
Billie Rinaldi
37c9b7327d YARN-7186. Add examples in yarn-service. Contributed by Jian He 2017-11-06 13:30:16 -08:00
Jian He
307d55b3e1 Rebased onto trunk - fix conflicts 2017-11-06 13:30:15 -08:00
Gour Saha
541b64c798 YARN-7165. Miscellaneous fixes in yarn-native-services. Contributed by Jian He 2017-11-06 13:30:15 -08:00
Jian He
eed9e3e8f4 Rebase onto trunk - fix some issues. Contributed by Rohith Sharma K S 2017-11-06 13:30:14 -08:00
Jian He
59fe98cd50 YARN-7100. Added JsonIgnore annotation to Resource#getMemoryMB. Contributed by Eric Yang 2017-11-06 13:30:13 -08:00
Jian He
fecf22b2fd YARN-7113. Clean up packaging and dependencies for yarn-native-services. Contributed by Billie Rinaldi 2017-11-06 13:30:13 -08:00
Billie Rinaldi
40ab068eab YARN-7091. Rename application to service in yarn-native-services. Contributed by Jian He 2017-11-06 13:30:13 -08:00