14822 Commits

Author SHA1 Message Date
Inigo Goiri
c8f183edd3 HDFS-13637. RBF: Router fails when threadIndex (in ConnectionPool) wraps around Integer.MIN_VALUE. Contributed by CR Hota.
(cherry picked from commit e11d67404945d80db2eb8a99453606419dbdc938)
2018-06-01 17:01:02 -07:00
Chao Sun
87e805ba4d HDFS-13602. Add checkOperation(WRITE) checks in FSNamesystem. Contributed by Chao Sun.
(cherry picked from commit ff013d2c952272f3176dcf624251b05d610503b5)
2018-05-31 17:44:39 -07:00
Inigo Goiri
6b9ef2d5b7 HDFS-13632. Randomize baseDir for MiniJournalCluster in MiniQJMHACluster for TestDFSAdminWithHA. Contributed by Anbang Hu. 2018-05-30 10:10:25 -07:00
Yiqun Lin
cb962139ee HDFS-13626. Fix incorrect username when deny the setOwner operation. Contributed by Zsolt Venczel. 2018-05-30 16:55:39 +08:00
Kihwal Lee
6d7d192e47 Additional check when unpacking archives. Contributed by Wilfred Spiegelenburg.
(cherry picked from commit 65e55097da2bb3f2fbdf9ba1946da25fe58bec98)
2018-05-29 14:33:31 -05:00
Inigo Goiri
09fbbff695 HADOOP-15497. TestTrash should use proper test path to avoid failing on Windows. Contributed by Anbang Hu.
(cherry picked from commit 3c75f8e4933221fa60a87e86a3db5e4727530b6f)
2018-05-29 09:12:47 -07:00
Inigo Goiri
0fc8b43dc8 HADOOP-15498. TestHadoopArchiveLogs (#testGenerateScript, #testPrepareWorkingDir) fails on Windows. Contributed by Anbang Hu.
(cherry picked from commit 595b44e2dc3baa3b349768db2dca4d93158a44bf)
2018-05-28 16:48:19 -07:00
Inigo Goiri
86736cb279 HDFS-13591. TestDFSShell#testSetrepLow fails on Windows. Contributed by Anbang Hu.
(cherry picked from commit 9dbf4f01665d5480a70395a24519cbab5d4db0c5)
2018-05-28 16:36:06 -07:00
Karthik Palanisamy
961c0461fe
HADOOP-15449. Increase default timeout of ZK session to avoid frequent NameNode failover
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 61df174e8b3d582183306cabfa2347c8b96322ff)
2018-05-28 19:43:03 +09:00
Inigo Goiri
27091d2d16 HDFS-13620. Randomize the test directory path for TestHDFSFileSystemContract. Contributed by Anbang Hu. 2018-05-25 19:48:16 -07:00
Xiao Chen
fe32d65211 HADOOP-15473. Configure serialFilter in KeyProvider to avoid UnrecoverableKeyException caused by JDK-8189997. Contributed by Gabor Bota.
(cherry picked from commit 02322de3f95ba78a22c057037ef61aa3ab1d3824)
2018-05-25 09:42:16 -07:00
Inigo Goiri
1542484161 HDFS-13618. Fix TestDataNodeFaultInjector test failures on Windows. Contributed by Xiao Liang.
(cherry picked from commit a8e9ee3fdf3aa1b889dfdd3bade91ba754ed9ee1)
2018-05-25 09:12:44 -07:00
Miklos Szegedi
81ee9938c5 YARN-8310. Handle old NMTokenIdentifier, AMRMTokenIdentifier, and ContainerTokenIdentifier formats. Contributed by Robert Kanter. 2018-05-24 15:50:17 -07:00
Wangda Tan
911852e932 YARN-8068. Application Priority field causes NPE in app timeline publish when Hadoop 2.7 based clients to 2.8+ (Sunil G via wangda)
Change-Id: I7910bd1064a1b4dbbe2084080c060822ea6f3b48
(cherry picked from commit 9eef19b2ad78b8464da252d0e23c08675898b9d8)
2018-05-24 13:05:23 -05:00
Andrew Wang
097347c857 HDFS-13611. Unsafe use of Text as a ConcurrentHashMap key in PBHelperClient.
(cherry picked from commit c9b63deb533274ca8ef4939f6cd13f728a067f7b)
2018-05-24 09:56:54 -07:00
Rohith Sharma K S
b0b32988d9 YARN-8346. Upgrading to 3.1 kills running containers with error 'Opportunistic container queue is full'. Contributed by Jason Lowe.
(cherry picked from commit 4cc0c9b0baa93f5a1c0623eee353874e858a7caa)
2018-05-24 12:27:18 +05:30
Inigo Goiri
aa3b20b762 YARN-8327. Fix TestAggregatedLogFormat#testReadAcontainerLogs1 on Windows. Contributed by Giovanni Matteo Fumarola.
(cherry picked from commit f09dc73001fd5f3319765fa997f4b0ca9e8f2aff)
2018-05-23 16:01:37 -07:00
Inigo Goiri
8f43ade46a YARN-8344. Missing nm.stop() in TestNodeManagerResync to fix testKillContainersOnResync. Contributed by Giovanni Matteo Fumarola.
(cherry picked from commit e99e5bf104e9664bc1b43a2639d87355d47a77e2)
2018-05-23 14:17:20 -07:00
Inigo Goiri
c5ff9553fb HDFS-13587. TestQuorumJournalManager fails on Windows. Contributed by Anbang Hu.
(cherry picked from commit c13dea87d9de7a9872fc8b0c939b41b1666a61e5)
2018-05-23 11:37:55 -07:00
Arpit Agarwal
50c39db1ad HADOOP-15486. Make NetworkTopology#netLock fair. Contributed by Nanda kumar. 2018-05-23 10:30:48 -07:00
Inigo Goiri
411a2f609b HDFS-13588. Fix TestFsDatasetImpl test failures on Windows. Contributed by Xiao Liang. 2018-05-23 09:48:35 -07:00
Akira Ajisaka
cedc28d4ab
Additional check when unpacking archives. Contributed by Jason Lowe and Akira Ajisaka. 2018-05-23 17:20:20 +09:00
Andrew Wang
0f0d29a8d1 HDFS-13601. Optimize ByteString conversions in PBHelper. 2018-05-22 23:58:11 -07:00
Kihwal Lee
5dcd57cbea HADOOP-15450. Avoid fsync storm triggered by DiskChecker and handle disk full situation. Contributed by Arpit Agarwal.
(cherry picked from commit bcc8e76badc1341a6cf995c8e44fa5e422158de8)
2018-05-22 11:29:54 -05:00
Wangda Tan
777743beb6 YARN-8232. RMContainer lost queue name when RM HA happens. (Hu Ziqian via wangda)
Change-Id: Ia21e1da6871570c993bbedde76ce32929e95970f
(cherry picked from commit 6b96a73bb0f0ad1c877a062b19091e3e15a33ec4)
2018-05-22 10:34:43 -05:00
Arun Suresh
113e2d6801 YARN-7900. [AMRMProxy] AMRMClientRelayer for stateful FederationInterceptor. (Botong Huang via asuresh) 2018-05-21 11:26:32 -07:00
Rushabh Shah
734cbdd6b2 Skip the proxy user check if the ugi has not been initialized. Contributed by Daryn Sharp
(cherry picked from commit 73e9120ad79c73703de21e0084591861813f3279)
2018-05-21 12:53:54 -05:00
Steve Loughran
e2d32bd9c5 HADOOP-15478. WASB: hflush() and hsync() regression.
Contributed by Thomas Marquardt.

(cherry picked from commit ba842847c94d31d3f737226d954c566b5d88656b)
2018-05-21 11:13:57 +01:00
Inigo Goiri
8f45d119a1 HDFS-13590. Backport HDFS-12378 to branch-2. Contributed by Lukas Majercak. 2018-05-18 11:07:12 -07:00
Inigo Goiri
1af41dadc2 HDFS-13593. TestBlockReaderLocalLegacy#testBlockReaderLocalLegacyWithAppend fails on Windows. Contributed by Anbang Hu.
(cherry picked from commit 9775ecb2355d7bed3514fcd54bf69e8351c4ab99)
2018-05-18 09:47:50 -07:00
Inigo Goiri
b0e0ec1648 HDFS-13592. TestNameNodePrunesMissingStorages#testNameNodePrunesUnreportedStorages does not shut down cluster properly. Contributed by Anbang Hu.
(cherry picked from commit 57b893de3d36d20f65ee81b5cc3cfef12594b75b)
2018-05-18 09:40:10 -07:00
Inigo Goiri
c4d4ae62cb HDFS-13586. Fsync fails on directories on Windows. Contributed by Lukas Majercack.
(cherry picked from commit 8783613696674aba4ae1739c6e8f48cda0d1c386)
2018-05-17 19:28:28 -07:00
Inigo Goiri
a5ec44c655 HDFS-13560. Insufficient system resources exist to complete the requested service for some tests on Windows. Contributed by Anbang Hu.
(cherry picked from commit 53b807a6a8486cefe0b036f7893de9f619bd44a1)
2018-05-17 17:04:59 -07:00
Inigo Goiri
6df8fa1bc9 HDFS-13556. TestNestedEncryptionZones does not shut down cluster. Contributed by Anbang Hu.
(cherry picked from commit a97a2042f210e9db97646baad6f56064d672f447)
2018-05-17 16:55:01 -07:00
Inigo Goiri
315ffd1ada HDFS-13554. TestDatanodeRegistration#testForcedRegistration does not shut down cluster. Contributed by Anbang Hu.
(cherry picked from commit 65476458fa05656010809be632356e4015b59a17)
2018-05-17 14:49:37 -07:00
Inigo Goiri
b87cd6354b HDFS-13558. TestDatanodeHttpXFrame does not shut down cluster. Contributed by Anbang Hu.
(cherry picked from commit 26f1e22fc9ee326e9c76503d347552faeb6c2d3b)
2018-05-17 13:36:53 -07:00
Inigo Goiri
33dfbed8d2 HDFS-13570. TestQuotaByStorageType,TestQuota,TestDFSOutputStream fail on Windows. Contributed by Anbang Hu.
(cherry picked from commit c0ec061e280c0d3e5299c0735c8b8697e0f31216)
2018-05-17 09:23:11 -07:00
Kihwal Lee
033b25cbe9 HDFS-13581. DN UI logs link is broken when https is enabled. Contributed by Shashikant Banerjee.
(cherry picked from commit 0ce6290de6a08beab01cb5184d366d97c9abd811)
2018-05-17 09:29:08 -05:00
Inigo Goiri
d2a3bd1430 HDFS-13559. TestBlockScanner does not close TestContext properly. Contributed by Anbang Hu.
(cherry picked from commit 454de3b543c8b00a9ab566c7d1c64d7e4cffee0f)
2018-05-16 19:24:36 -07:00
Inigo Goiri
9c96822096 HDFS-13550.TestDebugAdmin#testComputeMetaCommand fails on Windows. Contributed by Anbang Hu.
(cherry picked from commit 55d5549087183cb9c8d805e33267acabe9537667)
2018-05-16 10:10:37 -07:00
Inigo Goiri
d163f72310 HDFS-13557. TestDFSAdmin#testListOpenFiles fails on Windows. Contributed by Anbang Hu. 2018-05-16 09:33:16 -07:00
Sunil G
19cf706711 YARN-8249. Few REST api's in RMWebServices are missing static user check. Contributed by Sunil G. 2018-05-16 12:18:25 +05:30
Inigo Goiri
3d48a895a6 HDFS-13567. TestNameNodeMetrics#testGenerateEDEKTime,TestNameNodeMetrics#testResourceCheck should use a different cluster basedir. Contributed by Anbang Hu.
(cherry picked from commit 63480976a008bab0b84f4da08b1099867e5a9a6b)
2018-05-15 15:36:58 -07:00
Inigo Goiri
cdb80d6dcb HDFS-13548. TestResolveHdfsSymlink#testFcResolveAfs fails on Windows. Contributed by Anbang Hu.
(cherry picked from commit 2d6195c0af4a1840172899ce70bca4ca549eb713)
2018-05-15 11:22:41 -07:00
Inigo Goiri
cc9203615a HDFS-11700. TestHDFSServerPorts#testBackupNodePorts doesn't pass on Windows. Contributed by Anbang Hu.
(cherry picked from commit eaca7980ad2a750f6b0025a706062740c2ddded2)
2018-05-15 10:29:44 -07:00
Inigo Goiri
4ae1ed5b17 HDFS-13551. TestMiniDFSCluster#testClusterSetStorageCapacity does not shut down cluster. Contributed by Anbang Hu.
(cherry picked from commit 92ebd466c75275118107e6ec665cf50e337a29e7)
2018-05-15 10:23:28 -07:00
Haibo Chen
e28af8b0eb YARN-8130 Race condition when container events are published for KILLED applications. (Rohith Sharma K S via Haibo Chen)
(cherry picked from commit 2d00a0c71b5dde31e2cf8fcb96d9d541d41fb879)
2018-05-15 11:58:56 +05:30
Hanisha Koneru
c998c126b8 HDFS-13544. Improve logging for JournalNode in federated cluster.
(cherry picked from commit 6beb25ab7e4f5454dba0315a296081e61753f301)
2018-05-14 10:21:59 -07:00
Sammi Chen
eabc588d22 Add 2.9.1 release notes and changes documents 2018-05-14 15:36:30 +08:00
Vrushali C
c2b05339cf YARN-8247 Incorrect HTTP status code returned by ATSv2 for non-whitelisted users. Contributed by Rohith Sharma K S
(cherry picked from commit 3c95ca4f21dcfcaabdd0694e7d005a45baba953f)
2018-05-14 11:30:00 +05:30