touchida
dca2bf9dd5
HDFS-15759. EC: Verify EC reconstruction correctness on DataNode ( #2585 )
...
(cherry picked from commit 95e68926750b55196cf9da53c25359c98ef58a4f)
2021-04-08 17:20:08 +08:00
Gautham B A
d7b31acbba
HDFS-15949. Fix integer overflow ( #2857 )
...
Reviewed-by: Inigo Goiri <inigoiri@apache.org>
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 36014b8282579ac3d89b62a05586206fb6e0adcf)
2021-04-06 18:23:38 +09:00
Viraj Jasani
8b4b3d6fe6
HADOOP-17622. Avoid usage of deprecated IOUtils#cleanup API. ( #2862 )
...
Signed-off-by: Takanobu Asanuma <tasanuma@apache.org>
(cherry picked from commit 3f2682b92b540be3ce15642ab8be463df87a4e4e)
2021-04-06 14:18:31 +09:00
Viraj Jasani
2b5fd341b9
HDFS-15940. Fixing and refactoring tests specific to Block recovery.( #2844 ). Contributed by Viraj Jasani
...
Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
Signed-off-by: Takanobu Asanuma <tasanuma@apache.org>
2021-04-06 00:20:56 +05:30
litao
7a7e194228
HDFS-15951. Remove unused parameters in NameNodeProxiesClient ( #2859 )
...
Signed-off-by: Takanobu Asanuma <tasanuma@apache.org>
(cherry picked from commit 9e2d5d6d05a2d8b657d06fdf3db49d588394a579)
2021-04-05 17:49:27 +09:00
Gautham B A
e4d04a640b
HDFS-15950. Remove unused hdfs.proto import ( #2858 )
...
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit ca5e13fd74838fca3598587eb4770b797f436832)
2021-04-05 11:42:52 +09:00
Inigo Goiri
d973f37054
HDFS-15362. FileWithSnapshotFeature#updateQuotaAndCollectBlocks should collect all distinct blocks. Contributed by hemanthboyina.
...
(cherry picked from commit 2148a8fe645333444c4e8110bb56acf0fb8e41b4)
2021-04-02 17:14:34 +08:00
Inigo Goiri
887948d127
HDFS-15351. Blocks scheduled count was wrong on truncate. Contributed by hemanthboyina.
...
(cherry picked from commit 719b53a79dc169a8c52229831dcb011935a8a151)
2021-04-02 17:14:24 +08:00
Surendra Singh Lilhore
02d37c7d22
HDFS-15316. Deletion failure should not remove directory from snapshottables. Contributed by hemanthboyina
...
(cherry picked from commit 743c2e9071f4a73e0196ad4ca005b767758642b9)
2021-04-02 17:14:14 +08:00
Takanobu Asanuma
14fddba715
HDFS-15252. HttpFS: setWorkingDirectory should not accept invalid paths. Contributed by hemanthboyina.
...
(cherry picked from commit 736659e0e1ab2882313e3a41d9a20d4b0f5b0816)
2021-04-02 17:13:59 +08:00
Ayush Saxena
2da3356428
HDFS-15591. RBF: Fix webHdfs file display error. Contributed by wangzhaohui.
...
(cherry picked from commit fc8a6dd8a92f8e18436d1a73d6e8ef808c583aee)
2021-04-02 17:13:00 +08:00
Takanobu Asanuma
f5cc1540b4
HDFS-15510. RBF: Quota and Content Summary was not correct in Multiple Destinations. Contributed by Hemanth Boyina.
...
(cherry picked from commit ca8e7a77256003e11ab7e3d079ee4cf9f50080dd)
2021-04-02 17:11:33 +08:00
Ayush Saxena
a549b4a82e
HDFS-15300. RBF: updateActiveNamenode() is invalid when RPC address is IP. Contributed by xuzq.
...
(cherry picked from commit 936bf09c3745cfec26fa9cfa0562f88b1f8be133)
2021-04-02 17:11:16 +08:00
Ayush Saxena
5bfc3a4c3a
HDFS-15198. RBF: Add test for MountTableRefresherService failed to refresh other router MountTableEntries in secure mode. Contributed by zhengchenyu.
...
(cherry picked from commit 8a9a674ef10a951c073ef17ba6db1ff07cff52cd)
2021-04-02 17:10:56 +08:00
Inigo Goiri
327488d688
HDFS-15196. RBF: RouterRpcServer getListing cannot list large dirs correctly. Contributed by Fengnan Li.
...
(cherry picked from commit 80b877a72f52ef0f4acafe15db55b8ed61fbe6d2)
2021-04-02 14:12:17 +08:00
Inigo Goiri
57d2fff84b
HDFS-15246. ArrayIndexOfboundsException in BlockManager CreateLocatedBlock. Contributed by Hemanth Boyina.
...
(cherry picked from commit 8b7695bb2628574b4450bac19c12b29db9ee0628)
2021-04-02 14:06:52 +08:00
Inigo Goiri
1148d3895f
HDFS-15332. Quota Space consumed was wrong in truncate with Snapshots. Contributed by hemanthboyina.
...
(cherry picked from commit 130f89e068ca346a44fa6619ae0726c1e5cc5d06)
2021-04-02 14:06:52 +08:00
Inigo Goiri
41fad5056c
HDFS-15265. HttpFS: validate content-type in HttpFSUtils. Contributed by hemanthboyina.
...
(cherry picked from commit 31b2f687eff5a77ea83c2279cc94c4c7158160dc)
2021-04-02 14:06:52 +08:00
Ayush Saxena
5187bd37ae
HDFS-15266. Add missing DFSOps Statistics in WebHDFS. Contributed by Ayush Saxena.
...
(cherry picked from commit 37d65822235fe8285d10232589aba39ededd3be1)
2021-04-02 14:06:52 +08:00
maobaolong
2b207ea402
HDFS-15667. Audit log record the unexpected allowed result when delete ( #2437 )
...
(cherry picked from commit 95c96605b30cc31839a04bd5d4061a2c89e4c09c)
2021-04-02 14:06:52 +08:00
litao
62937d15bb
HDFS-15892. Add metric for editPendingQ in FSEditLogAsync ( #2770 )
...
Signed-off-by: Takanobu Asanuma <tasanuma@apache.org>
(cherry picked from commit 4bd04126d64595ab0831626c80d8d1b788a35cd4)
2021-04-02 10:57:05 +09:00
Viraj Jasani
f707d8407a
HDFS-15931 : Fix non-static inner classes for better memory management ( #2830 ). Contributed by Viraj Jasani
...
Signed-off-by: Mingliang Liu <liuml07@apache.org>
2021-04-01 16:35:44 -07:00
He Xiaoqiao
e5d7b22b8b
HDFS-15921. Improve the log for the Storage Policy Operations. Contributed by Bhavik Patel.
2021-04-01 11:59:53 +08:00
Brahma Reddy Battula
13878fc06b
HDFS-15494. TestReplicaCachingGetSpaceUsed#testReplicaCachingGetSpaceUsedByRBWReplica Fails on Windows. Contributed by Ravuri Sushma sree.
...
(cherry picked from commit 0665ce99308aba1277d8f36bad9308062ad4b6ea)
2021-04-01 09:22:18 +05:30
Borislav Iordanov
c365149e16
HADOOP-16524. Automatic keystore reloading for HttpServer2
...
Reapply of issue reverted first because it caused yarn failures.
Signed-off-by: stack <stack@apache.org>
2021-03-31 10:50:28 -07:00
He Xiaoqiao
ab451b8e42
HDFS-15651. Client could not obtain block when DN CommandProcessingThread exit. Contributed by Aiphago.
...
Reviewed-by: He Xiaoqiao <hexiaoqiao@apache.org>
Reviewed-by: Yiqun Lin <yqlin@apache.org>
(cherry picked from commit 3067a25fa12a012709f43aa35cc606db6fb137f9)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestBPOfferService.java
2021-03-30 22:29:49 +08:00
Akira Ajisaka
53b024a2b7
HDFS-15508. [JDK 11] Fix javadoc errors in hadoop-hdfs-rbf module
...
(cherry picked from commit 9062814bab7d6087c584e03b0b16eaa60b31f60a)
2021-03-30 22:29:49 +08:00
Akira Ajisaka
a407f7de5a
HDFS-15507. [JDK 11] Fix javadoc errors in hadoop-hdfs-client module. Contributed by Xieming Li.
...
(cherry picked from commit 32895f4f7ea51522e779e68a030bfc9515f40798)
2021-03-30 22:29:49 +08:00
Akira Ajisaka
c4f7b8578b
HDFS-15506. [JDK 11] Fix javadoc errors in hadoop-hdfs module. Contributed by Xieming Li.
...
(cherry picked from commit 7938ebfb9dd12b874ced1798f0c3ad0c160cb465)
2021-03-30 22:29:49 +08:00
Karthik Palanisamy
769df1e964
HDFS-15253 Default checkpoint transfer speed, 50mb per second ( #2366 )
...
(cherry picked from commit df4006eb8139a08b92b5a94adfde544de978137c)
2021-03-30 22:29:49 +08:00
Ayush Saxena
7f20fad419
HDFS-14383. Compute datanode load based on StoragePolicy. Contributed by Ayush Saxena.
...
(cherry picked from commit 2e8cafac3b071fe5b943542827fd8a496b137fa9)
2021-03-30 22:29:48 +08:00
Stephen O'Donnell
56ef16468a
HADOOP-17222. Create socket address leveraging URI cache ( #2817 )
...
Contributed by fanrui.
Signed-off-by: Mingliang Liu <liuml07@apache.org>
Signed-off-by: He Xiaoqiao <hexiaoqiao@apache.org>
2021-03-30 11:59:44 +01:00
Viraj Jasani
d6aaf516d9
HDFS-15926 : Removed duplicate dependency of hadoop-annotations ( #2823 ). Contributed by Viraj Jasani.
...
Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
2021-03-29 23:25:14 +05:30
Harunobu Daikoku
db8af483d1
HDFS-15900. RBF: empty blockpool id on dfsrouter caused by UNAVAILABLE NameNode. ( #2787 )
...
Co-authored-by: Harunobu Daikoku <hdaikoku@yahoo-corp.jp>
(cherry picked from commit ea6595d3b68ac462aec0d493718d7a10fbda0b6d)
2021-03-29 11:47:16 +09:00
leosunli
b3e968d21e
HDFS-13639. SlotReleaser is not fast enough ( #1885 )
...
(cherry picked from commit be374faf429d28561dd9c582f5c55451213d89a4)
2021-03-25 13:25:17 +00:00
He Xiaoqiao
bf018e7237
HDFS-15919. BlockPoolManager should log stack trace if unable to get Namenode addresses. Contributed by Stephen O'Donnell.
2021-03-25 12:25:22 +08:00
LeonGao91
4db5643ff9
HDFS-15456. TestExternalStoragePolicySatisfier fails intermittently ( #2299 )
...
(cherry picked from commit de055ec8aad1b5a131d366aa5395f2904f0f6ecd)
2021-03-25 05:09:11 +08:00
Takanobu Asanuma
9a0c5d0ca2
HDFS-15275. HttpFS: Response of Create was not correct with noredirect and data are true. Contributed by hemanthboyina.
...
(cherry picked from commit 1fdfaebd98d9b8f40f616d03fa2f3b6b5c71b11b)
2021-03-24 17:44:29 +08:00
Inigo Goiri
813aafcee2
HDFS-12288. Fix DataNode's xceiver count calculation. Contributed by Lisheng Sun.
...
(cherry picked from commit 6e04b00df1bf4f0a45571c9fc4361e4e8a05f7ee)
2021-03-24 17:44:29 +08:00
Ayush Saxena
e4217be749
HDFS-15380. RBF: Could not fetch real remote IP in RouterWebHdfsMethods. Contributed by tomscut.
...
(cherry picked from commit 5ab1db9e218e11d00035e234344ef90228d8898d)
2021-03-24 17:44:29 +08:00
Ayush Saxena
580634882e
HDFS-14546. Document block placement policies. Contributed by Amithsha.
...
(cherry picked from commit 17ffcab5f621400bd8bb47dc8fb29365f6e24ebd)
2021-03-24 17:44:29 +08:00
Karthik Palanisamy
c96821ece8
HDFS-15610 Reduced datanode upgrade/hardlink thread from 12 to 6 ( #2365 )
...
(cherry picked from commit 735e85a1d2036585075b81d1fb2fd302e89eb363)
2021-03-24 17:44:29 +08:00
Takanobu Asanuma
9e1e89b1b9
HDFS-15902. Improve the log for HTTPFS server operation. Contributed by Bhavik Patel.
...
(cherry picked from commit b4d97a8dc75e4dc823d092f5bac37d6096dc6dc4)
2021-03-24 17:53:19 +09:00
sunlisheng
a8c0083b1b
HDFS-15809. DeadNodeDetector does not remove live nodes from dead node set. Contributed by Jinglun.
...
(cherry picked from commit 7025f39944e628345109b43cba2cd4d49ca8cc6b)
2021-03-24 14:04:47 +08:00
Ayush Saxena
94766fdb13
HDFS-15806. DeadNodeDetector should close all the threads when it is closed. Contributed by Jinglun.
...
(cherry picked from commit ff84a57483320abf81bf941b81d13d5bee14084b)
2021-03-24 14:04:47 +08:00
imbajin
4f79df4da1
HDFS-15551. Tiny Improve for DeadNode detector ( #2265 )
...
Contributed by imbajin.
Reviewed-by: leosunli <lisheng.sun08@gmail.com>
Signed-off-by: He Xiaoqiao <hexiaoqiao@apache.org>
(cherry picked from commit 89428f142fe7cee17bd1a0f5f207b6952ec79d32)
2021-03-24 14:04:47 +08:00
sunlisheng
3ecd02ac78
HDFS-15661. The DeadNodeDetector should not be shared by different DFSClients. Contributed by Jinglun.
...
(cherry picked from commit f8769e0f4b917d9fda8ff7a9fddb4d755d246a1e)
2021-03-24 14:04:47 +08:00
Narges Shadab
f07bde90c9
HDFS-15791. Possible Resource Leak in FSImageFormatProtobuf. ( #2652 )
...
(cherry picked from commit 115623a6ee4eb7391c7c26e1728fa153c0698803)
2021-03-24 14:04:47 +08:00
Narges Shadab
3a355282c9
HDFS-15868. Possible Resource Leak in EditLogFileOutputStream ( #2736 ). Contributed by Narges Shadab.
...
Reviewed-by: He Xiaoqiao <hexiaoqiao@apache.org>
(cherry picked from commit f5f3fc6fe90e3bb2ee783f956432db11e655b9e3)
2021-03-24 14:04:47 +08:00
Narges Shadab
4abe6e6ac1
HDFS-15908. Possible Resource Leak in org.apache.hadoop.hdfs.qjournal.server.Journal ( #2790 ). Contributed by Narges Shadab.
...
Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
(cherry picked from commit d77c7ab4e0604484ec3c48ac2acb32ea71a53d9a)
2021-03-24 14:04:47 +08:00