854 Commits

Author SHA1 Message Date
bibinchundatt
e49509f024 Add containerId to Localizer failed logs. Contributed by Prabhu Joseph
(cherry picked from commit dcd99c4b9a7a15649dc9823ac060ce23c6a31056)
2017-11-06 23:07:16 +05:30
Jason Lowe
b7dee1f060 YARN-7286. Add support for docker to have no capabilities. Contributed by Eric Badger
(cherry picked from commit d00b6f7c1ff2d7569ae9efdc6823ebcfb86ef2d4)

Conflicts:
	hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/linux/runtime/TestDockerContainerRuntime.java
2017-11-02 09:47:26 -05:00
Eric Yang
be7cfe57fc YARN-7412. Fix unit test for docker mount check on ubuntu. (Contributed by Eric Badger) 2017-11-01 18:45:24 -04:00
Wangda Tan
57bbdbeb80 YARN-7039. Fix javac and javadoc errors in YARN-3926 branch. (Sunil G via wangda)
Change-Id: I442bf6d838b3aba83f1f6779cf9dcf8596a2102d
(cherry picked from commit e490602e9b306d5b8a543b93fb15a7395bb9a03d)
2017-10-31 15:06:17 -07:00
Varun Vasudev
16beac12ad YARN-4830. Add support for resource types in the nodemanager. Contributed by Varun Vasudev.
(cherry picked from commit 759114b0063907d4c07ea6ee261e861bf5cc3a9a)
2017-10-31 15:06:16 -07:00
Arun Suresh
6b4319cc50 YARN-7299. Fix TestDistributedScheduler. (asuresh)
(cherry picked from commit 9c5c68745ed18883ce8bdbdca379025b23f17f60)
2017-10-27 23:15:37 -07:00
Jason Lowe
00345eed50 YARN-7244. ShuffleHandler is not aware of disks that are added. Contributed by Kuhu Shukla
(cherry picked from commit 665bb147aa3fc198e53335931562dd69f9f0e345)
2017-10-27 17:00:31 -05:00
Eric Yang
107afed848 YARN-7353. Improved volume mount check for directories and unit test compatibility on RHEL7. Contributed by Eric Badger. 2017-10-24 16:59:17 -04:00
Yufei Gu
2a0ef092d3 YARN-7261. Add debug message for better download latency monitoring. (Yufei Gu)
(cherry picked from commit 0799fde35e7f3b9e8a85284ac0b30f6bdcbffad1)
2017-10-20 10:01:52 -07:00
Wangda Tan
73cbc373e0 YARN-7345. GPU Isolation: Incorrect minor device numbers written to devices.deny file. (Jonathan Hung via wangda)
(cherry picked from commit c1b08ba720486e74461f0ec94a204c1ba4014c06)
2017-10-19 14:51:22 -07:00
Nathan Roberts
a809ce8f50 YARN-7333. container-executor fails to remove entries from a directory that is not writable or executable. Contributed by Jason Lowe.
(cherry picked from commit 8620140a6a3ec0117675ede06d92d830da3da551)
2017-10-16 16:41:42 -05:00
Arun Suresh
2fdffbd8c7 YARN-7275. NM Statestore cleanup for Container updates. (Kartheek Muthyala via asuresh)
(cherry picked from commit a50be1b8f432f50c940b66d12c7de87b95ea47c0)
2017-10-16 13:23:58 -07:00
Haibo Chen
c021c8a19f YARN-7009. TestNMClient.testNMClientNoCleanupOnStop is flaky by design. (Miklos Szegedi via Haibo Chen)
(cherry picked from commit c071aad5da6f6601978e73d38ce5813958848bc4)
2017-10-05 15:51:08 -07:00
Sunil G
6a152b3e91 YARN-7279. Fix typo in helper message of ContainerLauncher. Contributed by Elek, Marton.
(cherry picked from commit 592bf2d550a07ea5c5df3ba0ab2952c34d941b4b)
2017-10-05 10:52:49 +05:30
Akira Ajisaka
b658ae002f
YARN-6943. Update Yarn to YARN in documentation. Contributed by Chetna Chaudhari.
(cherry picked from commit c9b525bd943fe7e098e72fb9be5623862c7ab5ff)
2017-10-04 07:02:31 +09:00
Sidharta S
dcc454b4a0 YARN-7226. Whitelisted variables do not support delayed variable expansion. Contributed by Jason Lowe
(cherry picked from commit 7eb8499996869cdb63743f1c9eca2ba91d57ad08)
2017-10-02 19:32:19 -07:00
Junping Du
c3eade44d0 YARN-7072. Add a new log aggregation file format controller. Contributed by Xuan Gong.
(cherry picked from commit 3fddabc2fe4fbdb8ef3f9ce7558955c4f0794dcc)
2017-09-29 16:49:44 -07:00
Wangda Tan
cdaab892d8 YARN-6550. Capture launch_container.sh logs to a separate log file. (Suma Shivaprasad via wangda)
Change-Id: I0ee0b1bb459437432a22cf68861a6354f0decabb
(cherry picked from commit febeead5f95c6fc245ea3735f5b538d4bb4dc8a4)
2017-09-29 16:46:34 -07:00
Wangda Tan
091fc32ce8 YARN-6623. Add support to turn off launching privileged containers in the container-executor. (Varun Vasudev via wangda)
Change-Id: I76aec68cbfb42d239279d7245a03290d691e87a4
(cherry picked from commit d3b1c6319546706c41a2011ead6c3fe208883200)
2017-09-28 16:46:23 -07:00
Jason Lowe
a1e9739730 YARN-7248. NM returns new SCHEDULED container status to older clients. Contributed by Arun Suresh
(cherry picked from commit 85d81ae58ec4361a944c84753a900460a0888b9b)
2017-09-28 14:14:14 -05:00
Andrew Wang
5a4f37019a Preparing for 3.0.0 GA development 2017-09-28 11:32:01 -07:00
Arun Suresh
59453dad8c YARN-7240. Add more states and transitions to stabilize the NM Container state machine. (Kartheek Muthyala via asuresh)
(cherry picked from commit df800f6cf3ea663daf4081ebe784808b08d9366d)
2017-09-28 11:29:26 -07:00
Arun Suresh
ed855e2eef YARN-6059. Update paused container state in the NM state store. (Hitesh Sharma via asuresh)
(cherry picked from commit 66ca0a65408521d5f9b080dd16b353b49fb8eaea)
2017-09-28 11:27:43 -07:00
Arun Suresh
8eebee5094 YARN-5216. Expose configurable preemption policy for OPPORTUNISTIC containers running on the NM. (Hitesh Sharma via asuresh)
(cherry picked from commit 4f8194430fc6a69d9cc99b78828fd7045d5683e8)
2017-09-28 11:24:20 -07:00
Arun Suresh
dd51a74601 YARN-5292. NM Container lifecycle and state transitions to support for PAUSED container state. (Hitesh Sharma via asuresh)
(cherry picked from commit 864fbacd4548004b1de8b0812627976acd22aff5)
2017-09-28 11:22:58 -07:00
Jason Lowe
8526bfa19d Revert "YARN-6570. No logs were found for running application, running"
This reverts commit e91447ccc9ff438dd300e2564c251b2c4b0f369a.
2017-09-26 10:41:44 -05:00
Jason Lowe
a294bfd80e YARN-4266. Allow users to enter containers as UID:GID pair instead of by username. Contributed by luhuichun, Zhankun Tang, and Eric Badger.
(cherry picked from commit bfd1a72ba8fbb06da73fede2a85e0b544d6ab43f)
2017-09-21 17:43:51 -05:00
Junping Du
9e3313f8a1 YARN-7034. DefaultLinuxContainerRuntime and DockerLinuxContainerRuntime sends client environment variables to container-executor. Contributed by Miklos Szegedi.
(cherry picked from commit e5e1851d803bf8d8b96fec1b5c0058014e9329d0)
2017-09-21 14:06:45 -07:00
Jason Lowe
1e55972273 YARN-6968. Hardcoded absolute pathname in DockerLinuxContainerRuntime. Contributed by Eric Badger
(cherry picked from commit 10d7493587643b52cee5fde87eca9ef99c422a70)
2017-09-21 08:44:16 -05:00
Junping Du
974605c025 YARN-7186. Fix finicky TestContainerManager tests. Contributed by Arun Suresh.
(cherry picked from commit 647b7527a9cdf4717e7dcbbb660e5812b67a17f1)
2017-09-19 18:31:54 -07:00
Xuan
e91447ccc9 YARN-6570. No logs were found for running application, running
container. Contributed by Junping Du

(cherry picked from commit 7c732924a889cd280e972882619a1827877fbafa)
2017-09-18 14:05:02 -07:00
Jason Lowe
7e72be9456 YARN-7192. Add a pluggable StateMachine Listener that is notified of NM Container State changes. Contributed by Arun Suresh
(cherry picked from commit a4f9c7c9247801dd37beec6fc195622af1b884ad)
2017-09-18 10:23:22 -05:00
Yufei Gu
6362a9503d YARN-6799. Remove the duplicated code in CGroupsHandlerImp.java. (Contributed by Weiyuan via Yufei Gu)
(cherry picked from commit 5ab21dfe9c8e14585db71e02bcb021a526507f98)
2017-09-15 09:51:50 -07:00
Eric Payne
4f6e8e08dc YARN-4727. Unable to override the $HADOOP_CONF_DIR env variable for container. Contributed by Jason Lowe.
(cherry picked from commit 3860be7961580ac20dd505d665b580f0a04ac4f8)
2017-09-13 14:46:04 -05:00
Arun Suresh
783db4792c YARN-7185. [Addendum patch] Minor javadoc and checkstyle fix.
(cherry picked from commit a1c398e0dc85e424b45c50a3c3a0a784c04ed737)
2017-09-12 17:04:25 -07:00
Arun Suresh
1230b60fa6 YARN-7185. ContainerScheduler should only look at availableResource for GUARANTEED containers when OPPORTUNISTIC container queuing is enabled. (Wangda Tan via asuresh)
(cherry picked from commit 2ae72692fc370267141a1ee55ef372ff62302b54)
2017-09-12 16:38:58 -07:00
Arun Suresh
abe3085f23 YARN-6849. NMContainerStatus should have the Container ExecutionType. (Kartheek Muthyala via asuresh)
(cherry picked from commit 1f53ae79728065417c6a99eb6fcc8d3a080ab4cc)
2017-09-08 09:25:14 -07:00
Jason Lowe
7287932397 YARN-6930. Admins should be able to explicitly enable specific LinuxContainerRuntime in the NodeManager. Contributed by Shane Kumpf
(cherry picked from commit b0b535d9d5727cd84fd6368c6d1b38363616504e)
2017-09-07 16:25:41 -05:00
Allen Wittenauer
0adc3a0533
YARN-6721. container-executor should have stack checking
Signed-off-by: Chris Douglas <cdouglas@apache.org>
2017-08-31 19:39:31 -07:00
Junping Du
91cc070d67 YARN-6877. Create an abstract log reader for extendability. Contributed by Xuan Gong. 2017-08-31 16:41:43 -07:00
Allen Wittenauer
71bbb86d69
HADOOP-14670. Increase minimum cmake version for all platforms
Signed-off-by: Chris Douglas <cdouglas@apache.org>
2017-08-30 21:47:24 -07:00
Varun Saxena
3d00c8f394 Made fixes for whitespace errors and checstyle warnings before merge. 2017-08-30 11:29:54 +05:30
Jian He
08f40bcc7f MAPREDUCE-6838. [ATSv2 Security] Add timeline delegation token received in allocate response to UGI. Contributed by Varun Saxena 2017-08-30 11:29:54 +05:30
Haibo Chen
9b08f365d7 YARN-6323. Rolling upgrade/config change is broken on timeline v2. (Vrushali C via Haibo Chen) 2017-08-30 11:29:54 +05:30
Rohith Sharma K S
32188d3295 YARN-7038. [Atsv2 Security] CollectorNodemanagerProtocol RPC interface doesn't work when service authorization is enabled. Contributed by Varun Saxena. 2017-08-30 11:29:54 +05:30
Jian He
b664569586 YARN-7006. [ATSv2 Security] Changes for authentication for CollectorNodemanagerProtocol. Contributed by Varun Saxena 2017-08-30 11:29:53 +05:30
Rohith Sharma K S
7594d1de7b YARN-6130. [ATSv2 Security] Generate a delegation token for AM when app collector is created and pass it to AM via NM and RM. Contributed by Varun Saxena. 2017-08-30 11:29:53 +05:30
Haibo Chen
a8f082a180 YARN-6555. Store application flow context in NM state store for work-preserving restart. (Rohith Sharma K S via Haibo Chen)
(cherry picked from commit 47474fffac085e0e5ea46336bf80ccd0677017a3)
2017-08-30 11:29:52 +05:30
Sangjin Lee
092fead5d9 YARN-5792. Adopt the id prefix for YARN, MR, and DS entities. Contributed by Varun Saxena. 2017-08-30 11:29:51 +05:30
Varun Saxena
c92a7ab31c YARN-3359. Addendum for Recover collector list when RM fails over (Li Lu via Varun Saxena) 2017-08-30 11:29:51 +05:30