15059 Commits

Author SHA1 Message Date
Ayush Saxena
a3b9b955be HDFS-14660. [SBN Read] ObserverNameNode should throw StandbyException for requests not from ObserverProxyProvider. Contributed by Chao Sun. 2019-10-03 16:36:50 -07:00
Shweta Yakkali
c87b1f6f5b HDFS-14494. Move Server logging of StatedId inside receiveRequestState(). Contributed by Shweta Yakkali.
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
2019-10-03 16:25:31 -07:00
Chen Liang
72b37e8833 HDFS-12979. StandbyNode should upload FsImage to ObserverNode after checkpointing. Contributed by Chen Liang. 2019-10-03 12:23:25 -07:00
Jonathan Hung
842b306b76 HADOOP-16588. Update commons-beanutils version to 1.9.4 in branch-2. Contributed by Wei-Chiu Chuang and Jonathan Hung.
Signed-off-by: Masatake Iwasaki <iwasakims@apache.org>
2019-10-03 13:09:43 +09:00
Chen Liang
ed8f1ae602 HDFS-14858. [SBN read] Allow configurably enable/disable AlignmentContext on NameNode. Contributed by Chen Liang. 2019-10-02 16:51:59 -07:00
bibinchundatt
c57e6bc385 YARN-9858. Optimize RMContext getExclusiveEnforcedPartitions. Contributed by Jonathan Hung. 2019-10-01 16:13:53 +05:30
Konstantin V Shvachko
dc2b838a8e HDFS-14305. Fix serial number calculation in BlockTokenSecretManager to avoid token key ID overlap between NameNodes. Contributed by Konstantin V Shvachko. 2019-09-30 18:04:16 -07:00
Masatake Iwasaki
9482da7053 HADOOP-16544. update io.netty in branch-2.
Signed-off-by: Masatake Iwasaki <iwasakims@apache.org>
2019-10-01 05:24:32 +09:00
Ayush Saxena
66e60942e9 HDFS-14853. Addendum: NPE in DFSNetworkTopology#chooseRandomWithStorageType() when the excludedNode is not present. Contributed by Ranith Sardar. 2019-09-28 09:14:50 +05:30
Ayush Saxena
40becd37d0 HDFS-14853. NPE in DFSNetworkTopology#chooseRandomWithStorageType() when the excludedNode is not present. Contributed by Ranith Sardar. 2019-09-28 08:30:55 +05:30
Chen Liang
071d199774 HDFS-14785. [SBN read] Change client logging to be less aggressive. Contributed by Chen Liang. 2019-09-26 16:06:35 -07:00
Jonathan Hung
a0e592db5a Addendum to YARN-9730. Support forcing configured partitions to be exclusive based on app node label
(cherry picked from commit d86a1acc866cbda845fb3896dc824baf12217383)
(cherry picked from commit f4f210d2e57e49999579efb7db039cc623798267)
(cherry picked from commit 95ec7050b55490454e1de894da572a7e25374907)
2019-09-25 17:50:05 -07:00
Jonathan Hung
eedbf9d195 YARN-9730. Support forcing configured partitions to be exclusive based on app node label
(cherry picked from commit 73a044a63822303f792183244e25432528ecfb1e)
(cherry picked from commit dd094d79023f6598e47146166aa8c213e03d41b7)
(cherry picked from commit 10bdcb6f1da3b86146efa479c0bbc8d1da505789)
2019-09-24 13:51:11 -07:00
Jonathan Hung
90fbfbbe71 YARN-9762. Add submission context label to audit logs. Contributed by Manoj Kumar
(cherry picked from commit 3d78b1223d3fdc29d500803cefd2931b54f44928)
(cherry picked from commit a1fa9a8a7f79a1a711cd881b526724b502e03456)
(cherry picked from commit 6a1d2d56bd6b3cd2f535a732cc07a78ea52062f8)
2019-09-23 13:13:24 -07:00
Erik Krogen
0050f4363e HADOOP-16581. Addendum: Remove use of Java 8 functionality. Contributed by Masatake Iwasaki. 2019-09-23 08:06:27 -07:00
Yuval Degani
44193ede8d HADOOP-16581. Revise ValueQueue to correctly replenish queues that go below the watermark (#1463)
(cherry picked from dd0834696a694564af65a1355c9d13275f44df51)
(cherry picked from e31594f20ed43670a9ff1463a752d8b8e4b3b6f0)
(cherry picked from b091abc471e4dbeda697732809f0ee3db2622917)
2019-09-20 09:59:14 -07:00
Wangda Tan
727cbcb41d YARN-7410. Cleanup FixedValueResource to avoid dependency to ResourceUtils. (wangda)
(cherry picked from commit df27824b80b8eca03d02837efe2da31f089e67ec)
2019-09-19 15:27:30 -07:00
Weiwei Yang
c351230d0e YARN-7860. Fix UT failure TestRMWebServiceAppsNodelabel#testAppsRunning. Contributed by Sunil G.
(cherry picked from commit bff858e910f69991e6c75151d9b89c3e78210f16)
2019-09-19 20:25:31 +00:00
Wangda Tan
e56f2d4993 YARN-7817. Add Resource reference to RM's NodeInfo object so REST API can get non memory/vcore resource usages. (Sunil G via wangda)
Change-Id: Ia7ceeabd82046645ddeaf487c763288f36cfbdee
(cherry picked from commit e0cfb0a31a1c6ad0f9dcf0705b44229593a0915f)
2019-09-19 20:21:42 +00:00
Kihwal Lee
ca93156cc5 HADOOP-16582. LocalFileSystem's mkdirs() does not work as expected under viewfs. Contributed by Kihwal Lee
(cherry picked from commit d4205dce176287e863f567b333e0d408bf51ae6d)
2019-09-19 08:27:23 -05:00
Chen Liang
dc72b2e65a HDFS-14822. [SBN read] Revisit GlobalStateIdContext locking when getting server state id. Contributed by Chen Liang. 2019-09-18 17:22:49 -07:00
Kihwal Lee
d4038e7a39 HDFS-13959. TestUpgradeDomainBlockPlacementPolicy is flaky. Contributed by Ayush Saxena.
(cherry picked from commit 1851d06eb3b70f39f3054a7c06f0ad2bc664aaec)
2019-09-18 16:51:21 -05:00
Wei-Chiu Chuang
ac1924896a HDFS-14569. Result of crypto -listZones is not formatted properly. Contributed by hemanthboyina.
(cherry picked from 0f2dad6679b7fc35474a3d33dc40b0db89bb1d80)
(cherry picked from 9c9920897de182c3da3ad33ff53e506242bbd362)
(cherry picked from 6af1ecc8e4a4067dd4a40d0c09c8d700e6fcc539)
2019-09-18 10:31:33 -07:00
He Xiaoqiao
6fe8261fa0 HDFS-14771. Backport HDFS-14617 to branch-2 (Improve fsimage load time by writing sub-sections to the fsimage index). Contributed by He Xiaoqiao and Stephen O'Donnel.
Reviewed-by: Stephen O'Donnell <sodonnell@cloudera.com>
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
2019-09-17 09:34:54 -07:00
Ayush Saxena
b9e832bf73 HDFS-14303. Addendum: check block directory logic not correct when there is only meta file, print no meaning warn log. Contributed by qiang Liu. 2019-09-14 10:30:46 +05:30
Yi Sheng
699297e0e6 HADOOP-16555. Update commons-compress to 1.19. (#1425) Contributed by YiSheng Lien.
(cherry picked from commit 1843c4688a3040c48f6834d166494cbf68b5e4fd)

Conflicts:
	LICENSE-binary
(cherry picked from commit d39ebbfebc9da982cadfbe92f3fb6677e744622d)
(cherry picked from commit 7d7b415409901bbb0095af4e9d56aade158c1438)
2019-09-13 15:07:38 -07:00
Takanobu Asanuma
97491bfd7f HADOOP-15804. upgrade to commons-compress 1.18. Contributed by Akira Ajisaka.
(cherry picked from commit 9bd18324c7801472409d9ad69ea365aa7a33a9c4)
(cherry picked from commit bad5d81ac1472bf021463d7b6bdb166965ff021a)
2019-09-13 15:07:09 -07:00
Varun Saxena
c9a46308a1 YARN-9825. Changes for initializing placement rules with ResourceScheduler in branch-2. Contributed by Jonathan Hung. 2019-09-13 17:03:47 +05:30
Jonathan Hung
c412fab728 YARN-9824. Fall back to configured queue ordering policy class name
(cherry picked from commit f8f8598ea5e86330fa5b553963f5632da286409d)
(cherry picked from commit 1dbf87c9ff33b5e2f6cbb0ce8efd348c4314a0e2)
(cherry picked from commit d75693bd6ed4a9547f4932d41014a21de1398115)
2019-09-10 15:36:45 -07:00
Wei-Chiu Chuang
dbf921844c HADOOP-16530. Update xercesImpl in branch-2.
Signed-off-by: Masatake Iwasaki <iwasakims@apache.org>
2019-09-10 20:44:14 +09:00
Jonathan Hung
1476cf5fbd YARN-9820. RM logs InvalidStateTransitionException when app is submitted. Contributed by Prabhu Joseph 2019-09-09 00:30:20 -07:00
Jonathan Hung
d2eabbd7fd YARN-9764. Print application submission context label in application summary. Contributed by Manoj Kumar 2019-09-08 19:20:51 -07:00
Jonathan Hung
6e7dfc9981 YARN-9763. Print application tags in application summary. Contributed by Manoj Kumar 2019-09-06 10:59:14 -07:00
Jonathan Hung
fb78b7c45c YARN-9761. Allow overriding application submissions based on server side configs. Contributed by Pralabh Kumar 2019-09-06 10:03:33 -07:00
Xiaoyu Yao
c44e53e7a3
HDFS-14633. The StorageType quota and consume in QuotaFeature is not handled for rename. Contributed by Jinglun.
(cherry picked from commit 62d71fbac3789c7d484bc76ced9ec7fa6ff94de1)
2019-09-05 16:24:17 -07:00
Xiaoyu Yao
1c9255aebf
Revert "HDFS-14633. The StorageType quota and consume in QuotaFeature is not handled for rename. Contributed by Jinglun."
This reverts commit a524608d1e0a276fd822e9574f0a4a6d51298b13.
2019-09-05 16:22:15 -07:00
Jonathan Hung
6e02d8fcfb YARN-9810. Add queue capacity/maxcapacity percentage metrics. Contributed by Shubham Gupta
(cherry picked from commit 0ccf4b0fe16a8c879a560f2a612a3185eb2df72b)
(cherry picked from commit cb806988d72bde1f9837c9e0fb82a3a6c032542c)
(cherry picked from commit 37d1f8c81eeee79b1ef5ce6316afbcdbc76acd8e)
2019-09-05 14:09:08 -07:00
Ayush Saxena
ad250a8cbb HDFS-14276. [SBN read] Reduce tailing overhead. Contributed by Wei-Chiu Chuang 2019-09-05 22:05:47 +05:30
Masatake Iwasaki
3ded8ece6b HADOOP-16439. Upgrade bundled Tomcat in branch-2.
Signed-off-by: Masatake Iwasaki <iwasakims@apache.org>
2019-09-04 17:26:33 +09:00
Chen Liang
1ff68d0e47 HDFS-14611. Move handshake secret field from Token to BlockAccessToken. Contributed by Chen Liang 2019-09-03 17:18:41 -07:00
Chen Liang
163cb4d5ae HDFS-13699. Add DFSClient sending handshake token to DataNode, and allow DataNode overwrite downstream QOP. Contributed by Chen Liang. 2019-09-03 17:11:29 -07:00
Chen Liang
e63619a6dd HDFS-13617. Allow wrapping NN QOP into token in encrypted message. Contributed by Chen Liang 2019-09-03 17:11:29 -07:00
Chen Liang
a06e35a197 HDFS-13566. Add configurable additional RPC listener to NameNode. Contributed by Chen Liang. 2019-09-03 17:11:28 -07:00
Chen Liang
94d71ba3b2 HDFS-13547. Add ingress port based sasl resolver. Contributed by Chen Liang. 2019-09-03 17:11:28 -07:00
Jonathan Hung
493b36279b YARN-9806. TestNMSimulator#testNMSimulator fails in branch-2 2019-09-03 11:06:51 -07:00
Xiaoyu Yao
a524608d1e
HDFS-14633. The StorageType quota and consume in QuotaFeature is not handled for rename. Contributed by Jinglun.
(cherry picked from commit 62d71fbac3789c7d484bc76ced9ec7fa6ff94de1)
2019-09-03 08:27:23 -07:00
Akira Ajisaka
758085a87e YARN-9162. Fix TestRMAdminCLI#testHelp. Contributed by Ayush Saxena.
(cherry picked from commit 5db7c4906235dd1070b9706ca4971f1eb5d74139)
(cherry picked from commit a453f38015fec454f63e9f5459b0330ac3bc7eb3)
(cherry picked from commit 3c9d2f53175e11ae12fe5857289980ee612124a8)
2019-08-30 17:57:39 -07:00
Chen Liang
f05d87b32e HDFS-14726. Fix JN incompatibility issue in branch-2 due to backport of HDFS-10519. Contributed by Chen Liang. 2019-08-30 15:55:35 -07:00
Miklos Szegedi
655154cb45 YARN-7585. NodeManager should go unhealthy when state store throws DBException. Contributed by Wilfred Spiegelenburg.
(cherry picked from commit 7f515f57ede74dae787994f37bfafd5d20c9aa4c)
2019-08-29 19:52:36 -07:00
Wangda Tan
056b54c62c YARN-6909. Use LightWeightedResource when number of resource types more than two. (Sunil G via wangda)
Change-Id: I90e021c5dea7abd9ec6bd73b2287c8adebe14595
2019-08-29 17:02:47 -07:00