20925 Commits

Author SHA1 Message Date
Takanobu Asanuma
732a68cfb4 HDFS-14879. Header was wrong in Snapshot web UI. Contributed by hemanthboyina
(cherry picked from commit b23bdaf085dbc561c785cef1613bacaf6735d909)
2019-10-04 16:48:50 +09:00
Stephen O'Donnell
966193153f HDFS-14637. Namenode may not replicate blocks to meet the policy after enabling upgradeDomain. Contributed by Stephen O'Donnell.
Reviewed-by: Ayush Saxena <ayushsaxena@apache.org>
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit c99a12167ff9566012ef32104a3964887d62c899)

 Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestBlocksWithNotEnoughRacks.java
	hadoop-tools/hadoop-dynamometer/hadoop-dynamometer-infra/src/main/java/org/apache/hadoop/tools/dynamometer/BlockPlacementPolicyAlwaysSatisfied.java
2019-10-03 22:18:29 -07:00
Tsz Wo Nicholas Sze
8acd9ab695 HADOOP-16127. In ipc.Client, put a new connection could happen after stop.
(cherry picked from commit 9192f71e21847ad86bc9ff23847d8957dfe8ae58)
2019-10-03 18:28:21 -07:00
Inigo Goiri
94af96325c HDFS-14850. Optimize FileSystemAccessService#getFileSystemConfiguration. Contributed by Lisheng Sun.
(cherry picked from commit d8313b227495d748abe8884eee34db507476cee1)
2019-10-03 18:21:46 -07:00
Wei-Chiu Chuang
6facb3f7c6 HADOOP-12282. Connection thread's name should be updated after address changing is detected. Contributed by Lisheng Sun.
(cherry picked from commit b94eba9f11af66b10638dd255c224e946d842b8c)
2019-10-03 17:30:08 -07:00
Inigo Goiri
21a89d544f HDFS-14624. When decommissioning a node, log remaining blocks to replicate periodically. Contributed by Stephen O'Donnell.
(cherry picked from commit 5747f6cff54f79de0e6439d6c77c2ed437989f10)
2019-10-03 17:27:44 -07:00
Shashikant Banerjee
f14fb9081f HDFS-14499. Misleading REM_QUOTA value with snapshot and trash feature enabled for a directory. Contributed by Shashikant Banerjee.
(cherry picked from commit f9fab9f22a53757f8081e8224e0d4b557fe6a0e2)
2019-10-03 17:27:06 -07:00
Vinayakumar B
4e223d9968 HDFS-14113. EC : Add Configuration to restrict UserDefined Policies. Contributed by Ayush Saxena.
(cherry picked from commit c03024a5305bea1a40c87a4abc0793802bea5c75)
2019-10-03 17:15:45 -07:00
Kitti Nanasi
cb701f4da0 HDFS-14187. Make warning message more clear when there are not enough data nodes for EC write. Contributed by Kitti Nanasi.
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 0ab7fc92009fec2f0ab341f3d878e1b8864b8ea9)
2019-10-03 16:18:23 -07:00
Shweta Yakkali
eaf09e51ba HDFS-14262. [SBN read] Make Log.WARN message in GlobalStateIdContext more informative. Contributed by Shweta Yakkali. 2019-10-03 16:13:44 -07:00
Ayush Saxena
ebd7a0f155 HDFS-14660. [SBN Read] ObserverNameNode should throw StandbyException for requests not from ObserverProxyProvider. Contributed by Chao Sun. 2019-10-03 16:00:38 -07:00
Shweta Yakkali
3186afa24c 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 15:58:00 -07:00
Ayush Saxena
9a9edfa87e HDFS-14849. Erasure Coding: the internal block is replicated many times when datanode is decommissioning. Contributed by HuangTao.
(cherry picked from commit c4c8d5fd0e3c17ccdcf18ece8e005f510328b060)
2019-10-03 14:56:09 -07:00
HUAN-PING SU
f2be3e92b1 HADOOP-16542. Update commons-beanutils version to 1.9.4. Contributed by kevin su.
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 38c1a10024476ae78975e4dc7d27a1524722b79d)
2019-10-02 22:00:40 -07:00
Chen Liang
05a1eb788f HDFS-12979. [SBN read] StandbyNode should upload FsImage to ObserverNode after checkpointing. Contributed by Chen Liang. 2019-10-02 21:12:54 -07:00
LeonGao91
885dd17595 HDFS-14678. Allow triggerBlockReport to a specific namenode. (#1252). Contributed by Leon Gao.
(cherry picked from commit 9a1d8cfaf50ec29ffb2d8522ba2f4bc6605d8b8b)

 Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestTriggerBlockReport.java
2019-10-02 17:35:33 -07:00
Chen Liang
8a866f01c9 HDFS-14858. [SBN read] Allow configurably enable/disable AlignmentContext on NameNode. Contributed by Chen Liang. 2019-10-02 16:39:26 -07:00
Tsz Wo Nicholas Sze
824f717882 HADOOP-16126. ipc.Client.stop() may sleep too long to wait for all connections.
(cherry picked from commit 0edb0c51dc2c4ae2f353e260f01912e28033d70f)
2019-10-02 16:32:53 -07:00
Wei-Chiu Chuang
28c11ff154 HDFS-14523. Remove excess read lock for NetworkToplogy. Contributed by Wu Weiwei.
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
Reviewed-by: Chen Liang <cliang@apache.org>
(cherry picked from commit 971a4c8e8328a4bdea65de4a0e84c82b5b2de24b)
2019-10-02 16:27:07 -07:00
paulward24
0559c1dba3 HDFS-14618. Incorrect synchronization of ArrayList field (ArrayList is thread-unsafe). Contributed by Paul Ward.
(cherry picked from commit d203045c3024b134d7a0417d1ea3a60d03a1534a)
2019-10-02 15:07:40 -07:00
paulward24
76a9135947 HDFS-14610. HashMap is not thread safe. Field storageMap is typically synchronized by storageMap. However, in one place, field storageMap is not protected with synchronized. (#1015)
(cherry picked from commit d8bac50e12d243ef8fd2c7e0ce5c9997131dee74)
2019-10-02 14:31:13 -07:00
Inigo Goiri
6148acebc3 HDFS-14527. Stop all DataNodes may result in NN terminate. Contributed by He Xiaoqiao.
(cherry picked from commit 944adc61b1830388d520d4052fc7eb6c7ba2790d)
2019-10-02 13:55:47 -07:00
Ayush Saxena
2bb4ac18ec HDFS-14808. EC: Improper size values for corrupt ec block in LOG. Contributed by Ayush Saxena.
(cherry picked from commit 66400c1cbb2b4b2f08f7db965c8b7237072bdcc4)
2019-10-02 13:49:12 -07:00
Surendra Singh Lilhore
7d7330aff0 HDFS-14754. Erasure Coding : The number of Under-Replicated Blocks never reduced. Contributed by hemanthboyina.
(cherry picked from commit 4852a90e4b077ece2d68595210e62959a9923683)
2019-10-02 13:39:40 -07:00
Inigo Goiri
d2a7a128d9 HADOOP-16161. NetworkTopology#getWeightUsingNetworkLocation return unexpected result. Contributed by He Xiaoqiao.
(cherry picked from commit 389e640f0cc7d8528e9b4411457f04a528601c69)
2019-10-01 17:33:14 -07:00
Yiqun Lin
c74027d9d3 HDFS-14313. Get hdfs used space from FsDatasetImpl#volumeMap#ReplicaInfo in memory instead of df/du. Contributed by Lisheng Sun.
(cherry picked from commit a5bb1e8ee871df1111ff77d0f6921b13c8ffb50e)

 Conflicts:
	hadoop-common-project/hadoop-common/src/main/resources/core-default.xml
2019-10-01 17:14:46 -07:00
Inigo Goiri
3510a9e5e5 HDFS-14192. Track missing DFS operations in Statistics and StorageStatistics. Contributed by Ayush Saxena.
(cherry picked from commit f048512bb89f4d1edbb54360622adc61ffacbde3)
2019-10-01 16:57:20 -07:00
Inigo Goiri
917e53f066 HDFS-14460. DFSUtil#getNamenodeWebAddr should return HTTPS address based on policy configured. Contributed by CR Hota.
(cherry picked from commit 865c3289308327788f3bed355864c510deb40956)
2019-10-01 09:53:36 -07:00
Surendra Singh Lilhore
a131611b4b HDFS-14175. EC: Native XOR decoder should reset the output buffer before using it. Contributed by Ayush Saxena.
(cherry picked from commit dacc1a759e3ba3eca000cbacc6145b231253b174)
2019-10-01 09:47:18 -07:00
Inigo Goiri
fc8a7a9e5b HDFS-14202. dfs.disk.balancer.max.disk.throughputInMBperSec property is not working as per set value. Contributed by Ranith Sardar.
(cherry picked from commit 0e79a865822eed05f3f8433976b2cfef8f427f25)
2019-10-01 09:35:04 -07:00
Inigo Goiri
06b2eceb76 HDFS-14418. Remove redundant super user priveledge checks from namenode. Contributed by Ayush Saxena.
(cherry picked from commit be6c8014e66be919388269b70cb2966c35b8c578)
2019-10-01 09:22:15 -07:00
Wei-Chiu Chuang
ab3fb28d47 HADOOP-15418. Hadoop KMSAuthenticationFilter needs to use getPropsByPrefix instead of iterator to avoid ConcurrentModificationException. Contributed by lqjack and Suma Shivaprasad
(cherry picked from commit cd2158456db8c89eeea64b72654a736ea8607e23)
2019-10-01 09:02:48 -07:00
Kihwal Lee
ca18ae3bc1 HADOOP-15909. KeyProvider class should implement Closeable. Contributed
by Kuhu Shukla.

(cherry picked from commit 33c009a45d95c9b582db25acd205d087e01e2085)
2019-10-01 08:53:55 -07:00
Sunil G
312cfa994a YARN-9801. SchedConfCli does not work wiwith https mode. Contributed by Prabhu Joseph
(cherry picked from commit 99cd7572f113cbbb8f5ef89af60af3734fe8cfa7)
2019-10-01 20:07:18 +05:30
bibinchundatt
5cd6eb2a18 YARN-9858. Optimize RMContext getExclusiveEnforcedPartitions. Contributed by Jonathan Hung. 2019-10-01 16:04:58 +05:30
Sunil G
52f815d39d YARN-9864. Format CS Configuration present in Configuration Store. Contributeed by Prabhu Joseph
(cherry picked from commit 137546a78a45adbfb5ef338c1c2984a97b3cecc2)
2019-10-01 09:09:22 +05:30
Erik Krogen
f5fb7d8c18 HADOOP-16531. Log more timing information for slow RPCs. Contributed by Chen Zhang.
(cherry picked from commit a23417533e1ee052893baf207ec636c4993c5994)
2019-09-30 17:35:45 -07:00
Wei-Chiu Chuang
46e72775f5 HADOOP-15865. ConcurrentModificationException in Configuration.overlay() method. Contributed by Oleksandr Shevchenko.
(cherry picked from commit e872ceb810a343da7fce7185dca78d3b9aad9b7b)
2019-09-30 17:25:02 -07:00
Zsombor Gegesy
f42c8a44ae HADOOP-15014. Addendum: KMS should log the IP address of the clients. Contributed by Zsombor Gegesy.
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit b0131bc265453051820e54908e70d39433c227ab)
2019-09-30 17:16:10 -07:00
Zsombor Gegesy
85aff9facc HADOOP-15014. KMS should log the IP address of the clients. Contributed by Zsombor Gegesy.
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 008766c119d9ed9d568f9458ed0c02136962da5b)
2019-09-30 17:16:05 -07:00
Gopal V
79359e2091 HADOOP-16461. Regression: FileSystem cache lock parses XML within the lock.
Contributed by Gopal V.

Change-Id: If6654f850e9c24ee0d9519a46fd6269b18e1a7a4
(cherry picked from commit aebac6d2d2e612e400a7d73be67dafb47e239211)
2019-09-30 17:05:29 -07:00
Konstantin V Shvachko
665360ec6f HDFS-14305. Fix serial number calculation in BlockTokenSecretManager to avoid token key ID overlap between NameNodes. Contributed by Konstantin V Shvachko. 2019-09-30 16:57:56 -07:00
Konstantin V Shvachko
3912a6fc7d Revert "HDFS-14305. Fix serial number calculation in BlockTokenSecretManager to avoid token key ID overlap between NameNodes. Contributed by He Xiaoqiao."
This reverts commit 0feba4396f6e96c332743a39f965de7995b67bde.
2019-09-30 16:57:26 -07:00
Xiao Chen
bd5b59feea HADOOP-15849. Upgrade netty version to 3.10.6.
(cherry picked from commit 8853fc8a55b07ecdc5ce8d85278b822e5675d97a)
2019-10-01 06:54:20 +09:00
Ayush Saxena
b7ee3938e9 HDFS-14853. NPE in DFSNetworkTopology#chooseRandomWithStorageType() when the excludedNode is not present. Contributed by Ranith Sardar. 2019-09-28 08:29:58 +05:30
Chen Liang
2d7b37ea2b HDFS-14785. [SBN read] Change client logging to be less aggressive. Contributed by Chen Liang. 2019-09-26 15:55:10 -07:00
Jonathan Hung
f4f210d2e5 Addendum to YARN-9730. Support forcing configured partitions to be exclusive based on app node label
(cherry picked from commit d86a1acc866cbda845fb3896dc824baf12217383)
2019-09-25 17:49:37 -07:00
Jonathan Hung
806c7b7dfb YARN-9730. Support forcing configured partitions to be exclusive based on app node label
(cherry picked from commit 73a044a63822303f792183244e25432528ecfb1e)
2019-09-24 13:51:54 -07:00
Ayush Saxena
a0db762206 HDFS-14655. [SBN Read] Namenode crashes if one of The JN is down. Contributed by Ayush Saxena. 2019-09-25 01:21:14 +05:30
Jonathan Hung
a1fa9a8a7f YARN-9762. Add submission context label to audit logs. Contributed by Manoj Kumar
(cherry picked from commit 3d78b1223d3fdc29d500803cefd2931b54f44928)
2019-09-23 13:12:57 -07:00