12231 Commits

Author SHA1 Message Date
Mingliang Liu
7eee4fed89 HADOOP-14512. WASB atomic rename should not throw exception if the file is neither in src nor in dst when doing the rename. Contributed by Duo Xu
(cherry picked from commit 325163f23f727e82379d4a385b73aa3a04a510f6)
2017-06-09 13:07:55 -07:00
Anu Engineer
182c3f8398 HADOOP-13737. Cleanup DiskChecker interface. Contributed by Arpit Agarwal.
(cherry picked from commit 1f384b617d101f61ac61b5b030c9cbaf8fc9a9b1)
2017-06-09 14:12:25 +05:30
Naganarasimha
cdac9a4d9d YARN-6682. Improve performance of AssignmentInformation datastructures. Contributed by Daryn Sharp. 2017-06-09 11:59:01 +05:30
John Zhuge
a86081408d HADOOP-14511. WritableRpcEngine.Invocation#toString NPE on null parameters. Contributed by John Zhuge.
(cherry picked from commit 87f4428de017e5bfc4358304728bd2281d501d52)
2017-06-08 21:31:00 -07:00
Mingliang Liu
72d895a11f HDFS-11945. Internal lease recovery may not be retried for a long time. Contributed by Kihwal Lee
(cherry picked from commit facb6812d9004ae509b2564150bbe28317a293f1)
2017-06-08 14:49:37 -07:00
wenxin he
2c12102edd
HADOOP-14208. Fix typo in the top page in branch-2.8
This closes #230

Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
2017-06-08 11:36:24 +09:00
John Zhuge
01b6c6c3b2 HDFS-11861. ipc.Client.Connection#sendRpcRequest should log request name. Contributed by John Zhuge.
(cherry picked from commit 5672ae7b37ce75086a1cb5bb9a388288fc913eb7)
2017-06-07 15:54:45 -07:00
Vinod Kumar Vavilapalli (I am also known as @tshooter.)
396de0fd8f Preparing for 2.8.3 development 2017-06-07 15:38:20 -07:00
Brahma Reddy Battula
c60516aee5 MAPREDUCE-6676. NNBench should Throw IOException when rename and delete fails. Contributed by Brahma Reddy Battula.
(cherry picked from commit 24181f559f008fc7945702c0fad7d1028f75bfc6)
2017-06-07 16:38:05 +08:00
Brahma Reddy Battula
8a16846f5d HDFS-11711. DN should not delete the block On "Too many open files" Exception. Contributed by Brahma Reddy Battula.
(cherry picked from commit fca08f8362f0332b064f28c2625fd535004ef85d)
2017-06-07 16:59:26 +08:00
Vinayakumar B
4a391c72d4 HDFS-11708. Positional read will fail if replicas moved to different DNs after stream is opened. Contributed by Vinayakumar B. 2017-06-07 10:59:04 +05:30
Arpit Agarwal
5fc4b8567b HDFS-11932. BPServiceActor thread name is not correctly set. Contributed by Chen Liang. 2017-06-06 13:52:20 -07:00
Kihwal Lee
a83d7ef605 HADOOP-14035. Reduce fair call queue backoff's impact on clients. Contributed by Daryn Sharp. 2017-06-06 13:09:54 -05:00
Christopher Douglas
d013f4134b YARN-1471. Preserve scheduler typeinfo in simulator to work with resource monitors.
Contributed by Carlo Curino. Backport by Ye Zhou.

(cherry picked from commit e07f3c87cd3542760efcf713f909375b69eec00f)
2017-06-05 16:19:55 -07:00
Kihwal Lee
1d3fa87011 HDFS-10816. TestComputeInvalidateWork#testDatanodeReRegistration fails due to race between test and replication monitor. Contributed by Eric Badger.
(cherry picked from commit e2ea6012311c927cd7bc1524f811411fda4fd6cc)
2017-06-05 15:28:01 -05:00
Kihwal Lee
9854682ea4 HADOOP-14440. Add metrics for connections dropped. Contributed by Eric Badger.
(cherry picked from commit abdd609e51a80388493417126c3bc9b1badc0ac1)
2017-06-05 11:34:40 -05:00
Karthik Kambatla
5410ec995d YARN-4927. TestRMHA#testTransitionedToActiveRefreshFail fails with FairScheduler. (Bibin A Chundatt via kasha)
(cherry picked from commit ff95fd547b3030529983fa4e701ac728c54ab63a)
2017-06-05 21:46:59 +05:30
Sunil G
34958e358b YARN-5988. RM unable to start in secure setup. Contributed by Ajith S. 2017-06-04 14:09:08 +05:30
Sunil G
13b4a6b2b9 YARN-5333. Some recovered apps are put into default queue when RM HA. Contributed by Jun Gong. 2017-06-04 10:46:47 +05:30
Xiao Chen
d946387850 HADOOP-14474. Use OpenJDK 7 instead of Oracle JDK 7 to avoid oracle-java7-installer failures. Contributed by Akira Ajisaka.
(cherry picked from commit 5e40efe0ec38f1e1228846a5448d93bf040868ff)
2017-06-02 09:30:08 -07:00
Xiao Chen
ec10a81bdb HDFS-11741. Long running balancer may fail due to expired DataEncryptionKey. Contributed by Wei-Chiu Chuang and Xiao Chen.
(cherry picked from commit 068e23b896c63b0f817e6b91d73c994be1551eb2)

Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/security/token/block/BlockTokenSecretManager.java
(cherry picked from commit 6f2391e0ad6fbaa6786cc9f0e3a09b955e0cb21c)
2017-06-01 14:05:31 -07:00
Kihwal Lee
89d59c292f HDFS-5042. Completed files lost after power failure. Contributed by Vinayakumar B. 2017-06-01 12:25:27 -05:00
Brahma Reddy Battula
0cba282261 HDFS-11893. Fix TestDFSShell.testMoveWithTargetPortEmpty failure. Contributed by Brahma Reddy Battula.
(cherry picked from commit 0dcf843c008f2b9cece8c0a0cef78140398ac464)
2017-06-01 22:40:43 +08:00
Kihwal Lee
fe6de5e594 HDFS-11856. Ability to re-add upgrading nodes to pipeline for future pipeline updates. Contributed by Vinayakumar B. 2017-05-31 13:08:51 -05:00
Nathan Roberts
1f077f45f9 YARN-6649. RollingLevelDBTimelineServer throws RuntimeException if object decoding ever fails runtime exception. Contributed by Jon Eagles.
(cherry picked from commit 4369690ce63566131aee28696bf2683a3cb20205)
2017-05-31 12:47:38 -05:00
John Zhuge
f8a3de64f8 HADOOP-14464. hadoop-aws doc header warning #5 line wrapped. Contributed by John Zhuge.
(cherry picked from commit 6c6a7a59622ba7c1e4faa5534f4479de0cd84993)
2017-05-28 22:29:49 -07:00
Arpit Agarwal
76c15121d8 HDFS-11891. DU#refresh should print the path of the directory when an exception is caught. Contributed by Chen Liang. 2017-05-26 16:03:04 -07:00
Inigo Goiri
a20789f299 Fix NPE in LazyPersistFileScrubber. Contributed by Inigo Goiri.
(cherry picked from commit 303c8dc9b6c853c0939ea9ba14388897cc258071)
2017-05-26 13:42:55 -07:00
Jason Lowe
b89d59e21e YARN-6641. Non-public resource localization on a bad disk causes subsequent containers failure. Contributed by Kuhu Shukla 2017-05-26 09:45:49 -05:00
Kihwal Lee
bbef16b84e HDFS-11817. A faulty node can cause a lease leak and NPE on accessing data. Contributed by Kihwal Lee.
(Updated TestBlockUnderConstruction for nextGenerationStamp method)
(cherry picked from commit 2cb63433abb21cd2b74bd266b70a682caf9e2d98)
2017-05-25 17:34:56 -05:00
Jason Lowe
8739c4d2f8 YARN-6643. TestRMFailover fails rarely due to port conflict. Contributed by Robert Kanter
(cherry picked from commit 3fd6a2da4e537423d1462238e10cc9e1f698d1c2)
2017-05-25 16:09:29 -05:00
Brahma Reddy Battula
4f5846f1e3 HDFS-11445. FSCK shows overall health stauts as corrupt even one replica is corrupt. Contributed by Brahma Reddy Battula.
(cherry picked from commit 7bad748091b6a5f90e919c781a915e13000e1be6)
2017-05-25 22:40:11 +08:00
Varun Vasudev
c1f3cd765f Addendum patch to fix Docker sanitization.
(cherry picked from commit 2ff2a1f50e8c7c0f33676b010b256d6c8daf912d)
(cherry picked from commit 983c4437c2b1aaafddfc97b19371cdb992389a61)
2017-05-25 14:54:17 +05:30
Akira Ajisaka
d50f240784
YARN-6141. ppc64le on Linux doesn't trigger __linux get_executable codepath. Contributed by Sonia Garudi and Ayappan.
(cherry picked from commit bc28da65fb1c67904aa3cefd7273cb7423521014)
(cherry picked from commit ca1c0cbc62b577e03ed59efb3f9050cba59be8a0)
2017-05-25 17:08:18 +09:00
Wei-Chiu Chuang
caad191c0e Revert "HDFS-10797. Disk usage summary of snapshots causes renamed blocks to get counted twice. Contributed by Sean Mackrory."
This reverts commit 998e44a972ad06b48675afac89656ffba8c4d595.
2017-05-24 18:12:03 -07:00
Wei-Chiu Chuang
6c50341ea8 Revert "HDFS-11515. -du throws ConcurrentModificationException. Contributed by Istvan Fajth, Wei-Chiu Chuang."
This reverts commit f9d3bb3b8335889b30691baca4331f6f9ed28f69.
2017-05-24 18:11:42 -07:00
Amar Kamat
425d597d48 HADOOP-7851. Configuration.getClasses() never returns the default value. (amarrk)
(cherry picked from commit 82d57ee7fee82919b42066af38063a27d0998806)
2017-05-24 17:06:26 -07:00
Brahma Reddy Battula
d9492839d0 HADOOP-14166. Reset the DecayRpcScheduler AvgResponseTime metric to zero when queue is not used. Contributed by Surendra Singh Lilhore.
(cherry picked from commit dcf4559ebdb5bb11d03b264a9875bff316b89eef)
2017-05-25 01:28:36 +08:00
Brahma Reddy Battula
cf4e6d6b1d HADOOP-14449. The ASF Header in ComparableVersion.java and SSLHostnameVerifier.java is not correct. Contributed by ZhangBing Lin.
(cherry picked from commit b7a0c0e7019528fac492e1cb32d374ed014f8673)
2017-05-25 01:09:20 +08:00
Jason Lowe
7ef01c7c49 YARN-6615. AmIpFilter drops query parameters on redirect. Contributed by Wilfred Spiegelenburg 2017-05-24 11:27:21 -05:00
Brahma Reddy Battula
462c6fb5b1 HDFS-11864. Document Metrics to track usage of memory for writes. Contributed by Yiqun Lin.
(cherry picked from commit 52661e0912a79d1e851afc2b46c941ce952ca63f)
2017-05-24 23:47:20 +08:00
Brahma Reddy Battula
a7f063576c HDFS-11849. JournalNode startup failure exception should be logged in log file. Contributed By Surendra Singh Lilhore.
(cherry picked from commit 9cab42cc797986081fef184748044f1790a4f039)
2017-05-24 23:45:57 +08:00
Yiqun Lin
94a80974d3 HDFS-11377. Balancer hung due to no available mover threads. Contributed by yunjiong zhao.
(cherry picked from commit 9cbbd1eae893b21212c9bc9e6745c6859317a667)
2017-05-22 17:11:52 -07:00
Wangda Tan
836e8f3e69 YARN-6493. Print requested node partition in assignContainer logs. (Jonathan Hung via wangda)
Change-Id: I3c5c012eb8d0887a4a37d58662bc37aac07ea86e
2017-05-22 14:57:54 -07:00
Xuan
cef5ef2377 YARN-4612. Fix rumen and scheduler load simulator handle killed tasks
properly. Contributed by Ming Ma.

(cherry picked from commit 4efdf3a979c361348612f817a3253be6d0de58f7)
2017-05-21 12:51:16 -07:00
Eric Payne
71d91d53bf YARN-6618. TestNMLeveldbStateStoreService#testCompactionCycle can fail if compaction occurs more than once. Contributed by Jason Lowe.
(cherry picked from commit 19482e0d0990feb719678d71971aa849095982fd)
2017-05-19 11:36:18 -05:00
Varun Vasudev
23bbbce63e Sanitize arguments before launching Docker containers. 2017-05-18 12:03:52 +05:30
Varun Vasudev
51e65cc710 Validate docker image name before launching container. 2017-05-18 11:53:16 +05:30
Chris Douglas
9791ecc9d8 YARN-6577. Remove unused ContainerLocalization classes. Contributed by ZhangBing Lin
(cherry picked from commit b23fcc86c670aa896151a2bd8878154d7bb45d13)
(cherry picked from commit 3d2afb209c9a296c05da4ddf62bfa69cd13b700d)
2017-05-17 20:42:27 -07:00
Chris Douglas
475b50b44c HADOOP-14434. Use MoveFileEx to allow renaming a file when the destination exists. Contributed by Lukas Majercak
(cherry picked from commit ef9e536a7137d209985d25a4769712c2db2c52bf)
(cherry picked from commit 4bb056544341726dd051353f1cc8430b801bf391)
2017-05-17 17:25:08 -07:00